thanks Thiago, that's a much tidier solution.

Thiago H. de Paula Figueiredo wrote:
On Tue, 25 May 2010 23:30:05 -0300, Paul Stanton <p...@mapshed.com.au> wrote:

Hi All,

Hi!

Is there a way to have a page render a response without the wrapping HTML elements and just print whatever is provided in the body of the tml or alternatively whatever is set in MarkupWriter.write during @BeginRender?

Wrap your content in a StreamResponse and return it in the onActivate() method. There's one example of returning a PDF in http://wiki.apache.org/tapestry/Tapestry5HowToCreateADynamicPDF, but the logic is almost the same.


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

Reply via email to