Thanks.
got it $xwiki is an instance com.xpn.xwiki.api.XWiki class,I throught it is
an instance of com.xpn.xwiki.XWiki
Caleb James DeLisle wrote:
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?
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users