anonymous wrote : First problem can be solved by passing the id as a request
parameter instead of blindly using @DataModelSelection.
So I wouldn't use @DataModelSelection at all? How would the appropriate value
get injected into the entity representing the selected row using a request
parameter?
@DataModelSelection
| @Out(required=false)
| private MyEntity mySelectedEntity;
|
| ...
|
| public void removeMyEntity() {
| em.remove(mySelectedEntity);
| }
How would I change the above to use request parameters by using pages.xml or
alternatively @RequestParameter?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4004699#4004699
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004699
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user