You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by David Kaufman <da...@gmx.de> on 2015/04/15 12:04:43 UTC

How to get a map of parameters of a request in wicket 6

Hi,

In Wicket 1.4 we have following code snippet:
final Map<String, String[]> params =
getRequestCycle().getRequest().getParameterMap();

Wicket 6 doesn't have the capabilities of extracting a map. Is this
assumption correct? I can only find a method that extracts the keys:
final Set<String> parameterNames =
getRequest().getRequestParameters().getParameterNames();

Do I have to built the map myself or is there a convenience function
somewhere I overlooked?

Thanks,
David