On 07/23/2012 04:07 PM, netdawg wrote:
Is there a way now to render non-HTML views?

Examples:

1.  Have the grid component wrap Apache POI to dynamically generate
spreadsheets?
2.  Similar PDF engine to generate a pure PDF document (or convert the
rendered HTML into  PDF a la joomla, drupal CMS etc)?

Much Thanks.



You need to return a StreamResponse in onSubmit() or similar.


http://wiki.apache.org/tapestry/Tapestry5HowToStreamAnExistingBinaryFile
http://wiki.apache.org/tapestry/Tapestry5HowToCreateADynamicPDF

This idea works for anything you may want to return that isn't an HTML page. You still need the page class file, but you do not need a .tml file.

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

Reply via email to