Wiki source code of Applications

Version 5.1 by Vincent Massol on 2007/12/08

Hide last authors
Vincent Massol 1.1 1 1 Applications
2
Vincent Massol 3.1 3 As you've learnt from the [Programming feature>Features.Programming] it's possible to put code inside XWiki pages. You can combine several pages together to form an application. In other words an application is simply a self-contained set of XWiki pages. You can export these pages into a single archive file named a XAR (it stands for XWiki Archive) which can then be imported again into other wikis. This is a very nice way to create reusable applications.
Vincent Massol 1.1 4
Vincent Massol 5.1 5 Applications offer a powerful way to create advanced content within wiki pages.
Guillaume Lerouge 1.2 6
Guillaume Lerouge 1.7 7 ~~Screenshot of the Calendar Application~~
Guillaume Lerouge 1.8 8
Guillaume Lerouge 1.7 9 {image:Calendar.png}
10
Guillaume Lerouge 1.4 11 1.1.1 List of Applications available for download on XWiki.org
12
Vincent Massol 5.1 13 This is a list of packaged applications you can import in your wiki, coming straight from the [Code Zone>code:Applications.WebHome]. To learn more about the Import/Export process please check the [Admin Guide's Import/Export page>AdminGuide.ImportExport].
Guillaume Lerouge 1.4 14
Vincent Massol 5.1 15 #set ($dummy = $context.setDatabase("code"))
Guillaume Lerouge 1.4 16 #set ($sql = ", BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.ApplicationClass' and obj.name<>'XWiki.ApplicationClassTemplate'")
17 #set ($applications = $xwiki.searchDocuments($sql))
18 #foreach ($item in $applications)
Vincent Massol 5.1 19 * [code:$item]
Guillaume Lerouge 1.4 20 #end
Vincent Massol 5.1 21 #set ($dummy = $context.setDatabase("platform"))
22

Get Connected