I have a panelGroup with the rendered attribute. Why are component values in the Panel group even called if the rendered attribute is set to false? Could I understand what attribute is represented here?
What I want to do: I have selectManyCheckbox in front of the PanelGroup, and everything in the groupGroup should only be done if the user selected values in selectManyCheckbox and clicked the button. This will not work this way because the components in the Panel group depend on the values that the user must select in selectManyCheckbox.
<h:selectManyCheckbox />
<h:commandButton />
<h:panelGroup rendered="#{someBean.render}">
<h:dataTable value="#{someOtherBean.loadSomething(someObject)}" var="item">
</h:dataTable>
</h:panelGroup>
source
share