Guide de syntaxe XWiki
- Gérer
- Actions
- Affichage
Sélectionnez le format d'export dans la liste ci-dessous :
Options for exportFormat You can navigate through the options using arrow keys, the home and end keys. Select the currently highlighted option by pressing enter or space. Right and left arrows will move focus to the next possible option in the list. The Home key will bring focus to the start of the list and the END key to its end. Up and down arrows allow you to navigate quickly to the start of option categories.
-
Export as HyperText Markup Language (HTML)
-
Export as Open Document Text (ODT) format using the Office Server
-
Export as Portable Document Format (PDF) using the Web Browser
-
Export as Rich Text Format (RTF) using the Office Server
Syntaxe XWiki 2.1 » Programmer » Scripts
Syntaxe XWiki 2.1: Scripts
2.0 Scripts
En syntaxe XWiki 1.0, il était possible d'inclure des scripts Velocity directement dans la page. Cela a créé quelques problèmes, par exemple, les cas où l'utilisateur avait inclus involontairement du contenu Velocity. Cela affectait aussi la performance des pages qui ne nécessitaient pas de contenu Velocity. Il y avait eu d'autres limitations techniques. Ainsi, en syntaxe XWiki 2.1, les scripts Velocity doivent être inclus en utilisant la macro velocity. En va de même pour l'inclusion des scripts Groovy.
Feature | Syntaxe XWiki 2.1 |
---|---|
Script Velocity | {{velocity}} #set ($var = "quelquechose") {{/velocity}} |
Script Groovy | {{groovy}} def var = "quelquechose" {{/groovy}} |