Re: Can someone explain how the Velocity To Freemarker tag rendering works?

tm_jee <[email protected]> Sun, 17 Dec 2006 00:28:51 CST
Newsgroups gmane.comp.java.open-symphony.webwork
Message-ID <27774204.1166336962315.JavaMail.os-j2ee@opensymphony01.managed.contegix.com>
Hi Mike,

If not mistaken, I think they are separated, such that in webwork.properties, if there is a 
[code]
webwork.ui.templateSuffix=ftl
[/code]
will, results in freemarker templates and FreemakerTemplateEngine to be used to render them. Whereas if its "vm" then i guess velocity templates will be used.

I am not familiar with velocity.. :-(
> 1. where are those #ww macros defined on the velocity side? 
In Freemarker, the templates are loaded through WebWorkModels, its being hooked up into freemarker's model such that @ww.xxx will work in a freemarker page


> 2. I'm using VelocityResult.java where the Velocity stufff is rendered. Is the
> FreemarkerResult used somewhere as well ? If so, when/how is this done? 
I don't think the freemarker result is being used.

rgds
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=53371&messageID=108298#108298

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]