tags:

views:

50

answers:

1

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>
+3  A: 

Create a PanelGroup - JSF

If you use MyFaces Trinidad you can use Group

Padmarag