JSF selectItem question

Posted by DD on Stack Overflow See other posts from Stack Overflow or by DD
Published on 2010-03-12T18:30:19Z Indexed on 2010/03/12 21:07 UTC
Read the original article Hit count: 160

Filed under:
|
|

Hi, Is there a way to dynamically create a selectItem list? I dont really want to have to create lots of bean code to make my lists return List<SelectItem>...

I tried this:

<ice:selectManyCheckbox>
    <ui:repeat var="product" value="#{productListingService.list}">
      <f:selectItem itemLabel="#{product.description}" value="#{product.id}"/>
    </ui:repeat>
</ice:selectManyCheckbox>

but it doesnt work.

Any ideas?

© Stack Overflow or respective owner

Related posts about jsf

Related posts about icefaces