Re: obtaining markup in a page class to send in email

2016-06-24 Thread Thiago H de Paula Figueiredo
On Fri, 24 Jun 2016 09:58:45 -0300, Barry Books wrote: 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

Re: obtaining markup in a page class to send in email

2016-06-24 Thread Barry Books
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 servi

Re: obtaining markup in a page class to send in email

2016-06-23 Thread Thiago H de Paula Figueiredo
On Thu, 23 Jun 2016 12:14:42 -0300, Qbyte Consulting 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 w

Re: obtaining markup in a page class to send in email

2016-06-23 Thread Qbyte Consulting
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? Yes some smooth

Re: obtaining markup in a page class to send in email

2016-06-23 Thread Thiago H de Paula Figueiredo
On Thu, 23 Jun 2016 10:25:52 -0300, Qbyte Consulting wrote: Hi, Hi! What would be the way to implement an email button on a page that sends some of the markup to someone? Is there a slick way to do this, or is it more messy like grabbing the markup in JS and passing through the ajax reque