Details
-
New Feature
-
Resolution: Unresolved
-
Major
-
None
-
1.4.4
-
None
-
Unknown
-
Description
For example: listGlossaryReferences.
It would do something like:
{{groovy}} import org.xwiki.rendering.block.match.* import org.xwiki.rendering.block.* import org.xwiki.rendering.block.Block.* def xdom = doc.getXDOM() xdom.getBlocks(new MacroBlockMatcher("glossaryReference"), Axes.DESCENDANT).each { println "* ${it.parameters.entryId}" } print '' {{/groovy}}
See also https://forum.xwiki.org/t/glossary-application-does-not-render-anymore/8105/23