|
We have to support optional areas. If an area is optional it has first to be created (via a create button).
If an area is optional:
- if not yet created
- the area bar has a create button
- the script is executed
- in the edit mode but the content object is null (otherwise we can't place the bar)
- not executed otherwise (no place holder divs)
- if create
- the bar has a remove button (other areas cannot be removed nor created)
If an area is required
- the area node gets created (always)
- the script is always executed
- no remove or create button (just edit)
All kind of areas can be optional (noComponents, single, list)
|