Just one of those things where I needed to step away for a while. Once I
came back, I solved it in 2 minutes.
#if ($doc.getValue('processName').trim().length() == 0)
$doc.set('processName', $doc.name)
#end
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Set-Field-Value-in-Velocity-tp7589829p758…
Sent from the XWiki- Dev mailing list archive at
Nabble.com.