The Link object already has a setAnchor() method. It's called OO Design, people :-)
Also note that the server *never sees* the anchor; that stays on the client and is not part of the HTTP GET/POST request in any way. It is not accessible. On Fri, Aug 17, 2012 at 7:12 AM, Angelo C. <angelochen...@gmail.com> wrote: > right, might be nice if PageRenderLinkSource can add another two methods: > > createPageRenderLinkWithContextAndAnchor > createPageRenderLinkWithAnchor > > the use case is, say you are converting your app into Backbonejs based, you > might like to redirect: > > /mypage/0001 to > /mypage#0001 > > and you would like to keep the old link as well. > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/redirecting-in-the-same-page-class-tp5715525p5715541.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org