Hi,
I have a template (Test_Template). Its only content is the following line:
{myListMacro}
My user macro (myListMacro) contains the following code:
{list-data:myListMacro}
{list-option:value=myvalue}My Value{list-option}
{list-data}
When creating a new page using this template with this macro I get a list with one option in Confluence 3.x. In Confluence 4.x the content (unrendered) of the myListMacro appears on the new page. What do I have to do to get the same list again?
I wrote the list-data macro on a plain page and used the source editor to copy the Code. Well Atlassian, sorry to say that, but if this should be the only way/workaround to do that, you should definetely improve your concept of templates/macros!
<ac:macro ac:name="list-data">
<ac:parameter ac:name="name">myListMacro</ac:parameter>
<ac:parameter ac:name="atlassian-macro-output-type">BLOCK</ac:parameter>
<ac:parameter ac:name="required">true</ac:parameter>
<ac:rich-text-body>
<ac:macro ac:name="list-option">
<ac:parameter ac:name="value">myvalue</ac:parameter>
<ac:rich-text-body>
<p>My Value</p>
</ac:rich-text-body>
</ac:macro>
</ac:rich-text-body>
</ac:macro>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.