[jboss-user] [JBoss Seam] - Using s:selectItems with h:selectOneMenu - value is NULL
pesalomo
do-not-reply at jboss.com
Fri Mar 9 11:13:20 EST 2007
Hi,
I have this code:
| <h:selectOneMenu value="#{projectManager.newProjectTargetGroup}">
| <s:selectItems value="#{targetGroups}" noSelectionLabel="Please select.." var="targetGroup" label="#{targetGroup.name}" />
| </h:selectOneMenu>
| <s:button value="Add" action="#{projectManager.addTargetGroupToProject}" />
The combobox displays fine with all the values correct - but when projectManager.addTargetGroupToProject is invoked the projectManager.newProjectTargetGroup property is NULL.
What is the correct approach for getting the selected value into the selectOneMenu value reference.
regards,
Peter
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026647#4026647
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026647
More information about the jboss-user
mailing list