[jboss-user] [JBoss Seam] - Re: Difference between Page and Event scope

iradix do-not-reply at jboss.com
Thu Aug 23 15:39:03 EDT 2007


I think the most simple explanation is that event scope means that you're data is stored in the request (servlet or portlet).  It is available through the request - response lifecycle.  Page scoped data is stored in the faces tree so if you were to create a page scoped object while a page was being rendered, it would survive the postback to the server and be available through at least the following invoke application phase.  The thing to keep in mind with page scoped data, however, is that because it's stored in the component tree it will usually be serialized between the time the page is rendered and the postback.  For attached entity beans that is usually not a good thing.

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

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



More information about the jboss-user mailing list