Factorizing the "rendered" attribute over several JSF elements
Posted
by Nicolas Raoul
on Stack Overflow
See other posts from Stack Overflow
or by Nicolas Raoul
Published on 2010-03-19T05:17:37Z
Indexed on
2010/03/19
5:21 UTC
Read the original article
Hit count: 266
jsf
Given the following JSF fragment:
<h:outputText ... rendered="#{bean.r} />
<h:outputText ... rendered="#{bean.r} />
<h:outputText ... rendered="#{bean.r} />
How can I factorize to something that would look like:
<h:someKindOfGroupOrSomething rendered="#{bean.r}>
<h:outputText ... />
<h:outputText ... />
<h:outputText ... />
</h:someKindOfGroupOrSomething>
© Stack Overflow or respective owner