This content has been marked as final.
Show 1 reply
-
1. Re: Problem with selection in SelectOneList
kstoneman Oct 9, 2008 9:20 PM (in response to sim)You are a step ahead of me, maybe you can help.
I am trying to return a list of Roles as well to a drop down. Here is what I have in the xhtml:
<h:selectOneMenu id="rolename" styleClass="text" value="#{rbacRolesList.rbacRoles.rolename}">
<s:selectItems value="#{roleNameList.resultList}" var="roleName" label="#{roleName.description}" noSelectionLabel="None"/>
</h:selectOneMenu>
What I dont understand is what I need to do to the code...as in the java file and the class file to make this work.
It just appears on the page with the "None" in it?
Any help would be great.
Thanks,
Ken