buckrodger
asked on
JSF selectonemenu default selection
I have a selectOnemenu in my jsp. I have it populating just fine with an array of SelectItem, but how can I set the item selected by default ??
<h:selectOneMenu styleClass="textFields"
value="#{userProfile.periodEnding}" >
<f:selectItems value="#{infoverificationController.selectItems}" />
</h:selectOneMenu>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you, this worked
ASKER
Open in new window