3 Replies Latest reply on Jul 11, 2013 3:57 AM by lionceau

    don't work rich:picklist with sourceCaption and targetCaption

    lionceau

      Hello,

       

      I use eclipse and tomcat 6 and jsf 1.2.

       

      When i use the pickList , here: http://showcase.richfaces.org/richfaces/component-sample.jsf?demo=pickList

       

       

      Why this don't work ? 

      sourceCaption="Available cities" targetCaption="Selected cities"   
      

       

      When i do :

       

      <rich:pickList value="#{pickBean.listValues}" sourceCaption="Available cities" targetCaption="Selected cities" listWidth="165px" listHeight="100px" orderable="true">
             <f:selectItems value="#{pickBean.sourceList}" var="capital" itemValue="#{capital}" itemLabel="#{capital.name}" />
      </rich:pickList>
      

       

      Why I don't have "Available cities" and "Selected cities" , I have only this : https://community.jboss.org/servlet/JiveServlet/downloadImage/2-827133-21116/310-112/prob.gif

       

       

       

       

       

      Thank you for your help and advices