Show TOC

ViewsLocate this document in the navigation structure

Introduces the predefined view types for the Model View Controller concept that are available in SAPUI5

Although XML and JSON notation has been introduced for SAPUI5 UI controls, the Model View Controller concept is also supported to facilitate traditional programmatic UI constructions.

SAPUI5 provides the following predefined view types

  • XML view. The user interface is defined in an XML file or string.

    Note The XMLView type supports a mix of XML and plain HTML.
  • JSON view. The user interface is defined in a file or string in JSON format.

  • JS view. The user interface is constructed in a traditional manner.

  • HTML view. The user interface is defined in an HTML file or string.

The above mentioned view types are predefined and offered for selection as view options in the application creation wizard. If you use SAPUI5 application development tools, you can also plug in other view types. For defining other or custom view types, you extend the base class sap.ui.core.mvc.View.

API Reference