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.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org