On Fri, 17 Aug 2012 07:43:27 -0300, Michael Gentry <mgen...@masslight.net> wrote:

Hi Angelo,

Can't you just have #2 call #1?  Something like:

Object onActivate((String code, String entry)
{
  this.entry = entry;
  return onActivate(code);
}

From Angelo's code, it seemed he needed to add an anchor too, so just returning 'this' in onActivate() wouldn't suffice.


mrg

On Thu, Aug 16, 2012 at 10:29 PM, Angelo C. <angelochen...@gmail.com> wrote:
turned out, T5 already has this:

Link lnk = renderLinkSource.createPageRenderLinkWithContext(Mypage.class,
code);
lnk.setAnchor(entry);
return lnk



--
View this message in context: http://tapestry.1045711.n5.nabble.com/redirecting-in-the-same-page-class-tp5715525p5715529.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


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



--
Thiago H. de Paula Figueiredo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to