What is the correct way to use RequestScoped Bean and rendered attribute?
问题 does anybody know how to use RequestScoped bean together with rendered attribute in jsf? The rendered attribute is evaluated before applyValues phase and therefore is not correctly evaluated. I don't want to preserve any state. The example could be an outputPanel with a datatable and a button. The datatable gets a list of values. The wrapping outputPanel has the rendered attribute like: <p:outputPanel rendered="#{not empty requestScopedBean.dataList}"> <p:datatable value="#{requestScopedBean