You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Stephen Summerfield <st...@netality.com> on 2007/08/02 17:30:51 UTC
T5 HTML email generation
What's the recommended way of generating HTML formatted files (eg for
sending as emails) using Tapestry 5 pages/components? ie triggering
Tapestry aside from the servlet container.
I've seen PageTester and am thinking it would work using this, calling
renderPage to generate a Document and using toMarkup to get the HTML,
but the name/package doesn't really encourage me to use it in an
application.
Any suggestions?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5 HTML email generation
Posted by "Nick Westgate (Work)" <ni...@key-planning.co.jp>.
It's been done with T4, but I would agree with a recent poster that choosing
a template engine like Velocity is better. Search for the recent posts on
the topic.
Cheers,
Nick.
Stephen Summerfield wrote:
>
> What's the recommended way of generating HTML formatted files (eg for
> sending as emails) using Tapestry 5 pages/components? ie triggering
> Tapestry aside from the servlet container.
>
> I've seen PageTester and am thinking it would work using this, calling
> renderPage to generate a Document and using toMarkup to get the HTML,
> but the name/package doesn't really encourage me to use it in an
> application.
>
> Any suggestions?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/T5-HTML-email-generation-tf4206822.html#a11968292
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org