You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Henrik <he...@gmx.net> on 2001/06/18 16:27:36 UTC

Velocity & JavaScript?

Hello,

can I use Velocity Template Language and JavaScript in the same template
file?
Thanks for your support.

Henrik----


Re: Velocity & JavaScript?

Posted by Rafal Krzewski <Ra...@e-point.pl>.
Henrik wrote:
> can I use Velocity Template Language and JavaScript in the same template
> file?

VTL syntax does not clash with JS syntax, so you can use Velocity to
generate
HTML pages that contain JavaScript.

If you are wondering if you can use JavaScript instead of VTL for
driving
template generation, the answer is *no*.

HTH,
Rafal

--
Rafal Krzewski
Senior Internet Developer
mailto:Rafal.Krzewski@e-point.pl
+48 22 8534830 http://e-point.pl