This content has been marked as final.
Show 1 reply
-
1. Re: page vs. event scope in Seam
ellis2323.lmallet.oxalya.com Jun 21, 2008 3:10 AM (in response to admin.admin.email.tld)Event is the shortest statefull ScopeType. Page is longer. Think about Ajax processing. If you have a
myComponent
component with
page Scope. At component's creation, it has an integer property with 0 value. And you have anadd action
method. When you use this action, counter is incremented.The way to reset counter is to refresh the counter.With Event Scope, the value is always 0.