Wiki-Quellcode von KanbanService
Zuletzt geändert von Daniel Herrmann am 2026/03/08 12:48
Zeige letzte Bearbeiter
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{velocity}} | ||
| 2 | #set($groovy = $xwiki.parseGroovyFromPage("Macros.KanbanGroovy")) | ||
| 3 | #set($ok = $groovy.setXWiki($xcontext ,$xwiki)) | ||
| 4 | #if($groovy=="groovy_missingrights") | ||
| 5 | FAILED Missing programming rights on Macros.KanbanGroovy | ||
| 6 | #else | ||
| 7 | #set($result = $groovy.updateDocument($xwiki.getDocument($request.page), "kanban", $util.parseInt($request.nb), $request.content)) | ||
| 8 | #if($result && $result!=0) | ||
| 9 | SUCCESS ${result} | ||
| 10 | #else | ||
| 11 | FAILED ${result} $!{xcontext.exception} | ||
| 12 | #end | ||
| 13 | #end | ||
| 14 | {{/velocity}} |