KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I would like to be able to conditionally omit a footer from a PrimeFaces panel element: <p:panel header="some text"> <f:facet name="footer"> #{message} </f:facet> <!-- ... --> </p:panel> I hoped that the rendered attribute would work: <p:panel header="some text"> <f:facet name="footer" rendered="#{!empty message}"> #{message} </f:facet> <!-- ... --> </p:panel> But the footer is still rendered, with empty content. It appears that facet does not have the rendered attribute: http://www.jsftoolbox.com/documentation/help/12-TagReference/core/f_facet.html . What's the right way to do this?
Tags (comma-separated)
Save Edits
Cancel