Modifications pour le document Diagrammes
Modifié par Admin Xwiki le 2026/08/17 12:35
Depuis la version 2.1
modifié par Admin Xwiki
sur 2026/08/17 12:35
sur 2026/08/17 12:35
Commentaire de modification :
Install extension [org.xwiki.contrib:application-diagram/1.3]
À la version 1.1
modifié par Admin Xwiki
sur 2026/08/12 14:33
sur 2026/08/12 14:33
Commentaire de modification :
Install extension [com.xwiki.diagram:application-diagram/2.0]
Résumé
-
Propriétés de la Page (3 modifications, 0 ajouts, 0 suppressions)
-
Objets (0 modifications, 1 ajouts, 0 suppressions)
Détails
- Propriétés de la Page
-
- Syntaxe
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki 2. 01 +XWiki 2.1 - Masqué
-
... ... @@ -1,1 +1,1 @@ 1 - true1 +false - Contenu
-
... ... @@ -1,18 +1,29 @@ 1 +{{velocity output="false"}} 2 +#macro (diagramLiveTable) 3 + #set ($columnsProperties = { 4 + 'doc.location': {"type":"text","size":20,"html":true}, 5 + 'doc.date': {"type":"text","size":10}, 6 + 'doc.author': {"type":"text","size":10,"link":"author"}, 7 + '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]} 8 + }) 9 + #set ($options = { 10 + 'className': 'Diagram.DiagramClass', 11 + 'resultPage': 'Diagram.DiagramLiveTableResults', 12 + 'translationPrefix': 'diagram.livetable.', 13 + 'tagCloud': true, 14 + 'rowCount': 15, 15 + 'maxPages': 10 16 + }) 17 + #set ($columns = ['doc.location', 'doc.date', 'doc.author', '_actions']) 18 + #livetable('diagram' $columns $columnsProperties $options) 19 +#end 20 +{{/velocity}} 21 + 1 1 {{velocity}} 2 -#set ($columnsProperties = { 3 - 'doc.location': {"type":"text","size":20,"html":true}, 4 - 'doc.date': {"type":"text","size":10}, 5 - 'doc.author': {"type":"text","size":10,"link":"author"}, 6 - '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]} 7 -}) 8 -#set ($options = { 9 - 'className': 'Diagram.DiagramClass', 10 - 'resultPage': 'Diagram.DiagramLiveTableResults', 11 - 'translationPrefix': 'diagram.livetable.', 12 - 'tagCloud': true, 13 - 'rowCount': 15, 14 - 'maxPages': 10 15 -}) 16 -#set ($columns = ['doc.location', 'doc.date', 'doc.author', '_actions']) 17 -#livetable('diagram' $columns $columnsProperties $options) 23 +#if ($services.licensing.licensor.hasLicensureForEntity( 24 + $services.model.createDocumentReference('', 'Diagram', 'DiagramClass'))) 25 + #diagramLiveTable() 26 +#else 27 + {{missingLicenseMessage extensionName="diagram.extension.name"/}} 28 +#end 18 18 {{/velocity}}
- XWiki.DefaultPageTemplateClass[0]
-
- defaultPageTemplate
-
... ... @@ -1,0 +1,1 @@ 1 +Diagram.DiagramTemplateProvider