Wiki source code of Programming

Version 1.2 by Vincent Massol on 2006/12/12

Show last authors
1 1 Programming
2
3 Bored of simple text in your pages? Are you interested in giving life to your wiki? Then you can make of XWiki's powerful programming API directly from your wiki pages. XWiki offers 2 scripting languages: [Velocity>http://velocity.apache.org] and [Groovy>http://groovy.codehaus.org].
4
5 XWiki exposes an API that allows you to manipulate the wiki and its documents easily.
6
7 To wet your appetite if you put the following code in your page:
8
9 {image:velocityexample.png}
10
11 And you'll get get a list of orphaned pages (i.e. pages that have no parent):
12
13 {image:velocityexampleresult.png}
14
15 Check the [Developer's Guide>DevGuide.WebHome] and especially the [XWiki Scripting section>DevGuide.Scripting] to learn more. You might also want to check out the [Code Zone>Code.WebHome] which contains code snippets that you can reuse in your pages.

Get Connected