Here is the XWiki api doc.
http://platform.xwiki.org/xwiki/bin/download/DevGuide/API/xwiki%2Dcore%2D2.…
Here is the entire javadoc for the public api.
http://platform.xwiki.org/xwiki/bin/download/DevGuide/API/xwiki-core-2.0.5-…
Document maps to $doc
Context maps to $xcontext (or $context if using xwiki syntax 1.0)
Good luck, remember that velocity converts everything to Strings so something like
#set($x = 1)
$xwiki.methodRequiringInteger($x)
will fail because velocity turns 1 the number into "1" the 1 character string
I think $mathtool has a way to convert it back.
Caleb James DeLisle
tomcatlee wrote:
Hi, can anybody help me ?
How do i know what's methods in $xwiki? Is there any api doc?