session properties

2006-04-27 Thread Maksimenko Alexander
Hi All! Have strange behavior while setting I assumed that call of MyBean's constructor is called one per session, but in debug mode i found out that it is called every request It is very bad for my components which assumed that this is bean is not modified Hope I've missed something ;) -

Re: "forget" session properties from T4 page?

2006-03-12 Thread Scott Russell
Hi Phillip, This is one way to clear ALL page properties: public void clearAllPageStates(IRequestCycle cycle) { List pageNames = cycle.getInfrastructure().getSpecificationSource().getApplicationNamespace().getPageNames(); for (String page : pageNames){ cycle.for

Re: "forget" session properties from T4 page?

2006-03-08 Thread Daniel Lydiard
Use cycle.forgetPage() inside a DirectLink listener or something along those lines. - Original Message - From: "Phillip Rhodes" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 08, 2006 11:35 AM Subject: "forget" session properties from T4 page? I ne

Re: "forget" session properties from T4 page?

2006-03-08 Thread Jesse Kuhnert
IReqestCycle.forgetPage() ? On 3/8/06, Phillip Rhodes <[EMAIL PROTECTED]> wrote: > > I need to forget/reset all the session persisted properties of a set of > pages within a listener method. I was hoping to find a tapestry means to > do this rather than a error prone find-n-destroy the page prop

"forget" session properties from T4 page?

2006-03-08 Thread Phillip Rhodes
I need to forget/reset all the session persisted properties of a set of pages within a listener method. I was hoping to find a tapestry means to do this rather than a error prone find-n-destroy the page property manual way. Thanks. Phillip ---