[jboss-user] [JBoss Seam] - Scoping - finding the sweetspot

Sammy8306 do-not-reply at jboss.com
Wed Apr 25 02:56:01 EDT 2007

After fiddling around with long running conversations, experiencing the joy (no detached objects etc.) and aggrevation (when and how to end conversations etc.), I'm now trying to create a sample app  in which the pages are as self-sufficient (restful if you will) as possible. When displaying stuff, no problems arise. Put everything in page scope, inject a RequestParameter to indicate what needs to be shown, and prepare everything in an @Create method of a page scoped component. 

However, this breaks when I want to do a JSF postback (for example using an enhanced EL action binding). Now, the RequestParameter will be null and all goes wrong... Is my only option to pass the value of the ReqParam in the enhanced EL binding as well (which seems a bit hackish), or am I missing something? I can post a concrete example if necessary, but I think the point is clear.

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

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

More information about the jboss-user mailing list