Is there a class for encoding page parameters for urls?

2011-07-13 Thread Mike Mander
Hi, is wicket providing a class encoding a page parameter string for url? Usecase: I have a searchword. This is put plain into the page parameters. But if i use for example the searchword myword% i get ERROR - RequestCycle - URLDecoder: Incomplete trailing escape (%) pattern

Re: Is there a class for encoding page parameters for urls?

2011-07-13 Thread Andrea Del Bene
Hi Mike, have you tried org.apache.wicket.request.URLEncoder? Hi, is wicket providing a class encoding a page parameter string for url? Usecase: I have a searchword. This is put plain into the page parameters. But if i use for example the searchword myword% i get ERROR - RequestCycle

Re: Is there a class for encoding page parameters for urls?

2011-07-13 Thread Martin Grigorov
Hi, On Wed, Jul 13, 2011 at 12:04 PM, Andrea Del Bene adelb...@ciseonweb.it wrote: Hi Mike, have you tried  org.apache.wicket.request.URLEncoder? This class is only in 1.5. In 1.4 (as the stacktrace shows) it is named WicketUrlEncoder. Mike: you'll need to encode the value before passing it