2 Replies Latest reply on Feb 26, 2010 5:13 AM by Thomas Hii

    Issue with mulitple selection using PickList

    Thomas Hii Newbie

      I've written code as follows:

       

      <a4j:form>
              <rich:message/>
              <rich:pickList id="UserType" required="true"
                 
                  showButtonsLabel="false" values="#{pickTestBean.selectList}">
                  <f:selectItems value="#{pickTestBean.itemList}"/>
              </rich:pickList>
              <br/>
              <a4j:commandButton value="Add" action="#{pickTestBean.addAction}"/>
             
          </a4j:form>

       

      If only one item is moved to the right side list, the backing bean "addAction()" is called. However, when 2 or more items are in the right side list, the "addAction()" is never called. Anybody knows how to fix this problem?