[xwiki-users] Macro works in Groovy code |?
Ngo Thi Hong Nga
zorro.lp.x at gmail.com
Sat Mar 1 14:15:08 CET 2008
I want to set content of a document with #warning("My message")
When code by Velocity:
$newdoc.setContent('#warning("My message")') --> the code works
but when code by Groovy
<%
...
newdoc.setContent("#warning(\"My message\")");
%>
--> Error number 4001 in 4: Error while parsing velocity page
MySpace.MyDocWrapped Exception: Lexical error:
How to solve this error ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xwiki.org/pipermail/users/attachments/20080301/fb3a1c48/attachment.htm
More information about the users
mailing list