Re: T5.1: Using templates to generate html email

2010-04-28 Thread Josh Canfield
> Is there a way (for example) to deliver a different markup writer to a > page's component, which can then be dumped into an email? There isn't a supported/easy way to do this. I've had various hacks work (replacing everything in the Environment for instance) in older versions of Tapestry5, but t

Re: T5.1: Using templates to generate html email

2010-04-28 Thread Alex Kotchnev
The thing to note here is that the tapx-templating needs to run in a completely separate tapestry app for generating the emails. Thus, if (like me), you want to be able to send HTML email from your current tapestry5 app, this doesn't work (at least not trivially). I use the chenillekit-templating

Re: T5.1: Using templates to generate html email

2010-04-27 Thread Igor Drobiazko
Try tapx-templating http://tapestry.formos.com/projects/tapx/tapx-templating/ An example can be found here: http://github.com/hlship/tapx/blob/master/tapx-templating/src/test/java/com/howardlewisship/tapx/templating/integration/SendMail.java On Tue, Apr 27, 2010 at 10:58 PM, Robert Hailey wrote:

T5.1: Using templates to generate html email

2010-04-27 Thread Robert Hailey
I'd like to have my tapestry web-app generate emails on particular actions. I've seen various methods of using tapestry 3 & 4 to send an email, but have not found a good recipe for tapestry 5. Is there a way (for example) to deliver a different markup writer to a page's component, which c