I have added the below to pages.xml for the page containing the dataTable:
<param name="entityId" value="#{mySelectedEntity.id}" />
But how would I modify the code from the previous post to take advantage of the
injected request parameter?
@DataModelSelection
| @Out(required=false)
| private MyEntity mySelectedEntity;
|
| ...
|
| public void removeMyEntity() {
| // How does the remove know to take out the correct entity
| em.remove(mySelectedEntity);
| }
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4004982#4004982
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004982
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user