I have a form inside <ui:define name=%2526quot%253Bcontent%2526quot%253B%2526gt%253B%252C which after authenticating as admin:admin is just setting a boolean that another RichFaces control checks in its rendered attribute. The problem is that after it does, all that appears in the page is:
instead of the RichFaces control.
If I refresh the page, the control happily appears. If i refresh again the control remains and
dissapears
This seems that Facelets doesn't integrate well with Ajax requests because when is switch to h:form and h:commandButton it works as espected. What should i do to make it work with Ajax?
The page is:
EDIT:
lifecycle insight:
10:12:29,318 INFO [STDOUT] START PHASE RESTORE_VIEW 1
10:12:29,334 INFO [STDOUT] END PHASE RESTORE_VIEW 1
10:12:29,334 INFO [STDOUT] START PHASE APPLY_REQUEST_VALUES 2
10:12:29,334 INFO [STDOUT] is in admins
10:12:29,334 INFO [STDOUT] END PHASE APPLY_REQUEST_VALUES 2
10:12:29,334 INFO [STDOUT] START PHASE PROCESS_VALIDATIONS 3
10:12:29,334 INFO [STDOUT] is in admins
10:12:29,334 INFO [STDOUT] END PHASE PROCESS_VALIDATIONS 3
10:12:29,334 INFO [STDOUT] START PHASE UPDATE_MODEL_VALUES 4
10:12:29,334 INFO [STDOUT] is in admins
10:12:29,334 INFO [STDOUT] END PHASE UPDATE_MODEL_VALUES 4
10:12:29,334 INFO [STDOUT] START PHASE INVOKE_APPLICATION 5
10:12:29,334 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
10:12:29,334 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
10:12:29,381 INFO [STDOUT] Hibernate: select users0_.id as id16_, users0_.aisle as aisle16_, users0_.password as password16_, users0_.username as username16_ from USERS users0_ where users0_.username=%3F and users0_.password=?
10:12:29,474 INFO [STDOUT] is in login
10:12:29,474 INFO [STDOUT] END PHASE INVOKE_APPLICATION 5
10:12:29,474 INFO [STDOUT] START PHASE RENDER_RESPONSE 6
10:12:29,474 INFO [STDOUT] is in admins
10:12:29,474 INFO [STDOUT] is in admins
10:12:29,474 INFO [STDOUT] is in admins
10:12:29,474 INFO [STDOUT] is in admins
10:12:29,474 INFO [STDOUT] is in admins
10:12:29,490 INFO [STDOUT] is in admins
10:12:29,490 INFO [STDOUT] is in admins
10:12:29,490 INFO [STDOUT] END PHASE RENDER_RESPONSE 6