You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Per Newgro <pe...@gmx.ch> on 2011/09/01 19:07:17 UTC

Why is UTF-8 encoding lost on redirect

Hi,

i have the following situation.

In browser i type my url (localhost:8080/param/Küche).
In page-parameters param is Küche (fine).
On Page there are two links

public MyPage(final PageParameters parameters) {
         super(parameters);
         StatelessForm<Void> form = new StatelessForm<Void>("form");
         form.add(new StatelessLink("redirectlink") {

                 @Override
                 public void onClick() {
                     setResponsePage(MyPage.class, getPageParameters());
                     setRedirect(true);
                 }
             });
         form.add(new StatelessLink("simplelink") {

                 @Override
                 public void onClick() {
                     setResponsePage(MyPage.class, getPageParameters());
                 }
             });
         add(form);
     }
}

Clicking on the simplelink provides Küche as parameter. But the url 
contains the listener interface
which i would like to remove.
Click chain on the redirectlink leads firstly to K%FCche then to K{a 
sign}che and at the end K.
What could that be?

I've created a quickstart for this 
https://issues.apache.org/jira/browse/WICKET-3981

Testing this with 1.5-RC7 had no problem. But i'm on 1.4.18 and have to 
stay there so long.

Maybe someone can give me a hint.
Thanks
Per

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org