Re: T5: Persist or not? help me understand this

2007-10-31 Thread Marcelo C. de Freitas
Angelo, We had a situation using T4.1 where some non-persistent properties where reused in listeners after the page was rendered. It used to work relatively fine but as the page got more properties it begun to fail. Sometimes it got the right value, other times an old value (?!?!) and -

Re: T5: Persist or not? help me understand this

2007-10-31 Thread Angelo Chen
Hi, looks like I have to make it @Persist if Long usrID is private, if just the default it might be persisted even without a @Persist but a warning during run time, am I right? A.C. Angelo Chen wrote: > > Hi, > > I got a little confused with need to @Persist, example as follow, the > usrID as

T5: Persist or not? help me understand this

2007-10-30 Thread Angelo Chen
Hi, I got a little confused with need to @Persist, example as follow, the usrID as not persisted, but when user Submit a form, that value is still accessible inside OnSuccess, my understanding is, after rendering the page, the variable is gone, when form submitted, only persisted variable retains