Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Current Container Reflection UI

Proposed Changes

Mockup

Code Implementation

Code Block

<con:container label="#stobj.objectID#_Body" defaultMirrorLabel="Body">	

When a page is run for the first time the following container events occur:

  1. check for container of name "label" in database
  2. if none found, create a container with name "label"; note this typically is prefixed by objectid to make unique to the page
  3. check for container of name "defaultMirrorLabel" in database
  4. if none found, create a container with name "defaultMirrorLabel"; note this typically is descriptive as its used as the display label
  5. assign mirrorid for the newly created "label" container to point to the "reflected" container called "defaultMirrorLabel"

That is, newly created containers are always assigned a reflected container if this is nominated in the code.