1 Reply Latest reply on Oct 7, 2012 8:44 PM by Joe Padula

    Need substitution for listchangedevent for UIPickList in RF 4.2.2

    Joe Padula Novice

      Hi,

      Migrating to Richfaces4.2.2.Final/JSF2.1 in GateIn3.3.0-GA-JBossAS6.

       

      I am getting this exception:

      Caused by: javax.faces.view.facelets.TagException: //D:/dev/GateIn-3.3.0-GA-jbossas6/server/dev-portal/lib/resources.jar/META-INF/resources/filterEdit.xhtml @202,41 <a4j:ajax> listchangedevent is not supported for the UIPickList

      at org.richfaces.view.facelets.html.AjaxHandler.resolveEventName(AjaxHandler.java:206)

      at org.richfaces.view.facelets.html.AjaxHandler.applyNested(AjaxHandler.java:187)

      at org.richfaces.view.facelets.html.AjaxHandler.apply(AjaxHandler.java:130)

      at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)

       

      I have in the xhtml file:

       

      <rich:pickList value="#{FilterPortletBean.pickListResult}"

             copyAllControlLabel="#{msgs['filters.modal.edit.picklist.copyAll']}"

             copyControlLabel="#{msgs['filters.modal.edit.picklist.copy']}"

             removeControlLabel="#{msgs['filters.modal.edit.picklist.remove']}"

             removeAllControlLabel="#{msgs['filters.modal.edit.picklist.removeAll']}"

             converter="#{FilterPortletBean.pickListConverter}"

             disabled="#{isEditor == false}">

             <f:selectItems value="#{FilterPortletBean.leftPickList}" />

             <a4j:ajax event="listchanged"

              action="#{FilterPortletBean.updatePickListSelection}"

              reRender="updateFilterButton" />

      </rich:pickList>

       

      In RF3.3.0, this used to be:

      <a4j:support event="onlistchanged"

      Does anyone know the corresponding event that I should use for a4j:ajax?

       

      Or could you point me to the available events that can be used for UIPickList?

       

      Thanks