Show TOC

requireLocate this document in the navigation structure

The template:require attribute can be used at the root element of an XML template view or fragment to specify a space separated list of module names for jQuery.sap.require. You do not need to call jQuery.sap.require("sap.ui.model.odata.AnnotationHelper") before use as it is automatically available.

Example:

"require" Template
<mvc:View
  controllerName="sap.ui.core.sample.ViewTemplate.scenario.Detail"
  template:require="sap.ui.core.sample.ViewTemplate.scenario.Helper"
  xmlns:mvc="sap.ui.core.mvc"
  xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1">