Issue Details (XML | Word | Printable)

Key: SCAFF-116
Type: New Feature New Feature
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Jeff Heinen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Confluence Extension: Scaffolding Plugin

formatting of repeating data.

Created: 18/Apr/07 11:47 PM   Updated: 31/May/07 07:27 AM
Component/s: {repeating-data}
Affects Version/s: None
Fix Version/s: Turquoise

Time Tracking:
Not Specified


 Description  « Hide
I have a repeating-data section. In general they are differing sizes, but I would like insert formatting macros around each data block. For example: make each block an element in a 3 column table.

I think it would be nice to have either a format parameter for repeating data or a way to have headers and footers for each row similar to the reporting plugin. We may also need a parameter to state how many blocks are in each row.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
David Peterson added a comment - 31/May/07 07:27 AM
I agree - I would have found it handy myself on occasion. The main problem is that the current macros simply use the whole body text as the repeating content. As such, adding a {repeating-data-header} or similar will require some modifications. Probably the best way will be to either allow the current system (for simple options and backwards-compatibility) or use a multi-macro system like so:
{repeating-data}
{data-header}This is the header{data-header}
{data-body}This is the repeating {text-data:Body}{data-body}
{data-footer}This is the footer.{data-header}
{data-empty}This is empty.{data-header}
{repeating-data}

If any '{data-xxx}' sections exist, it will use/require the others also.

Anyway, I'll see what we can do in a future release.