velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Pfeifer" <Daniel.Pfei...@tradedoubler.com>
Subject Calling methods in a velocity template
Date Wed, 31 May 2006 08:05:43 GMT
I've got following piece of code:

 

$myUtils.encode($variableone,$variabletwo)

 

($myUtils is a class called MyUtils which I added to the Context by
context.put("myUtils", new MyUtils()).

 

Encode is supposed to return a string and takes two strings, however,
nothing happens except that "$myUtils.encode($variableone,$variabletwo)"
is printed to the screen.

 

Why oh why?

 

Thanks in advance,

Daniel


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message