I need to fire an event when the user picks something from a selectManyMenu.
<p:selectManyMenu value="#{radicadoOficioBean.localidadesSeleccionadas}">
<p:ajax event="click" listener="#{radicadoOficioBean.listenerdt}" process="@this"/>
<f:selectItems value="#{radicadoOficioBean.localidadSIs}"/>
</p:selectManyMenu>
And
public void listenerdt(AjaxBehaviorEvent e) {
System.out.println("oh!");
}
Are not working. However, if i use selectOneMenu instead of selectManyMenu, listener listens. I tried with the default event, with “change” too and nothing works.
Any suggestions how I can fix this?
Dowloaded latest primefaces’ jar, restarted server and now things work fine.