Which properties in a JSF backing bean can be set by a user?
问题 I have a backing bean ( somebean ) with three boolean properties a , b , and c , each has a getter and setter. I have a form which looks like this: <h:outputText rendered="#{somebean.b}"> B is true </h:outputText> <h:form id="blah"> <h:inputHidden value="#{somebean.a}" id="a"/> <h:commandLink id="zzzz" value="do it" action="#{somebean.doIt}"/> </h:form> Which of the three properties a , b , and c can be set by the client? I tried adding b=true and c=true to the POST request, but SomeBean.setB