FLUID-5238: Document 'dynamic components'

Metadata

Source
FLUID-5238
Type
Bug
Priority
Blocker
Status
Closed
Resolution
Fixed
Assignee
Justin Obara
Reporter
Anastasia Cheetham
Created
2013-12-04T10:32:50.215-0500
Updated
2014-03-03T11:26:00.751-0500
Versions
N/A
Fixed Versions
  1. 1.5
Component
  1. Tech. Documentation

Description

We need to add documentation for the new "dynamicComponents" option. A placeholder has been added to
http://wiki.fluidproject.org/display/docs/Component+Configuration+Options
but the details are not yet there, and we should probably discuss them in a bit more detail elsewhere, perhaps here?
http://wiki.fluidproject.org/display/docs/Subcomponent+Declaration

My notes on dynamic components so far:

can do different things:
a) create multiple copies of a component given a "sources" array (or object)
b) create a component on an event, but only on the first event (normally, createOnEvent will create on every firing)

Tests exist for a) above, but not for b). Yura says Kettle uses them, so there may be some examples there.

Comments