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 <[email protected]> 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 would like to avoid this, and still keep the logic? :working: -- View this message in context: http://n2.nabble.com/printing-something-or-using-it-in-a-logic-flow-tp410881... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Cu stima, Flavius Olaru