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}"
       converter="StringtoCausa"
       rendered="#{not empty EnfermedadController.selectedEnfermedad.causaCollection}"
       switchByDblClick="true" switchByClick="false">
       <f:facet name="copyAllControl">
       <h:commandButton value="copiar todos"/>
       </f:facet>
       <f:facet name="copyControl">
       <h:commandButton value="copiar"/>
       </f:facet>
       <f:facet name="removeControl">
       <h:commandButton value="remover"/>
       </f:facet>
       <f:facet name="removeAllControl">
       <h:commandButton value="remover todos"/>
       </f:facet>
       <t:selectItems value="#{CausaBean.causas}" var="causa" itemValue="#{causa}"
       itemLabel="#{causa.nombre}"/>
       </rich:pickList>
       </a4j:form>
      


      extra info:

      Im using richfaces 3.3.1, tomahawk 1.1.9