Thanks Martin, I'll try it.

On Fri, Mar 10, 2017 at 7:04 PM, Martin Grigorov <[email protected]>
wrote:

> Hi,
>
> See org.apache.wicket.DefaultPageManagerProvider#get().
> You will need to extend org.apache.wicket.page.PageStoreManager and create
> a getter for the passed org.apache.wicket.pageStore.IPageStore.
> Then in your code you could do something like:
>
> ((MyPageManager)
> getSession().getPageManager()).getPageStore().removePage(
> getSession().getId(),
> getPage().getPageId())
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Fri, Mar 10, 2017 at 10:41 PM, Marcel Barbosa Pinto <
> [email protected]> wrote:
>
> > Hi,
> >
> > When the user submits a form, I save the data in #onSubmit() and then
> > redirect it to another page.
> > If the user hits the back button, I need that this versioned page becomes
> > expired.
> >
> > How can I achieve this?
> >
> > --
> >
> > Marcel Barbosa Pinto
> >
>



-- 

Marcel Barbosa Pinto
55 11 98255 8288

Reply via email to