What is the use of aggregation of “dependents”?

What is the real use of aggregation of "dependent" in the real world in SAPUI5.

This was added in version 1.9. What problem does he solve? I could not find much documentation on the SCN website.

+5
source share
1 answer

He must connect otherwise elements of "orphanhood" so that they can participate in the binding of data available, for example. view. This is especially important when you create a dialog box, for example. from the fragment, in the view controller. In the dialog box, the models that are installed on the view available to it will not be automatically installed ... but if you make the dialog dependent on the view, it will be.

See " Using dialogs defined as fragments " for more information.

+15
source

Source: https://habr.com/ru/post/974733/


All Articles