In my application i'm using h:selectOneListbox ,
The items of this list is comming from backing bean,
I want to set a item(anyone) as a default value of this list, the item will be from my bean itemlist. how can i do that?
<h:selectOneListbox size="1" value="{bean.itemVal}">
<f:selectItems value="#{bean.itemlist}" />
</h:selectOneListbox >