Hi,
getPage().getPageParameters() returns the GET parameters at the time the
page has been created.
If the page is stateful and you submit a form, or click a link (normal and
Ajax ones) then you need getRequest().get***Parameters().
Martin Grigorov
Freelancer, available for hire!
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Thu, Mar 12, 2015 at 6:20 PM, David Kaufman david.kauf...@gmx.de wrote:
Hi,
I'm currently migrating a fairly large project from wicket 1.4 to wicket 6.
We're currently getting the PageParameters from the RequestCycle
via getRequestCycle().getPageParameters(), with wicket 6 this is no longer
possible. Getting the PageParameters via getPage().getPageParameters() is a
viable option but I'm not quite sure if this is the way to go. Another way
of getting parameters is by calling getRequest().getQueryParameters() but
I'm also not sure if these are identical with the PageParameters (they are
differently typed so I suspect that they are inherently different).
Thanks,
David