Re: Slashes in query/context parameter
Nathan Quirynen <[email protected]>
| Newsgroups | gmane.comp.java.tapestry.user |
|---|---|
| Organization | Pension Architects |
| Message-ID | <[email protected]> |
Hey, I was using @ActivationRequestParameter as I need it to be a part of activation/passivation so it does not get lost when changing language for example. Using Request.getParameter() does work, but then I'm not sure how to use activation/passivation exactly. But as Cezary said in another reply, I can use URLEncoder in my other application (which is also a Tapestry application) to create the link with the url parameter and then use @ActivationRequestParameter. Op 20/06/2017 om 23:17 schreef Thiago H. de Paula Figueiredo: > On Tue, Jun 20, 2017 at 1:12 PM, Nathan Quirynen < > [email protected]> wrote: > >> Hi, >> >> I have a page that needs to accept an url as query or context parameter. >> >> So for example: https://abc.com?redirectUrl=https://def.com/abc123/456 >> >> But Tapestry does not accept the slashes (even if I use the %2F notation): >> >> *Input string '[...]' is not valid; the character '/' at position 7 is not >> valid.* >> > How are you getting this query parameter value? I believe > Request.getParameter() should give you the right value without issues. > > >> How can I achieve what I need with Tapestry? >> >> >> Nathan >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]