Hello,
I got a ui:composition with different layers within. One layer error.xhtml should only viewed even
when an error occurs. So I expected to add a rendered attribute like this:
<ui:include src="error.xhtml" rendered="#{Bean.isError}"/>
within
<ui:composition template="layout.xhtml"
....
<ui:define name="content">
<ui:include src="top.xhtml" />
<ui:include src="middle.xhtml" />
<ui:include src="foot.xhtml" />
<ui:include src="error.xhtml"/>
</ui:define>
</ui:composition>
So it does not work, while native ui does not allow this attribute.
What is the common way gain what I want ?
Thanks in advance