sible. But this thread suggests that there are other
ways
to do it, programmatically inside the Java class for a page.
Any hints or pointers are most welcome. Thanks in advance!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Programmatical-page-component-rendering-tp51597
But this thread suggests that there are other ways
to do it, programmatically inside the Java class for a page.
Any hints or pointers are most welcome. Thanks in advance!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Programmatical-page-component-rendering-tp5159795p5549303.html
Sent
On Fri, 20 Jan 2012 08:47:00 -0200, Lance Java
wrote:
Otherwise, I would use freemarker, a tempting engine with localisation
support.
Another option is velocity but I find freemarker to be much better than
velocity.
Having experience with both, I can tell you to use Freemarker. Way better
Since you are generating plain text, not HTML, I would probably not use
tapestry templating to generate the text.
Depending on how simple your email is, you may find that using the message
catalog and a find-and-replace is easy enough.
Otherwise, I would use freemarker, a tempting engine with loc
Great idea!
Which approach do you recommend if I want to sent out a mail that does not
need to look like a web page but just contains plain text? I somehow feel
uncomfortable to put a complete mail text into a message catalog file.
Markus
> http://tapestry.1045711.n5.nabble.com/Generating-HTML-e
http://tapestry.1045711.n5.nabble.com/Generating-HTML-email-content-with-Tapestry-td5075717.html
On Jan 20, 2012, at 3:27 AM, Guillaume Bodet wrote:
> Hi all,
>
> I need to send mails from my application, and I would like to use Tapestry's
> templating to create the body of the mail.
> Is there
Hi all,
I need to send mails from my application, and I would like to use Tapestry's
templating to create the body of the mail.
Is there any way to programmatically get the rendering of a page or component
(in an output stream, for instance) ?
Regards
Guillaume