Hi Experts,
Im having problem with implementing the valuechangelistener attribute of h:selectManyListbox.
The problem is the control is not getting into the
valueChangeSelectManyListbox(ValueChangeEvent evt) method.
I've put a debug on it, but some how it does not get inside the method.
Please tell me what im doing wrong.
Find below the code:
==============================================
jsp:
------
<h:selectManyListbox size="5" value="#{requirementAnalyzerBean.valueOfMDropDown}" rendered="#{questions.answerType.answerTypeName eq 'MDrop Down'}" id="selectManyListboxid"
valueChangeListener="#{requirementAnalyzerBean.valueChangeSelectManyListbox}">
<f:selectItems value="#{questions.option}" />
</h:selectManyListbox>
<f:selectItems value="#{questions.option}" />
</h:selectManyListbox>
===============================================
Backing Bean method:
----------------------------------------
public void
valueChangeSelectManyListbox(ValueChangeEvent evt) {
Object obj = evt.getNewValue();
System.out.println("[valueChangeSelectManyListbox]" + evt.getComponent().getId());
}
Object obj = evt.getNewValue();
System.out.println("[valueChangeSelectManyListbox]" + evt.getComponent().getId());
}
Waiting for answers!!!
Thanks
Stay in the know. Pulse on the new Yahoo.com. Check it out.

