  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | - selectItems & noSelectionLabel | - selectItems & noSelectionLabel 2007-08-10 - By hager
Back Hello, I'm using selectItems and noSelectionLabel,and i have some problems
this my code
| <h:selectOneMenu id="selectOneSituationDeFamille" value="# {collaborateurHome.instance.situationDeFamille}" > | | <s:selectItems value="#{collaborateurHome.situationFamilleKeys}" | var="situationFamilleIterator" | label="#{collaborateurHome.situationFamilleMap [situationFamilleIterator]}" | id="selectSituations" | noSelectionLabel="Select Situation"/> | </h:selectOneMenu> |
when i choose the selectItem "Select Situation", and i submit the form, I want to insert in the database the value "no situation Selected"? How can I do? I'm using seam 1.2.1 collaborateurHome.situationFamilleKeys is a Set that contains the Keys of the MAP. thank you
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic &p=4073032#4073032
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode =reply&p=4073032 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|
 |