I can’t believe I am asking this after all these months of coding JSF 2.0 pages, but this is the first I have run into this.
I often have an h:output tag like this:
<h:outputText value="Some sage wisdom" rendered=#{backbean.includeWisdom} style="..." />
What tag do I use if the text to conditionally include is large — like paragraphs long? I also want to keep the style attribute.
You can use a
h:panelGroupfor this purpose.From the taglib documentation: