Ticket #181 (assigned enhancement)
Add <contentvariable> to circuit xml
| Reported by: | starkraving2002 | Owned by: | scorfield |
|---|---|---|---|
| Type: | enhancement | Priority: | normal |
| Milestone: | Fusebox 5.6 | Component: | Miscellaneous |
| Version: | Severity: | normal | |
| Keywords: | Cc: |
Description
Currently to make a contentvariable that is composited through multiple <include/>s or <do/>s, you use the "contentvariable" attribute and 'append="true"'. While this is functional it does require a lot of code repetition and everything has to be coded perfectly or the variable is created properly.
Proposal: Add a <contentvariable> block tag that can surround anything else in the fuseaction and would create a buffer output consisting of any child element that generated content.
<contentvariable name="strVarname" [append="true|false*" prepend="true|false*" overwrite="true*|false">...</contentvariable>
