1 Reply Latest reply on Jun 11, 2013 2:15 AM by Brian Leathem

    Migration of attributes from component "listShuttle" to "pickList"

    specialed Newbie

      Hi all,

       

      in the process of migrating Richfaces to 4.3.1, I have a question about the "listShuttle" being migrated to a "pickList" especially their attributes.

       

      While having our component previously declared as followed:

       

      <rich:listShuttle  id="myListShuttle"
           sourceValue="#{someBean.someValue}"
           targetValue="#{someBean.someOtherValue}"
           fastMoveControlsVisible="false" 
           fastOrderControlsVisible="false"
           copyControlLabel="#{someBean.value}" 
           orderControlsVisible="false"
           removeControlLabel="#{someBean.value}" 
           var="items"
           listsHeight="170" 
           sourceListWidth="200" 
           targetListWidth="200"
           sourceCaptionLabel="#{someBean.value}"
           targetCaptionLabel="#{someBean.value}"
           converter="myListConverter">
      </rich:listShuttle>
      
      

       

      I was able to convert following attributes:

       

      component:

      listShuttle -> pickList

       

      attributes:

      sourceCaptionLabel -> sourceCaption

      targetCaptionLabel -> targetCaption

       

      Although not being sure about the first two attributes, I can't figure out the other ones, except for "id, var and converter".

       

      Where I've looked for, so far:

      - http://docs.jboss.org/richfaces/latest_4_X/vdldoc/rich/pickList.html (VDL documentation)

      - https://community.jboss.org/wiki/RichFacesMigrationGuide33x-4xMigration-ComponentsMigration-RichOrderingComponents (forum post)

      - http://showcase.richfaces.org/richfaces/component-sample.jsf?demo=pickList&skin=blueSky (Richfaces Showcase - pickList)

       

      I would really appreciate, if someone could tell me which attributes are deprecated and which ones have new names. At a first glance, it seems none (except general ones) are supported by the new component pickList.