XWiki Syntax Guide
XWiki Syntax 2.1 » Programming » Scripts
XWiki Syntax 2.1: Scripts
2.0 Scripts
| Feature | XWiki Syntax 2.1 |
|---|---|
| Velocity script |
{{velocity}}
#set ($var = "whatever")
{{/velocity}}
|
| Groovy script |
{{groovy}}
def var = "whatever"
{{/groovy}}
|
#panelheader($msg.get("xe.panels.quicklinks"))
- [DSSF 2008>DSSF2008.WebHome]
- [DCNM 2009>DCNM2009.WebHome]
- [HCCF 2010>HCCF2010.WebHome]
- [$msg.get("xe.panels.quicklinks.index")>Main.AllDocs]
- [$msg.get("xe.panels.quicklinks.sandbox")>Sandbox.WebHome]
#if ($xwiki.hasAdminRights())
<p><a href="$xwiki.getDocument("Panels.QuickLinks").getURL("inline")">$msg.get("xe.panels.edit")</a></p>
#end
#panelfooter()