This sounds really usefull. Do you have any examples?
Inandjo Taurel wrote:
i have also used vm to generate dynamic JS code, to have cascade select
boxes.
When you select an option in on selector box, it changes the content of
another selector box.
it's pretty usefull!
Jeffrey D. Brekke wrote:
On Fri, 28 May 2004 14:09:59 +0200, Bernardo Arlandis Mañó [EMAIL PROTECTED] said:
[SNIPPED]
You've pointed something important, if the js code has to be
regenerated there's no improvement other than having separate
files. The js code should be static, but
Hi. I've been using turbine for a while and i've been using velocity for
generating html and javascript code inside .vm files, but now I'd like
to take the javascript code out to its own .js file. That will make my
pages smaller, but I can't use the velocity template engine inside .js
files.
My experience has been to move as much code as possible into .js files
that do not require velocity processing as the .js files can be cached by
the browser. However, by the nature of using velocity to generate
javascript code, isn't it dynamic? I don't think there is an easy answer
to your
On Fri, 28 May 2004 14:09:59 +0200, Bernardo Arlandis Mañó [EMAIL PROTECTED]
said:
[SNIPPED]
You've pointed something important, if the js code has to be
regenerated there's no improvement other than having separate
files. The js code should be static, but then I'd need to pass