http://tapestry.apache.org/persistent-page-data.html#PersistentPageData-ClearingPersistentFields

> The method *discardPersistentFieldChanges()* of *ComponentResources* will
> discard all persistent fields for the page, regardless of which strategy is
> used to store the property. This will not affect the page in memory, but
> takes effect for subsequent requests.


On Thu, Dec 13, 2012 at 2:50 AM, John <j...@quivinco.com> wrote:

> I have a form that uses @Persist page fields. If the user navigates away
> from the page and then returns, the form i sof course still filled in
> because all the form fields are in the session.
>
> The required behaviour is for the pages persisted fields to be cleared
> whenever a user navigates to a page page. Obviously I don't want to lose
> the form values prior to the submit, so FLASH is no good and nor is
> clearing persisted fields during onActivate.
>
> So what do I do?
>
> John

Reply via email to