11 Replies Latest reply on Jul 3, 2010 1:38 AM by Luis Tama

    rich:comboBox and s:convertEntity

    Malte Wiskott Newbie

      Dear all,

      As stated in chapter 6.28.2. of the RichFaces Developer Guide,
      one off the key features of the rich:combobox is the
      Seam entity converter support.

      So I'm trying the following

      <rich:comboBox id="lstIndustry1" defaultLabel="Select your industry">
       <s:selectItems value="#{selectIndList.list}" var="ind" label="#{ind.industry}" />
       <s:convertEntity />
      </rich:comboBox>
      


      This code works perfectly with "h:selectOneMenu" but with the comboBox
      I'm just getting the list of id's (from 1 to 12) and not the Industry name as expected.

      What am I doing wrong ?

      In advance, thank you for your support.

      Sincerely

      Malte Wiskott