Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated API for Wicket 1.5

...

Ok, this is actually quite ugly, but you get the optional arguments in the response method like this:

Code Block
titleJava
MapIRequestParameters mapparams = ((WebRequestCycle) RequestCycle.get()).getRequest().getParameterMapgetRequestParameters();

Alternatively, you can Or to retrieve a single parameter by its key:

Code Block
titleJava
String paramFoo = RequestCycle.get().getRequest().getRequestParameters().getParametergetParameterValue("foo");