Last modified by Vincent Massol on 2023/10/10

<
From version < 3.8 >
edited by Oana Florea
on 2019/08/16
To version < 4.1 >
edited by Oana Florea
on 2019/09/13
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -397,3 +397,20 @@
397 397   </configuration>
398 398  </plugin>
399 399  {{/code}}
400 +
401 +=Examples=
402 +
403 +{{velocity}}
404 +#set($tag = 'javascript')
405 +#set ($list = $xwiki.tag.getDocumentsWithTag($tag))
406 + (((
407 + (% class="xapp" %)
408 + === $services.localization.render('xe.tag.alldocs', ["//${tag}//"]) ===
409 +
410 + #if ($list.size()> 0)
411 + {{html}}#displayDocumentList($list false $blacklistedSpaces){{/html}}
412 + #else
413 + (% class='noitems' %)$services.localization.render('xe.tag.notags')
414 + #end
415 + )))
416 +{{/velocity}}

Get Connected