[jboss-user] [JBoss Seam] - Re: Seam Application Framework : association management
norman.richards@jboss.com
do-not-reply at jboss.com
Mon Jan 8 12:29:22 EST 2007
Here's one way to get started, I suppose. In general, I think you'd want to combine an EntityQuery with an EntityHome though, and not mess about with manually managing it like this.
| @Name("fooList")
| public class FooList
| extends EntityQuery
| {
| @DataModelSelection
| Foo selectedFoo;
|
| @DataModel
| public List getAllFoo() {
| return super.getResultList();
| }
|
| public void actOnSelected() {
| .... use selectedFoo
| }
| }
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999111#3999111
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999111
More information about the jboss-user
mailing list