Hi,
  below is my JSF code,

<h:column>
<h:selectManyListbox size="3" rendered="true" id="serviceTypes"
immediate="true" valueChangeListener="#{hostInfoBean.changeServiceTypes}">
                <f:selectItems value="#{hostInfoBean.serviceTypeItems}" />
                <a4j:support event="onchange"
reRender="hostInfo:gateKeeperendPointReference" ajaxSingle="true"/>
</h:selectManyListbox>
</h:column>

instead of form.submit(), i am using a4j to listen to the 'onchange' event.
I am not getting any errors during the execution of the program. But when
'onchange' event occurs, its not calling the appropriate bean method.
Instead I am getting an warning in the console,

WARNING: There are some unhandled FacesMessages, this means not every
FacesMessage had a chance to be rendered.
These unhandled FacesMessages are: 
- hostInfo:serviceTypes: Validation Error: Value is not valid

I am not sure may be because of this it's not calling the bean method. 

Please advise. 

regards,
Suresh
-- 
View this message in context: 
http://old.nabble.com/SelectManyListBox-not-working-with-aj4-tp28858806p28858806.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to