If you want not to print the results of the a method you can use #set($ok =
$var.method()). This way the results goes into the variable $ok that you can
also use it to test if the method was successful.
Best regards,
Flavius
On Thu, Dec 3, 2009 at 10:59 PM, Bubulina nohin...@yahoo.com wrote:
evening,
out of curiosity, is it possible to make something, to write a line of code
without the #set( but to not show the result on the page?
for instance:
- if i #set($list = $util.arrayList)
and then
$list.add($x) -just add x to the list, but in the same time shows true
printed on the page. i