velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zapta \(Teiko\)" <za...@teiko.com>
Subject RE: [OT] Javaworld
Date Sun, 29 Jul 2001 20:55:04 GMT
Looks great. I liked the list of resources at the end of the article.

Here is one suggestion for your email example (which is probably too late
;-)).

We recently implemented a similar email template using velocity and one of
the great
features of Velocity is that it allows to retrun values from the template
back to the
java code (using #set and method calls). We used it to allow the template to
control
not just the body of the message but also the subject line, and the
to,cc,from,bcc fields.

With your merry Christmas example, this could also modify the subject
line of the message.


Tal

> -----Original Message-----
> From: Leon Messerschmidt [mailto:leon@opticode.co.za]
> Sent: Saturday, July 29, 2000 10:58 AM
> To: velocity-user@jakarta.apache.org; velocity-dev@jakarta.apache.org
> Subject: [OT] Javaworld
>
>
> Hi Guys,
>
> Take a look at:
>
> http://www.javaworld.com/javaworld/jw-07-2001/jw-0727-templates.html
>
> ~ Leon
>


Mime
View raw message