[jboss-user] [JBoss Seam] - Re: Entities with one/many_to_many relationships and SEAM
trouby
do-not-reply at jboss.com
Thu Jul 20 10:53:21 EDT 2006
Hey,
Btw, going a seocnd for the original subject of this post ;)
Is there any example of using multiple selection tags such as:
'selectManyListbox' ?
I'd like to see a collection set automatically and not a specific entity,
As I understand, the SelectItems annotation and the entityconverter together supports multiple selections and set selected items directly into the list?
Is there any example for this?
I tried the following code:
| <h:selectManyListbox id="xx" size="10" value="#{x.yList}" converter="org.jboss.seam.EntityConverter" required="true">
| <f:selectItems value="#{yList}"/>
| </h:selectManyListbox>
|
But I always get 'Validation Error: Value is not valid', also I can assure that EntityConverter does not even try to convert the values to objects...
Thanks a lot,
Asaf.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959599#3959599
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959599
More information about the jboss-user
mailing list