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

    programmatically selectItems component creating

    Serhiy Zastavnyy Novice

      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}"/>

      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?