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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to