Show TOC

Component ContainersLocate this document in the navigation structure

The ComponentContainer is a SAPUI5 control that contains a component and can be used at any place within the SAPUI5 control tree.

The ComponentContainer separates the application and the embedded component. Technically, it uses a UIArea to avoid a nested control tree and to separate the eventing of the component's user interface and the outer application. This separation ensures that the component is mostly self-contained and to avoid side effects from the outer application as well as the direct access via the control tree.

In addition to this, a property on the ComponentContainer can be used to forward the model from the outer application into the embedded component.