Last modified by Vincent Massol on 2023/10/10

From version 3.7
edited by Alex Cotiugă
on 2018/10/18
Change comment: There is no comment for this version
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
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.acotiuga
1 +XWiki.OanaTabaranu
Content
... ... @@ -138,6 +138,9 @@
138 138  });
139 139  {{/code}}
140 140  )))
141 +* Examples from the FAQ:
142 +** [[FAQ.How to integrate React and XWiki]]
143 +** [[FAQ.How to integrate d3js and XWiki]]
141 141  
142 142  = Why should we use RequireJS? =
143 143  
... ... @@ -394,3 +394,20 @@
394 394   </configuration>
395 395  </plugin>
396 396  {{/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