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 ;)
-
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
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
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
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
---