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 <[email protected]>
Reply-to: [email protected]
To: Tapestry users <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]