The space key is accessible by the key spaceKey from the blueprint context. Since it is sometimes convenient to render a complete XML tag, this XML fragment is also generated and stored by the key spaceKeyElement : Code Block |
---|
| <ri:space ri:space-key="spaceKey" /> |
Here is an example on how to use the XML element with the Create from Template Macro: Code Block |
---|
| <structured-macro name="create-from-template">
<parameter name="blueprintModuleCompleteKey">someKey</parameter>
<parameter name="buttonLabel"><at:i18n at:key="projectdoc.doctype.blank.create.label"/><>Some Label</parameter>
<parameter name="spaceKey"><at:var at:name="spaceKeyElement" at:rawxhtml="true"/></parameter>
</structured-macro> |
This example shows how the spaceKeyElement property is used to render the complete element. |