> for example if you did it through:
> request.getRequestParameters().getParameters()
> then we just return a map which i think we should fix.. (we should return a
> ValueMap there)
> so that you also can do getString()
Yes, that's the point. Sometimes I was doing this in 1.2.5:
public class <the-page> extends WebPage {
private Map pageParam = null;
public <page-constructor>() {
pageParam = this.getRequestCycle().getRequest().getParameterMap();
...
}
private <a-method>() {
String dataParam = (String)pageParam.get("DATA");
}
...
}
by inertia, I also was doing the same with PageParameters, I mean,
using "get" instead of "getString"... and so on...
So, I agree, to avoid misunderstandings, it might be fixed, likely by
returning a ValueMap, instead, as you say.
Cheers
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user