On Tue, Jul 1, 2008 at 11:10 AM, Boris Milikič <[EMAIL PROTECTED]> wrote:
> Can I use velocity variable -  ${entry.commentCount} in java script function?

Yes, in a way. You can use a Roller template to generate JavaScript code.

JavaScript does not know about Velocty expressions, of course. If you
use that in a Roller template, it will be evaluated on the server-side
and turned into a number in the generated HTML/JavaScript.

- Dave

Reply via email to