Thank you for your reply.
Although I didn't post it, I did try like this.
| @Name("someAction")
| public class SomeAction {
|
| @DataModel(value="parents")
| private List<Parent> parents;
|
| @DataModelSelection(value="parents")
| @Out(required=false, scope=ScopeType.CONVERSATION)
| private Parent parent;
|
| @DataModel(value="children")
| private List<Child> children;
|
| @DataModelSelection(value="children")
| private Child child;
|
| .......
|
| }
| @Entity
| @Name("parent")
| public class Parent {
|
| private int field1;
| private List<Child> children = new ArrayList<Child>(0);
|
| @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER, mappedBy =
"parent")
| public List<Child> getChildren() {
| return this.children;
| }
|
| .......
|
| }
But it didn't work....
What am I missing?
Shige
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070861#4070861
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070861
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user