To answer my own question: @Inject private PageRenderLinkSource prls;
public String getFrameSrc() { Link l = prls.createPageRenderLinkWithContext (DiffReportHTML.class,getContext()); return l.toAbsoluteURI(); } Sorry for unnecessary post (late friday afternoon, brain switching off) :) -----Original Message----- From: Richard Hill <r...@su3analytics.com> Reply-to: r...@su3analytics.com To: Tapestry users <users@tapestry.apache.org> Subject: T5.1 IFrame and src context Date: Fri, 22 Oct 2010 16:30:58 +0100 Hi All, I have an <iframe> in my T5.1 page. The src is another page served by the same tapestry webapp. The page to be loaded in the <iframe> takes 2 parameters, a string and an int, as activation context. How do I construct the value of the src to correctly link to the page with the correctly formatted activation parameters? Thanks very much, Richard --------------------------------------------------------------------- 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