I use rich:tabPanel
component of RichFaces lib.
<rich:tabPanel>
<rich:tab label="Tab1">
<ui:include src="res.xhtml" />
</rich:tab>
</rich:tabPanel>
ui:include
doesn't work here.
Does anybody faced similar issue?
Thanks.
Me too as following, even in dynamic include:
<rich:tab id="#{tab.id}" name="#{tab.id}" onenter="enterTab('#{tab.id}');">
<f:subview id="#{tab.id}-subView" rendered="#{tab.id eq desktopTabController.activeTab}">
<ui:include src="#{tab.xhtmlFile}" />
</f:subview>
</rich:tab>
It would be useful, if you post the error returned by the IDE.
It should work. This worked for me:
where footer.xhtml: