1 Reply Latest reply on Mar 30, 2009 6:46 AM by nbelaevski

    programmatically selectItems component creating

    elf

      Hi, I have been trying to create pickList programmatically, but I can not.
      It is simple pickList.

      <rich:pickList value="#{beanB.selectedlibraries}">
       <f:selectItems value="#{beanB.libraries}"/>
      </rich:pickList>
      


      I found HtmlPickList class, and can create <rich:pickList> component.
      But how I can create programmatically <f:selectItems> component ?
      What class should I use ?
      What should I do to use list of my own objects, not just String type?