Return-Path: X-Original-To: apmail-wicket-users-archive@minotaur.apache.org Delivered-To: apmail-wicket-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 206EB113E1 for ; Wed, 21 May 2014 19:09:24 +0000 (UTC) Received: (qmail 95390 invoked by uid 500); 21 May 2014 19:09:23 -0000 Delivered-To: apmail-wicket-users-archive@wicket.apache.org Received: (qmail 95354 invoked by uid 500); 21 May 2014 19:09:23 -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 95346 invoked by uid 99); 21 May 2014 19:09:23 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 May 2014 19:09:23 +0000 Received: from localhost (HELO mail-wi0-f179.google.com) (127.0.0.1) (smtp-auth username mgrigorov, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 May 2014 19:09:23 +0000 Received: by mail-wi0-f179.google.com with SMTP id bs8so3235585wib.6 for ; Wed, 21 May 2014 12:09:21 -0700 (PDT) X-Received: by 10.181.12.104 with SMTP id ep8mr2738002wid.0.1400699361771; Wed, 21 May 2014 12:09:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.105.74 with HTTP; Wed, 21 May 2014 12:08:40 -0700 (PDT) In-Reply-To: <537CF36C.8050708@gmail.com> References: <537CF36C.8050708@gmail.com> From: Martin Grigorov Date: Wed, 21 May 2014 22:08:40 +0300 Message-ID: Subject: Re: PageParameters refresh on page reload To: "users@wicket.apache.org" Content-Type: multipart/alternative; boundary=f46d043bdf78e547fe04f9edbb10 --f46d043bdf78e547fe04f9edbb10 Content-Type: text/plain; charset=UTF-8 Hi, This is fixed in Wicket 7.x. We didn't apply the fix to 6.x because it is a behavior change. You can read the current parameters in #onConfigure() with getRequestCycle().getRequest().getRequestParameters() and override with them the page's parameters (page.getPageParameters()) Martin Grigorov Wicket Training and Consulting On Wed, May 21, 2014 at 9:41 PM, Edgar Merino wrote: > Hello, I've got a problem that I've just noticed today: When an instance > of a WebPage is created with some url parameters, the PageParameters object > is never updated, that is, if I refresh the same webpage with different url > parameters this won't be taken into account, instead the first params used > to create the WebPage are used. Is there a way to have url parameters > updated on each page request? > > Thanks in advance. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org > For additional commands, e-mail: users-help@wicket.apache.org > > --f46d043bdf78e547fe04f9edbb10--