<
Depuis la version < 3.1 >
modifié par Paul Libbrecht
sur 2017/09/06 20:35
À la version < 5.1
modifié par Paul Libbrecht
sur 2017/09/06 20:52
Commentaire de modification : Il n'y a aucun commentaire pour cette version

Résumé

Détails

Icon Propriétés de la Page
Contenu
... ... @@ -1,7 +1,10 @@
1 1  {{velocity}}
2 -* $xwiki.getDocument("xwiki:Main.WebHome").getAttachmentList().remove(3)
3 -* $xwiki.getDocument("xwiki:Main.WebHome").getAttachmentList().get(5).filename
4 4  
3 +#set($homepage=$xwiki.getDocument("xwiki:Main.WebHome").document)
4 +homepage is $homepage
5 +* $homepage.getAttachment(3)
6 +* $homepage.getAttachment(5).filename
7 +
5 5  #foreach($d in $xwiki.getDocument("xwiki:Main.WebHome").getAttachmentList())
6 6  * $d.filename: $d
7 7  #end
This wiki is licensed under a Creative Commons 2.0 license
XWiki 13.10 - Documentation - Conditions