[jboss-user] [JBoss Seam] - Re: Entity Bean extends SelectItem
Basel
do-not-reply at jboss.com
Fri Aug 11 06:11:47 EDT 2006
Let me clarify few things
First, @Local is used to mark your local interface and @Entity is used to mark an implementation of the interface. So using them together does not make much sense.
Second, SelectItem is a model that holds the state of a single item of a JSF component. It is meant for JSF so do not use it for your entity bean.
I would suggest that you get a list of the items you want to present and pass them to the "value" attribute of selectItems tag.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964577#3964577
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964577
More information about the jboss-user
mailing list