This is not how doStuff(argument) works. What you are trying to do is a common 
error. 

Think about when #{projectPlanHome.edit(pp.id)} will be evaluated: During 
rendering of the page. However, if you check the source of the rendered HTML, 
you will see that pp.id has not been replaced with a value, it is still pp.id. 
So when you click the link, Seam will on the server call your 
projectPlanHome.edit() method and it will resolve "pp.id" as an argument to 
that method. At that time, "pp" is long gone. 

What you want is @DataModelSelection, see the Seam documentation and examples.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044389#4044389

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044389
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to