You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Mike Mander <wi...@gmx.de> on 2011/07/21 16:24:50 UTC
Strange encoding problem
Hi,
i have a strange url encoding problem.
I load some names from db (One of them is "Schlümpfe"). Then i add a
BookmarkablePageLink to my OverviewPage. Markup is encoded as UTF-8.
If i check markup links href = "Overview.html/name/Schlümpfe". If i
click the link browser url is
http://localhost:8080/Overview.html/name/Schlümpfe. Everything is ok.
But if i use a textfield, put the name Schlümpfe in it and redirect to
my OverviewPage the browser url is
http://localhost:8080/Overview.html/sTerm/Schl%FCmpfe. Thats bad because
now nothing is loaded anymore.
So my question is: Is BookmarkablePageLink and setResponsePage working
anyhow differently? If so can i change that?
Thanks
Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Strange encoding problem
Posted by Mike Mander <wi...@gmx.de>.
Am 21.07.2011 16:24, schrieb Mike Mander:
> Hi,
>
> i have a strange url encoding problem.
>
> I load some names from db (One of them is "Schlümpfe"). Then i add a
> BookmarkablePageLink to my OverviewPage. Markup is encoded as UTF-8.
> If i check markup links href = "Overview.html/name/Schlümpfe". If i
> click the link browser url is
> http://localhost:8080/Overview.html/name/Schlümpfe. Everything is ok.
>
> But if i use a textfield, put the name Schlümpfe in it and redirect to
> my OverviewPage the browser url is
> http://localhost:8080/Overview.html/sTerm/Schl%FCmpfe. Thats bad
> because now nothing is loaded anymore.
>
> So my question is: Is BookmarkablePageLink and setResponsePage working
> anyhow differently? If so can i change that?
>
> Thanks
> Mike
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
The solution seems to be that i had to decode the parameter for
responsepage. Urls gets ugly but it works.
Thanks
Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org