Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.0 M4
-
None
-
Unknown
-
Description
Example:
{{groovy}}
println "${doc.fullName}"
def pageDoc = xwiki.getDocument("page")
pageDoc.getRenderedContent(pageDoc.getTranslatedContent(), pageDoc.getSyntaxId(), "xhtml/1.0")
println "${doc.fullName}"
{{/groovy}}
The second println will print the name of the "page" document instead of the current document