Metadata
- Source
- FLUID-5205
- Type
- Improvement
- Priority
- Blocker
- Status
- Closed
- Resolution
- Fixed
- Assignee
- N/A
- Reporter
- Justin Obara
- Created
2013-11-04T15:30:49.133-0500 - Updated
2013-11-27T15:45:45.714-0500 - Versions
- N/A
- Fixed Versions
-
- 1.5
- Component
-
- Prefs Framework
Description
Allow for composite panels to have sub panels that are created and rendered and subsequently destroyed based on a specific model path.
Rather than being created by the default cerateOnInit event "initSubPanels" they will be created by another event that listens to the model change on a specific model path. A model change here will trigger afterRender and another event that determines if the sub panel should be created or destroyed. This will have to happen before the composite panels rendering phase triggers as the produce tree method will now have to ignore rendering the markup for components that don't exists.
In addition to this, the auxschema will need to be updated to provide a mechanism for declaring this new binding easily. Perhaps expanding on the panels array in the group block to take objects with a renderOnModelPath option. Or perhaps this can be declared in the panel block of a preference with it being ignored when not in a composite panel.
More details can be seen from a conversation with Bosmon in the IRC channel from today.
http://wiki.fluidproject.org/display/fluid/fluid-work+IRC+Logs-2013-11-04
Comments
-
Justin Obara commented
2013-11-27T15:45:45.685-0500 Merged with pull request ( https://github.com/fluid-project/infusion/pull/439 ) at 73889463d799973a3a858c921d7bd2f9361c5906