netomi/event-timeline — Issue #7: Add / remove band
Author: florianpirchner
Created: 2011-12-13 17:08:22+00:00
State: open

Hi,

today i continued exploring the addon and recognized that there is not possibility to remove bands, and to add new once after the first rendering of the widget.

So i am going to change that behaviour and contribute the changes to you.

I thought about sending "bandOperations" to the client which renders the operation.
Something like this:
target.startTag("bOperation");
target.addAttribute("bandid", bandId);
target.addAttribute("operation", "remove");
target.addAttribute("bcaption", caption);
target.endTag("bOperation");

The client will build new bands based on that information.

Would this be fine?

Best,
Florian Pirchner