You can use dynamic include with tag ui:include.
If you have a backing bean as #{bean.includedPage}, you can change this when
you click on menuItem maybe just a link with an f:ajax child an jajax just
refresh include
<h:commandLink action="#{actionWichChangeIncludedPageValue}">
<f:ajax execute="@this" render="include" />
</hcommanalink>
<h:panelGroup id="include">
<ui:include src="#{bean.includedPage}" />
</h:panelGroup/>
I'm not sure this code is great but idea is there.
--
[Message sent by forum member 'alexoulew']
View Post: http://forums.java.net/node/794808