General Actions:
Log-in
Wiki:
L3D's Wiki
▼
:
Document Index
»
Space:
XWiki
▼
:
Document Index
»
Page:
WikiMacros
Search
Page Actions:
Export
▼
:
Export as PDF
Export as RTF
Export as HTML
More actions
▼
:
Print preview
View Source
Welcome to your wiki
»
XWiki Space
»
WikiMacros
Wiki source code of
WikiMacros
Last modified by
Administrator
on 2011/03/02 17:34
Content
·
Comments
(0)
·
Attachments
(0)
·
History
·
Information
Hide line numbers
1: {{velocity filter="none"}} 2: {{html clean="false" wiki="true"}} 3: = Existing wiki macro definitions = 4: #set($mxwiki=$xwiki.getXWiki()) 5: #set($mcontext=$context.getContext()) 6: #set($sql="select doc.fullName from XWikiDocument doc, BaseObject obj where doc.fullName=obj.name and obj.className='XWiki.WikiMacroClass'") 7: #set($mdocs=$mxwiki.getStore().search($sql, 0, 0, $mcontext)) 8: #info("[$listtool.size($mdocs)] wiki macro definition(s) found:") 9: <br/> 10: #foreach($mdoc in $mdocs) 11: [[$mdoc>>$mdoc]]<br/> 12: #end 13: {{/html}} 14: {{/velocity}}
Quick Links
L3D Calendar
Wiki Dashboard
Document Index
Blog
Sandbox