Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AE7F8200C36 for ; Fri, 10 Mar 2017 23:36:51 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id AD0DD160B79; Fri, 10 Mar 2017 22:36:51 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F355E160B67 for ; Fri, 10 Mar 2017 23:36:50 +0100 (CET) Received: (qmail 4067 invoked by uid 500); 10 Mar 2017 22:36:50 -0000 Mailing-List: contact users-help@wicket.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@wicket.apache.org Delivered-To: mailing list users@wicket.apache.org Received: (qmail 4055 invoked by uid 99); 10 Mar 2017 22:36:49 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Mar 2017 22:36:49 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 5476218F150 for ; Fri, 10 Mar 2017 22:36:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id SsuZNJYduyNq for ; Fri, 10 Mar 2017 22:36:48 +0000 (UTC) Received: from mail-ua0-f173.google.com (mail-ua0-f173.google.com [209.85.217.173]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 9853C5F1EE for ; Fri, 10 Mar 2017 22:36:47 +0000 (UTC) Received: by mail-ua0-f173.google.com with SMTP id q7so112785041uaf.2 for ; Fri, 10 Mar 2017 14:36:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=wTWQ03IEHBt3SBHOMLpFrGroeJERoLkw9e20YIa4v1U=; b=ALi9o2B71+9vJ74g/NE+hRY4fAVDoBiF1aVcVVN0eEA+NwYh+nIO02YQ3IgtLWS/pd pGLqssGYI5TxeHNTJ298SoD4zS4xWaIXd4tnCBNBxi+hpaRURMmFRljbuytXisH0dPMJ ObEnwzXNI0Aikz9w55FFSCW5qDL6l8GX3NTVj3h9yVuyM3K643mGkoHJo5FiUIBV3SfJ e8/19dg5fFu4hzHtCCrdHf973k+5YEozlDtmj0ieVymEJYbcDFLmzm+oCuaO4cdaCB98 QkiYlVpz8/8/IeNYnyr3Csnh5k7GrlgTn31ueX491NnrCNNZF+qmamc8nKvcUK32Dkl2 qA6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=wTWQ03IEHBt3SBHOMLpFrGroeJERoLkw9e20YIa4v1U=; b=IG/LsDIPpXDFb27mFdFmlMMUQKBFLvFV/1oAnPVekdytcc+v3VQJFeAYmwu7WscYxG YkLPza6ATmVI22ZA2DvAqpZjJeD7tbBwCSjzHqCBKlF96IcEI6wBYsWSfNk17n1MycA1 5OAbY5fynmZW6EZrRSRShgSq5I3DDqrrwEp5AoHwuop8jcJwWnTQAmtCKVQBhOLBweFF mkkT6X/649dEtv1yAFhF6I78fTp4aFIiCxVjOBZOSwnsE8Nltdr8150i+AVwFhb0SeDM Pe4e3bJbIFqWMHl8kJKX8dLeUOHaO4S3xiwp3FoLp5ufn6wiGAVUugwf4q/EGo/sK68f A0eA== X-Gm-Message-State: AMke39nyHeJY47Vz8ArsuRShCjC6Rg8oRyu0+HZwbHRvymAVEyZ9QmslXNcYA1Kj+d81VhzZy8JhEJbXdmY3ow== X-Received: by 10.31.8.147 with SMTP id 141mr10516951vki.111.1489184910565; Fri, 10 Mar 2017 14:28:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.31.138.139 with HTTP; Fri, 10 Mar 2017 14:28:30 -0800 (PST) In-Reply-To: References: From: Marcel Barbosa Pinto Date: Fri, 10 Mar 2017 19:28:30 -0300 Message-ID: Subject: Re: Manually expire a page To: users@wicket.apache.org Content-Type: multipart/alternative; boundary=001a1144f13099696e054a67e134 archived-at: Fri, 10 Mar 2017 22:36:51 -0000 --001a1144f13099696e054a67e134 Content-Type: text/plain; charset=UTF-8 Thanks Martin, I'll try it. On Fri, Mar 10, 2017 at 7:04 PM, Martin Grigorov 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 < > marcel.power@gmail.com> 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 --001a1144f13099696e054a67e134--