What is the usage of the "dependents" aggregation?

sapui5

Solution

It's to connect otherwise 'orphan' UI elements so they can partake of the databinding available to e.g. a view. It's especially relevant when you instantiate a dialog, e.g. from a fragment, in a view's controller. The dialog won't automatically have the models that are set on the view available to it ... but if you make the dialog a dependent of the view, it will.

See "Using Dialogs Defined As Fragments" for more info.

Problem

What is the real world usage of the "dependents" aggregation in SAPUI5. This was added in version 1.9. What problem does it solve? I couldn't find much documentation in the SCN site on this.

Original source