tags:

views:

30

answers:

1

I tried this but does not work:

<f:verbatim rendered="#{bean.isRendered}">
    <h:selectOneMenu>
        ...
    </h:selectOneMenu>
    <h:selectOneMenu>
        ...
    </h:selectOneMenu>
    <h:selectOneMenu>
        ...
    </h:selectOneMenu>                    
</f:verbatim>

I can put the rendered attributes inside each <h:selectOneMenu>, ohh well :D it would be easier if I group them like above

+3  A: 
<h:panelGroup rendered="#{bean.someBoolean}">
    <!-- multiple elements here -->
</h:panelGroup>
Wade
thank you very much. +1
Harry Pham