Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -175,7 +175,7 @@ 175 175 176 176 In this second sample, the macro will fail with an AccessDeniedException if the right is not allowed. 177 177 178 -== EasierXDOMmanipulationfromVelocity ==178 +== Access to BlockMatchers from velocity scripts == 179 179 180 180 To be able to use the ##Block.getBlocks(BlockMatcher, Block.Axes)## method on the rendering blocks in the documents XDOM from velocity, a converter has been introduced that maps string expressions to BlockMatcher objects. The current implementation only supports mapping to ClassBlockMatchers, and allows to get all blocks of a given type from the XDOM. 181 181