Re: URL encoding issue

2010-06-18 Thread Christophe Cordenier
Actually, you can return return a URL but you will have to encode it with Tapestry URLEncoder service. More generally i use URL when i want to redirect to external web site. If i want to redirect to a page in my application on the same server, i prefer to return an instance of page (see @InjectPage

Re: URL encoding issue

2010-06-18 Thread Joel Halbert
As far as I understand though, I *could* return a URL, this is perfectly valid no? So I'm kind of curious as to why it doesn't work On 18/06/10 15:58, Christophe Cordenier wrote: Hi You'd better return a Link built via the LinkSource service. So Tapestry encode the event/page context for

Re: URL encoding issue

2010-06-18 Thread Christophe Cordenier
Hi You'd better return a Link built via the LinkSource service. So Tapestry encode the event/page context for you. 2010/6/18 Joel Halbert > Hi Folks, > > I have an onSubmit from which i return a URL, which all works fine, unless > I have a path fragment with certain characters, such a spaces. >

URL encoding issue

2010-06-18 Thread Joel Halbert
Hi Folks, I have an onSubmit from which i return a URL, which all works fine, unless I have a path fragment with certain characters, such a spaces. So If I return a URL such as: http://localhost:8080/web/buy/sports tops I get: Input string 'sports tops' is not valid; the character ' ' at p

Re: The URL encoding issue

2008-10-27 Thread Howard Lewis Ship
Yes, it is now the URLEncoder service, so that you can easily override it. On Mon, Oct 27, 2008 at 3:58 AM, Thiago H. de Paula Figueiredo <[EMAIL PROTECTED]> wrote: > Em Mon, 27 Oct 2008 07:22:00 -0300, kranga <[EMAIL PROTECTED]> escreveu: > >> As long as your custom scheme can also handle UTF-8 s

Re: The URL encoding issue

2008-10-27 Thread Thiago H. de Paula Figueiredo
Em Mon, 27 Oct 2008 07:22:00 -0300, kranga <[EMAIL PROTECTED]> escreveu: As long as your custom scheme can also handle UTF-8 standard scheme so that libraries that we integrated with (JS libraries and others) that produce encoded URLs don't break. In addition, I suggest something obvious: t

Re: The URL encoding issue

2008-10-27 Thread kranga
try users" Sent: Saturday, October 25, 2008 6:22 PM Subject: Re: The URL encoding issue On Fri, Oct 24, 2008 at 7:01 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: BTW, I'm actively working on the issue with URL encoding/decoding. Because of the differences between Jetty and To

Re: The URL encoding issue

2008-10-25 Thread Massimo Lusetti
On Fri, Oct 24, 2008 at 7:01 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > BTW, > > I'm actively working on the issue with URL encoding/decoding. Because > of the differences between Jetty and Tomcat, I'm abandoning standard > URL encoding (i.e., %2f and all that) and using my own scheme. >

The URL encoding issue

2008-10-24 Thread Howard Lewis Ship
BTW, I'm actively working on the issue with URL encoding/decoding. Because of the differences between Jetty and Tomcat, I'm abandoning standard URL encoding (i.e., %2f and all that) and using my own scheme. As a side effect, we can now properly support null and blank string values in page activa