I'm experiencing some weird issue with JSF.
class MyBean{
String path = "pages/includes/popup.xhtml";
// Getters & Setters
}
Then I have my custom component
<cc:implementation>
<ui:repeat var="tab" value="#{cc.tabs}">
<div class="tab-pane fade show #{tab.active ? 'active' : ''}" id="#{tab.id}" role="tabpanel" aria-labelledby="#{tab.id}-tab">
<ui:include src="#{tab.contentPath}" />
</div>
</ui:repeat>
</cc:implementation>
And my index.xhtml
<!-- It doesn't work -->
<ctm:tab contentPath="#{mybean.path}" />
...
<!-- It does work -->
<ui:include src="#{mybean.path}" />
Using #{mybean.path}
on the custom component it renders nothing, blank page.