Great, thanks. FFR, this is how I have implemented: .java:
@Inject private PageRenderLinkSource plrs; public Link getLink() { Link link = plrs.createPageRenderLink(MyPage.class); link.addParameter("q", "test"); return link; } .tml: <a href="${link}">my page link</a> Seems to work :) -----Original Message----- From: Thiago H. de Paula Figueiredo <thiag...@gmail.com> Reply-to: "Tapestry users" <users@tapestry.apache.org> To: Tapestry users <users@tapestry.apache.org> Subject: Re: @Persist vs onActivate/OnPassivate Date: Thu, 11 Nov 2010 13:00:45 -0200 On Thu, 11 Nov 2010 12:55:51 -0200, Richard Hill <r...@su3analytics.com> wrote: > One thing that would be great is a way to create an internal link with > request parameters. Your example shows how to do via a POST, I'd like to > implement a GET link instead. Something like > <t:pagelink page="mypage" context="blah">mypage</t:pagelink> > but instead of activation context, request parameters. I like the idea of PageLink having both activation context and query parameters. :) PageLink doesn't support it yet, but you can generate a Link for it using the PageRenderLinkSource service and the add the query parameters to it. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org