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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to