Wiki source code of Scripts in XWiki
Last modified by Eleni Cojocariu on 2026/08/26 17:33
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
![]() |
1.1 | 1 | {{warning}} |
| 2 | WIP | ||
| 3 | {{/warning}} | ||
| 4 | |||
![]() |
1.3 | 5 | Scripting lets you build web applications at the XWiki page level, without compiling code or deploying software components. You write scripting syntax alongside wiki markup inside the content of a page (see the [[script syntax for the XWiki 2.1 syntax>>Documentation.UserGuide.Features.XWikiSyntax.WebHome]]). |
![]() |
1.1 | 6 | |
![]() |
1.3 | 7 | XWiki integrates [[JSR-223>>http://jcp.org/en/jsr/detail?id=223]] scripting, giving pages access to XWiki's programming API. This means a page can query, read, and manipulate the wiki and its documents directly, rather than relying on a separately deployed component. |
![]() |
1.1 | 8 | |
![]() |
1.3 | 9 | Scripts run through dedicated macros, one per supported language. XWiki provides a generic [[Script Macro>>extensions:Extension.Script Macro]] plus one dedicated macro per scripting language. |
| 10 | |||
![]() |
1.2 | 11 | * [[Velocity Macro>>extensions:Extension.Velocity Macro]] (installed by default in XWiki) |
| 12 | * [[Groovy Macro>>extensions:Extension.Groovy Macro]] (installed by default in XWiki) | ||
| 13 | * [[Python Macro>>extensions:Extension.Python Macro]] (installed by default in XWiki) | ||
| 14 | * [[Ruby Macro>>extensions:Extension.Ruby Macro]] (not installed by default in XWiki) | ||
![]() |
1.3 | 15 | * [[PHP Macro>>extensions:Extension.PHP Macro]] (not installed by default in XWiki) |
![]() |
1.1 | 16 | |
![]() |
1.3 | 17 | Macros not installed by default require installing the corresponding extension before use. |
