src/sap.ui.core/src/sap/ui/core/XMLTemplateProcessor.js
function (oViewClass) {
						var mViewParameters = {
							id: id ? getId(oView, node, id) : undefined,
							xmlNode: node,
							containingView: oView._oContainingView,
							processingMode: oView._sProcessingMode // add processing mode, so it can be propagated to subviews inside the HTML block
						};
						// running with owner component
						if (oView.fnScopedRunWithOwner) {
							return oView.fnScopedRunWithOwner(function () {
								return new oViewClass(mViewParameters);
							});
						}
						// no owner component
						// (or fully sync path, which handles the owner propagation on a higher level)
						return new oViewClass(mViewParameters);
					}
function (oViewClass) {
						var mViewParameters = {
							id: id ? getId(oView, node, id) : undefined,
							xmlNode: node,
							containingView: oView._oContainingView,
							processingMode: oView._sProcessingMode // add processing mode, so it can be propagated to subviews inside the HTML block
						};
						// running with owner component
						if (oView.fnScopedRunWithOwner) {
							return oView.fnScopedRunWithOwner(function () {
								return new oViewClass(mViewParameters);
							});
						}
						// no owner component
						// (or fully sync path, which handles the owner propagation on a higher level)
						return new oViewClass(mViewParameters);
					}
function ( oViewClass ) { var mViewParameters = { id : id ? getId ( oView , node , id ) : undefined , xmlNode : node , containingView : oView . _oContainingView , processingMode : oView . _sProcessingMode // add processing mode, so it can be propagated to subviews inside the HTML block } ; // running with owner component if ( oView . fnScopedRunWithOwner ) { return oView . fnScopedRunWithOwner ( function ( ) { return new oViewClass ( mViewParameters ) ; } ) ; } // no owner component // (or fully sync path, which handles the owner propagation on a higher level) return new oViewClass ( mViewParameters ) ; }
plain HTML node - create a new View control creates a view instance, but makes sure the new view receives the correct owner component
plain HTML node - create a new View control creates a view instance but makes sure the new view receives the correct owner component