i didn't exactly know at what place you get what from where.

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()

johan


On 5/15/07, manuel barzi <[EMAIL PROTECTED]> wrote:

Hi, Johan,

Switching all

... = (String)pageParam.get("...");

to

... = pageParam.getString("...");

made it work.

Why didnt you mention switching to "getString" before?

Nevertheless, should we understand that "get" does not behaves as
1.2.5, where String was returned, and not String[1] as 1.2.6.

That's the point, so we might be adviced to refactor our code and
avoid using old "get", and use "getString" in its place.

I guess this clue-point is closing doubts, then ending the thread...

Thank you ;)


On 5/15/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
>
> >
>
http://localhost:8080/NT/front/?wicket:bookmarkablePage=:mypackage.EntryPointPage&DATA=MOGToh0GbqF%7Et3MZzj8cLc9ruPY-ArazzQcA9%7EFO1e6ivBTv-2tSFD8gd4L0MAtXL2xnud0JujjIhjBUVpDHcE82KiBJ7PK-1T3BamoQyx9QnzEsz7PD1li0Wq%7EvOU87
> >
> >
> > As you see there, the DATA parameter sent has been "mysteriously"
> > transformed to String[1].
>
>
>
> that DATA thing you did encrypt it yourself?
> that it is String[1] is logical because it is a direct servlet param and
> those are all String[]
> but how do you get access to the DATA value?
> through the PageParameters?
>
> then call pp.getString("DATA")
>
> johan
>
>
>
-------------------------------------------------------------------------
> 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
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-------------------------------------------------------------------------
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to