This content has been marked as final.
Show 5 replies
-
1. Re: Rerender not working using <ui:include in page
israel.bgf Jun 23, 2009 9:49 AM (in response to jobb)i dont think that you can "rerender" a ui:include component, for that you should a4j:include (i think). Try that.
-
2. Re: Rerender not working using <ui:include in page
nbelaevski Jun 23, 2009 9:50 AM (in response to jobb)Hi,
Such inclusion breaks page XML correctness, do the following:<body> <ui:composition><h:outputText value="#{csamMessage.patientDetailAddress}" styleClass="detailTextLeft"/></ui:composition> </body>
-
3. Re: Rerender not working using <ui:include in page
nbelaevski Jun 23, 2009 9:56 AM (in response to jobb)"israel.bgf" wrote:
i dont think that you can "rerender" a ui:include component, for that you should a4j:include (i think). Try that.
Israel,
It's ok to re-render components added by ui:include, because that's just a tag that specifies components insertion into the tree in the specified place.
a4j:include is just a special kind of thing, developed to update part of the page according to navigation rules. -
4. Re: Rerender not working using <ui:include in page
jobb Jun 23, 2009 10:03 AM (in response to jobb)Thank you nbelaevski, it's work to include <ui:composition> inside the .
You wrote 'Such inclusion breaks page XML correctness' : can you explain in a few words what do you mean ? -
5. Re: Rerender not working using <ui:include in page
ilya_shaikovsky Jun 23, 2009 10:16 AM (in response to jobb)when you included patientDetails page as shown at previous snippet nested body and html elements occurs. And such usage is wrong. ui:composition cuts all the content around it so you inserting only its actual content.. And in the same time using composition you could leave html and body around in order to have fine representation in your IDE visual editor.