setter of selectOneMenu – jsf [duplicate]

This question already has an answer here:

The setter of is not called after loading the xhtml page. But if i do a value changes in the Combobox the setter is called or if submit the setter is also called. But i Need to call the setter of if the xhtml page by loading, because i have a second selectoneMenu which Need the value of Can i set the setter of by loading the xhtml page ?

<h:selectOneMenu value="#{}">
     <f:selectItems value="#{bean.names}" />

Source: ajax

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.