General Actions:
| Display an entity (document, property, etc.) |
| Type | JAR |
| Developed by | |
| License | GNU Lesser General Public License 2.1 |
| Bundled With | XWiki Enterprise, XWiki Enterprise Manager |
| Compatibility | Introduced in XWiki 3.4M1 |
Table of contents
Display an entity in its own context. This mean that the entity content will be parsed and transformation executed on it as if it was rendered alone. For example a document will produce the exact same result as if you were displaying it directly.
To include an entity in the current context see include macro.
| Name | Optional | Allowed values | Default value | Description |
|---|---|---|---|---|
| reference | no | an entity reference | the name of the entity to display | |
| type | yes | document | document | the type of the entity, for now only document is supported |
| section | yes | string | the anchor to the section to display in the target document (note that headings generate anchors automatically in the form: "H" + heading title stripped of all non alpha characters). Only taken into account when the type is document. |
Example 1:
Example 2:
Example 3 (if you want to include a document from another wiki)