This content has been marked as final. Show 1 reply
* <a4j:region/> is to separate the h:form components processing if there is an AJAX request.
a4j:region serves to limit processing of component tree on the server on 2-5 phases.
Note: a4j:region does not limit partial rendering by default (see "renderRegionOnly" attribute).
* <h:form/> is used to limit the components sent to server.
Note: hidden field containing view state is rendered for each form. So for client state saving and multiple forms, amount of generated HTML code can be large.
* limitToList: tells what components are to be re-rendered. Don't know exactly if this also affects the form components to be sent and/or components to be processed in server.
AJAX output components have "ajaxRendered" attribute. When it is true, this component will be updated on each request, even if it is not declared in the "reRender" attribute of component initiating the event (e.g. a4j:commandLink). Setting limitToList=true disables this behavior, only components explicitly specified in "reRender" attribute will be updated.
About modal panels. Each rich:modalPanel has to have own form inside (unless "domElementAttachment" attribute specified - more info in docs). Forms MUST NOT be nested - JSF prohibits this.
Please ask more if you need additional info/some clarification.