Issue Details (XML | Word | Printable)

Key: RNR-9
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Alain Moran
Reporter: Nick Waanders
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Confluence Extension: Replace and render

Allow replace-item to use macro parameters

Created: 19/May/08 06:43 AM   Updated: 10/Apr/10 01:46 AM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified


 Description  « Hide
for example: {replace-and-render}
{replace-body}{%macroname%}{replace-body}
{replace-item:%macroname%}$param0{replace-item}{replace-and-render}

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Alain Moran added a comment - 22/Oct/08 01:15 PM
I'm not sure I understand what you mean ... where is $param0 coming from, and what result are you seeing?

Jim added a comment - 10/Apr/10 01:46 AM
I believe the original description may be related to something I'm trying to get to work.

In my case, the request would be to support literal text that was between the replace-item tags. Currently, if I do the following...

{replace-item:%BULLET_APP1%}(x){replace-item}
{replace-item:%BULLET_APP2%}(/){replace-item}

...the bullet variables render the html string that would display the error or check icon.

<img class="emoticon" src="/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"/>
<img class="emoticon" src="/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"/>