You need to use a converter. If you are using entities you can use 
<s:convertEntity/> like so:


  |         <h:selectOneMenu value="#{bscPr.selected}">
  |             <s:selectItems value="#{bscPr.times}" var="n" 
  |                 label="#{n.toShortString()}" 
  |                 noSelectionLabel="Please select..."/>
  |                <s:convertEntity/>
  |         </h:selectOneMenu>
  | 

otherwise you have to write your own, I think seam comes with an example of how 
to do this.

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

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

Reply via email to