• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem in h:selectOneMenu  RSS feed

madupathi arun
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

if i select any value from selectOneMenu that value is not coming into java method
I used following code
<h:selectOneMenu id="requestStatus12" value="#{currentLanguageResolver.requestState}" valueChangeListener="#{currentLanguageResolver.valueChangeSelectOneMenu}">
<f:selectItems value="#{currentLanguageResolver.possibleStates}"/>

in java class
public void valueChangeSelectOneMenu(ValueChangeEvent evt) {
ArrayList selectedValueOfDropDown=new ArrayList();
selectedValueOfDropDown.add((Integer) evt.getNewValue());


Could you please suggest me on this.
this is very urgent for me.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!