Examples
Log-in
|
Register
|
Examples
:
Examples
Top Menu
Documentation
Show
:
Comments
Attachments
History
Print
:
Print
Print preview
Export as PDF
Export as RTF
core.menu.export.html
core.menu.export.xar
Wiki code for
Examples
Hide Line numbers
1: 2: 1.1 Add a new example 3: 4:
5:
6:
7:
8:
9: Space:
10: Document:
11:
12:
13: ## TODO: remove this onclick 14:
15:
16:
17: 18: 1.1 Examples 19: 20: #set ($sql = ", BaseObject as obj where obj.name=doc.fullName and obj.className='${doc.web}.ExampleClass' and obj.name<>'${doc.web}.ExampleClassTemplate'") 21: #foreach ($item in $xwiki.searchDocuments($sql)) 22: 23: #set($bentrydoc = $xwiki.getDocument($item)) 24: #if($bentrydoc.fullName == $item) 25: #set($bentryobj = $bentrydoc.getObject("Examples.ExampleClass")) 26: #set($creationDate = $xwiki.formatDate($bentrydoc.creationDate, "MMMM dd, yyyy")) 27: * [${bentryobj.title}>${item}] 28: 29: #end 30: #end
Search
Quick Links
Home
What's New
Discussion
Examples
Tags
Index
XWiki Tutorials
Sandbox