2 Replies Latest reply on Oct 3, 2009 3:19 PM by vicente san silvestre chacon

    Picklist not working properly

    vicente san silvestre chacon Newbie

      hi eveyone im having a problem with the <rich:pickList> and i hope you guys can help me

      the problem:

      I have a picklist populated with some values and I can add or remove items between the lists but only if i use the facet controls add or remove not if i doble click on the object if I do so the items change on the screen between the list but not in the real list (the one on the bean)

      the code:

      <a4j:form id="form_enfermedadCausaPick" ajaxSingle="true" ajaxSubmit="true">
      rich:pickList id="picklstCausa" value="#{EnfermedadBean.causaCollection}"
       rendered="#{not empty EnfermedadController.selectedEnfermedad.causaCollection}"
       switchByDblClick="true" switchByClick="false">
       <f:facet name="copyAllControl">
       <h:commandButton value="copiar todos"/>
       <f:facet name="copyControl">
       <h:commandButton value="copiar"/>
       <f:facet name="removeControl">
       <h:commandButton value="remover"/>
       <f:facet name="removeAllControl">
       <h:commandButton value="remover todos"/>
       <t:selectItems value="#{CausaBean.causas}" var="causa" itemValue="#{causa}"

      extra info:

      Im using richfaces 3.3.1, tomahawk 1.1.9