You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by chickabee <ja...@gmail.com> on 2007/09/18 01:40:22 UTC

Encoding the Nice URL Parameters !

Hi, 

I am using:
setResponsePage(SearchPage.class, params);

Now if any of the params value has a space then the url fails miserably
because it replaces the space with a + sign, e.g.

param value "foo bar"  becomes foo+bar, instead of foo%20bar if it was
encoded correctly, 

Is there a way to tell the Application to encode all the mounted url
parameters correctly?

Thanks !! 
-- 
View this message in context: http://www.nabble.com/Encoding-the-Nice-URL-Parameters-%21-tf4470697.html#a12747237
Sent from the Wicket - User mailing list archive at Nabble.com.


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


Re: Encoding the Nice URL Parameters !

Posted by chickabee <ja...@gmail.com>.
Bookmarkable urls are doing correct encoding, the problem is only with the
the setResponsePage call.



chickabee wrote:
> 
> Hi, 
> 
> I am using:
> setResponsePage(SearchPage.class, params);
> 
> Now if any of the params value has a space then the url fails miserably
> because it replaces the space with a + sign, e.g.
> 
> param value "foo bar"  becomes foo+bar, instead of foo%20bar if it was
> encoded correctly, 
> 
> Is there a way to tell the Application to encode all the mounted url
> parameters correctly?
> 
> Thanks !! 
> 

-- 
View this message in context: http://www.nabble.com/Encoding-the-Nice-URL-Parameters-%21-tf4470697.html#a12747677
Sent from the Wicket - User mailing list archive at Nabble.com.


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