You read that? http://wiki.apache.org/tapestry/Tapestry5LinkingToNonTapestryURIs
2009/8/6 Sebastian Hennebrueder <use...@laliluna.de> > Hello, > > I supect if the Link doesn't get encoded twice. > > Once in LinkImp > public String toRedirectURI() > { > return appendAnchor(response.encodeRedirectURL(buildURI())); > } > > and once in > ResponseImpl > public void sendRedirect(Link link) throws IOException > { > Defense.notNull(link, "link"); > > String redirectURL = encodeRedirectURL(link.toRedirectURI()); > > sendRedirect(redirectURL); > } > > I run into this issue, while trying to find out how to return a link to an > external website > > http://tapestry.apache.org/tapestry5/guide/pagenav.html > > I cannot create a new LinkImpl as a response is needed here. I don't know > the code well, but shouldn't the response be removed from the Link and the > encoding be done only when the redirect is sent? > > Or shouldn't the Link be used at all? It is in the internal package. In > that case, we need to fix the documentation. > > -- > Best Regards / Viele Grüße > > Sebastian Hennebrueder > ----- > Software Developer and Trainer for Hibernate / Java Persistence > http://www.laliluna.de > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >