[jboss-user] [JBoss Seam] - Re: How can I pass parameters to action methods

christian.bauer@jboss.com do-not-reply at jboss.com
Tue Mar 6 17:33:07 EST 2007


So you need to find another way to pass an "object" from request to request. One way is to pass its identifier and to load it from the database in the second request. Another is to stick it into the session an retrieve it from there by identifier.

And the last and best way is to put it into the conversation context in the first request, name the context variable in the action method as a parameter, and let Seam look it up from the conversation context in the second request. This is really what Seam is about.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025607



More information about the jboss-user mailing list