Guía de Sintaxis XWiki
Choose the export format from the list below:
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 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
-
Export as HyperText Markup Language (HTML)
Sintaxis XWiki 2.1 » Programación » Scripts
Sintaxis XWiki 2.1: Scripts
2.0 Scripts
En la Sintaxis XWiki 1.0 era posible añadir scripts Velocity directamente en cualquier lugar de la página, lo que podía provocar problemas, por ejemplo, cuando el usuario introducía contenido Velocity de forma involuntaria. También desperdiciaba mucho rendimiento en páginas que no necesitan contenido Velocity. Hay también otras limitaciones técnicas. Así que en la Sintaxis XWiki 2.1 los scripts Velocity se deben añadir con la macro velocity. Lo mismo aplica al añadir scripts Groovy.
Funcionalidad | Sintaxis XWiki 2.1 |
---|---|
Script Velocity | {{velocity}} #set ($var = "lo que sea") {{/velocity}} |
Script Groovy | {{groovy}} def var = "lo que sea" {{/groovy}} |