2 Replies Latest reply on Dec 30, 2009 9:19 PM by Rocky S

    rich:pickList- Unable to show contents of rightsidepicklist?

    Rocky S Master

      In my .xhtml

       

      <rich:pickList value="#{bankBrandsList.rightsideBank_Brands}">
         <f:selectItems value="#{bankBrandsList.leftsideBank_Brands}"/>
         </rich:pickList>

       

       

      In my bean-

      private List<SelectItem> leftsideBank_Brands;

       

      public List<SelectItem> getLeftsideBank_Brands() {

       

      leftsideBank_Brands = new ArrayList<SelectItem>();

       

       

      leftsideBank_Brands.add(new SelectItem("bc","bcb"));

       

      leftsideBank_Brands.add(new SelectItem("aabc","fdbcb"));

       

      leftsideBank_Brands.add(new SelectItem("bcdfd","bcfdfb"));

       

      return leftsideBank_Brands;

      }

       

      private

       

       

      List<String> rightsideBank_Brands;

      public

       

       

      List<String> getRightsideBank_Brands() {

       

      rightsideBank_Brands = new ArrayList<String>();

       

       

      rightsideBank_Brands.add("aa");

       

      rightsideBank_Brands.add("bb");

       

      return rightsideBank_Brands;

      }

       

      On UI, i can see leftsideBank_Brands, but i am not able to see rightsideBank_Brands. Please suggest, what i am missing.