Re: [T5] 5.0.17 URLEncoderImpl.decode error

2008-12-11 Thread Thiago H. de Paula Figueiredo
Em Thu, 11 Dec 2008 16:37:31 -0300, Blower, Andy escreveu: The main reason for this is Tapestry's new encoding scheme makes some of my application's URL's incredibly ugly with its $00xx replacements everywhere. What do you all think? I agree, and the $00XX replacement is even more part

RE: [T5] 5.0.17 URLEncoderImpl.decode error

2008-12-11 Thread Blower, Andy
all think? Andy > -Original Message- > From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] > Sent: 10 December 2008 23:28 > To: Tapestry users > Subject: Re: [T5] 5.0.17 URLEncoderImpl.decode error > > Em Wed, 10 Dec 2008 19:19:44 -0300, Leon D

Re: [T5] 5.0.17 URLEncoderImpl.decode error

2008-12-11 Thread Jan Vissers
> He Martijn, > > The URL is not really generated. I was playing with Freemarker (Java > template engine). > I tried it to send a mail... > The URL is in the mail template and the email param is replaced by > freemarker: > http://localhost:8090/tapestry/test/user/${user.userEmail}"/> > > My test wa

Re: [T5] 5.0.17 URLEncoderImpl.decode error

2008-12-11 Thread Martijn Brinkers
I had a similar requirement and decided not use the activation context for this but do it the 'old fashioned' way with parameters (ie. ?email=blabla) by injecting the Request service. If your freemaker code runs inside a Tapestry application I guess you can add the URLEncoder service to the freema

Re: [T5] 5.0.17 URLEncoderImpl.decode error

2008-12-11 Thread Leon Derks
He Martijn, The URL is not really generated. I was playing with Freemarker (Java template engine). I tried it to send a mail... The URL is in the mail template and the email param is replaced by freemarker: http://localhost:8090/tapestry/test/user/${user.userEmail}"/> My test was to send an

Re: [T5] 5.0.17 URLEncoderImpl.decode error

2008-12-10 Thread Martijn Brinkers
I guess the URL is generated outside of Tapestry? because if you passivate or create a link from Tapestry the parameters are encoded with the Tapestry 'special' encoding. You can probably use the default encoder implementation if you want to encode from outside of Tapestry: org.apache.tapestry5.

Re: [T5] 5.0.17 URLEncoderImpl.decode error

2008-12-10 Thread Leon Derks
Hi Martijn, Thanks! Yes, http://localhost:8090/tapestry/test/user/user$0040company.com works, when I change the @ into $0040 manually. But how can I automatically translate @ into $0040, because my code still generates the '@' character in the url. greetz, Leon Martijn Brinkers wrote: Th

Re: [T5] 5.0.17 URLEncoderImpl.decode error

2008-12-10 Thread Martijn Brinkers
The URL encoder has been changed. @ for example is now encoded as $0040 See https://issues.apache.org/jira/browse/TAP5-302 Search the archive for what and why things have changed http://tapestry.markmail.org Martijn Brinkers On Wed, 2008-12-10 at 23:19 +0100, Leon Derks wrote: > Hello > Th

Re: [T5] 5.0.17 URLEncoderImpl.decode error

2008-12-10 Thread Thiago H. de Paula Figueiredo
Em Wed, 10 Dec 2008 19:19:44 -0300, Leon Derks <[EMAIL PROTECTED]> escreveu: Hello Hi! I do get an java.lang.IllegalArgumentException It says: "Input string '[EMAIL PROTECTED]' is not valid; the character '@' at position 5 is not valid." I didn't had this problem in tapestry 5.0.14. I s