Hello,
I have a page on which I programmatically create a rich:tabPanel in the blahHome bean:
{code}<rich:tabPanel binding="#{blahHome.tabPanel}">{code}
Then however the look of the tab panel is broken (it's the only tabPanel on the page), it seemed like any CSS was missing. Further investigating the issue I found that the needed CSS for the tabpanels isn't loaded.
I then added a dummy tab panel to the page:
{code}
<h:form id="dummy-to-have-jsf-include-the-rf-css-for-tab-panels" rendered="false">
<rich:tabPanel switchType="client" activeItem="dummy">
<rich:tab header="dummy">
</rich:tab>
</rich:tabPanel>
</h:form>
{code}
And the CSS for the programmatic tab panel was loaded/shown.
Can anybody explain why the programmtic tabPanel doesn't load the CSS (and probably JS)?
Karsten