6 Replies Latest reply on May 28, 2014 7:21 AM by toni pérez

    rich:picklist using f:ajax wired to the event "change" does nothing

    R Etler Newbie

      I wanted to know if anyone has succesfully wired an ajax behaviour to a picklist component on the change event.


      This is an example:

      <rich:pickList value="#{listSelectBean.selectedCapitals}"
                     listWidth="170px" listHeight="100px"
      <f:selectItems value="#{listSelectBean.capitals}" var="capital" itemValue="#{capital}" itemLabel="#{capital.name}" />
      <f:ajax event="change" execute="@this" render="dependentFields"/>


      Any suggestions on how to implement a client behaviour upon the pick list value change would be appreciated.