You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Leon Messerschmidt <le...@opticode.co.za> on 2000/07/29 19:58:26 UTC

[OT] Javaworld

Hi Guys,

Take a look at:

http://www.javaworld.com/javaworld/jw-07-2001/jw-0727-templates.html

~ Leon


Re: [OT] Javaworld

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
Leon Messerschmidt wrote:
> 
> Hi Guys,
> 
> Take a look at:
> 
> http://www.javaworld.com/javaworld/jw-07-2001/jw-0727-templates.html
> 
> ~ Leon

All right Leon! +1

(And fix your clock - it says it's 2000....)

geir

-- 
Geir Magnusson Jr.                           geirm@optonline.net
System and Software Consulting
Developing for the web?  See http://jakarta.apache.org/velocity/
Be well, do good work, and keep in touch.

RE: [OT] Javaworld

Posted by "Zapta (Teiko)" <za...@teiko.com>.
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
>


Re: [OT] Javaworld

Posted by Jon Stevens <jo...@latchkey.com>.
on 7/29/00 10:58 AM, "Leon Messerschmidt" <le...@opticode.co.za> wrote:

> Hi Guys,
> 
> Take a look at:
> 
> http://www.javaworld.com/javaworld/jw-07-2001/jw-0727-templates.html
> 
> ~ Leon

YES! Excellent article Leon!

-jon