25 Feb
2008
25 Feb
'08
11:25 a.m.
[Ricardo Rodriguez] Your EPEC Network ICT Team wrote:
Sergiu Dumitriu wrote:
Simple. $xwiki.getDocument returns null if you can't access that document. #set($var = null) will leave $var to its previous value (velocity feature, can be configured to allow setting null, but it is not allowed by default).
Thanks Sergiu. It is easy to understand now.
By the way, do you use some Velocity debugger, if any is available...
Nope, just my years of experience with Velocity. -- Sergiu Dumitriu http://purl.org/net/sergiu/