[jboss-user] [JBoss Seam] - Re: dataTable in two windows
lightbulb432
do-not-reply at jboss.com
Mon Jan 22 15:27:28 EST 2007
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
More information about the jboss-user
mailing list