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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...