Hi,

I'm trying to set up a combox box with jsf.
I have a list of object RequestType, and the label
i want to use is #{requestType.name}

How can i set up a h:selectOneListbox with that ?

I have tried selectItems but it doesnot match my need.

Using gravel, i have tried this too :
<h:selectOneListbox id="name" value="#{name}">
<gd:repeat value="#{listRequestTypes}" var="requestType">
<f:selectItem itemLabel="#{requestType.name}"
itemValue="#{requestType.name}"/>
</gd:repeat>
</h:selectOneListbox>
But it doesnot work.

Can you help ?