Getting rendered template on serverside.



I have a page which shows an overview about some data from a DB. The page is rendered with ac.done(). Now I want to be able to send an e-mail to people which contains this rendered page as html-content. Not just an link to the page, because I want a 'snapshot' of the overview.


As mentioned I use ac.done() to render this template. Is there a possibility to get the rendered template on server-side, to use it as html-content with nodemailer?

1 Reply
  • Hey Kevin, is you use a container mojit that renders the content using ac.composite.done() where your children will have the mojit with the logic, you should be able to control the html fragment, and do whatever you want with it, including just rendering as part of a page or sending over email, etc.


Recent Posts

in Yahoo! Mojito