Hi Phillip,
This is one way to clear ALL page properties:
public void clearAllPageStates(IRequestCycle cycle) {
List<String> pageNames =
cycle.getInfrastructure().getSpecificationSource().getApplicationNamespace().getPageNames();
for (String page : pageNames){
cycle.forgetPage(page);
}
}
-Scott
On Thu 9 March 2006 05:35, Phillip Rhodes 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 property manual
> way.
>
> Thanks.
> Phillip
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]