Hi,

I'm using seam 1.2.1 and JBoss AS 4.0.5,

Here is the selectOneMenu in my page


  |   <tr>
  |     <td>Org Level:</td>
  |     <td>
  |       <s:decorate>
  |         <h:panelGroup>
  |       <h:selectOneMenu value = "#{orgEntry.orgLevel}">
  |             <s:selectItems value="#{orgLevels}" var="orgLevel" 
label="#{orgLevel.name}" noSelectionLabel="#{orgEntry.orgLevel.name}"/>
  |           </h:selectOneMenu>
  |     </h:panelGroup>
  |       </s:decorate>
  |     </td>
  |   </tr>
  | 

When the page is rendered, the value selected is not the "noSelectionLabel", 
but the last entry in my orgLevels list. When I click on the drop down, I see 
the "noSelectionLabel" value as the first entry in the list.

How do I make the noSelectionLabel as the default selection?

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063135#4063135

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063135
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to