change rendered attribute from managed bean
问题 Im am experimenting a bit with JSF, the scenario is the following: I have a session scoped managed bean @ManagedBean(name = "rand") @SessionScoped where i have declared the following (among other things): private UIOutput uiOutput;(plus getter and setter) In my facelets page i have <h:outputLabel for="userGuess" binding="#{rand.uiOutput}" value="#{rand.listSize}" rendered="false"/> there is a button on the page, and on the action method of the button among other things i have this.uiOutput