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.0.5%2Djavadoc.jar/com/xpn/xwiki/api/XWiki.html
> 
> Here is the entire javadoc for the public api.
> http://platform.xwiki.org/xwiki/bin/download/DevGuide/API/xwiki-core-2.0.5-javadoc.jar/index.html
> 
> 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
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/How-do-i-know-what-s-methods-in-xwiki-tp4227025p4227127.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to