[jboss-user] [JBoss Seam] - Re: dataTable in two windows

lightbulb432 do-not-reply at jboss.com
Mon Jan 22 00:51:58 EST 2007

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?

  | @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

More information about the jboss-user mailing list