HI, Do you want do create a java plugin or is Velocity scripts are enough ? If it's plugins you should look at http://platform.xwiki.org/xwiki/bin/view/DevGuide/CreatingPlugins If it's Velocity, the major entry points are the already initialized "environment" variables $xwiki and $context which are respectively com.xpn.xwiki.api.XWiki and com.xpn.xwiki.api.Context. From there you can look at http://platform.xwiki.org/xwiki/bin/view/DevGuide/API for the right version for you. On Wed, Sep 10, 2008 at 10:17 AM, Dustin Bensing <[email protected]> wrote:
Hi, I'm new to XWiki and trying to dig into the API usage. My goal is to write a little access client (for educational purpose) like create new users adding/edit pages and so on.
The API documentation is al bit confusing to me. I didn't know where to start an get my initial "XWiki" object to interact/access the wiki and it's api funktions.
there ist an xwiki object "com.xpn.xwiki.api.XWiki" but the constructor seems to get also an xwiki object wich i don't even have
XWiki (com.xpn.xwiki.XWiki xwiki, com.xpn.xwiki.XWikiContext context)
where do i get these object or where is the actual or right startig point? sry if this is asket before. but i didn't find the answer on the xwiki doku pages (there're more dealing with the velocety stuff) neither an the mailing list (as you can imagine im getting a huge amount of unrelated post when i try to search xwiki :( )
hope some one can give me a little hint on this
best regards _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne