FLOE-451: Implement "report for duty" for dataEntry dynamicComponents

Metadata

Source
FLOE-451
Type
Improvement
Priority
Major
Status
Open
Resolution
N/A
Assignee
N/A
Reporter
Alan Harnum
Created
2016-02-10T16:22:25.172-0500
Updated
2016-02-10T16:23:39.259-0500
Versions
N/A
Fixed Versions
N/A
Component
  1. Chart Authoring Tool

Description

Per discussion at https://github.com/fluid-project/chartAuthoring/pull/11#discussion_r52120230, quoting @@Antranig Basman:

— Whilst we can't explicitly iterate over dynamicComponents, we can have them "report for duty on creation" by broadcasting onCreate listeners to them via distributeOptions, which will allow us to build up the data structure above.

The overall goal is to avoid some or all of the mixed Infusion / "raw" jQuery necessary in floe.chartAuthoring.updateDataEntryPanelFromDataSet to iterate through dynamicComponent DOM elements, as is necessary with the dataEntry elements.