While 5.4 has the ability to render templates outside a request i think the best way to send email is to create a page that renders the HTML you want to send as email and call it like a web service. This makes development easy because it's just like building any other Tapestry page. Here is a service that will call it
https://github.com/trsvax/Jacquard/blob/master/src/main/java/com/trsvax/jacquard/services/WebServiceImpl.java As far as XSLT goes I'm not sure what you mean. I do a lot of XML/XSLT and I just have a service that can do transforms. If you want to do XSLT on the Tapestry render pipeline I've thought about that but the Tapestry DOM can do mostly the same thing although it a completely different way. Here is some code that does considerable reworking of the DOM using a MarkupWriter listener. https://github.com/trsvax/Jacquard/blob/master/src/main/java/com/trsvax/jacquard/mixins/BeanEditTemplate.java On Thursday, June 23, 2016, Thiago H de Paula Figueiredo <thiag...@gmail.com> wrote: > On Thu, 23 Jun 2016 12:14:42 -0300, Qbyte Consulting < > qbyteconsult...@gmail.com> wrote: > > I am using T5.3.6 and sending the html hidden in the form causes jetty >> exceptions, it's too much payload. Look like I have to do something >> server side, template rendering from the page class would be ideal. Can I >> enhance my app with this Tapestry 5.4 service, or is it incompatible? >> > > If by "enhance" you mean copying it from the Tapestry 5.4 sources and > including it in your 5.3 project, it should work. It doesn't use anything > which isn't in Tapestry for many ears. > > Yes some smooth xslt integration would be nice. :) >> > > JIRA ticket? :) > > -- > Thiago H. de Paula Figueiredo > Tapestry, Java and Hibernate consultant and developer > http://machina.com.br > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >