function (sParentId, oBindingContext) {
			var oControlInfo = oBindingContext.getProperty(""), oControl, oControlClass, oControlMetadata;

			try {
				//retrieve the block class
				oControlClass = sap.ui.requireSync(oControlInfo.Type.replace(/\./g, "/"));
				oControlMetadata = oControlClass.getMetadata();

				//pre-processing: substitute event handler as strings by their function instance
				jQueryDOM.each(oControlMetadata._mAllEvents, jQueryDOM.proxy(function (sEventName, oEventProperties) {
					if (typeof oControlInfo[sEventName] == "string") {
						oControlInfo[sEventName] = this.convertEventHandler(oControlInfo[sEventName]);
					}
				}, this));

				//creates the control with control info = create with provided properties
				oControl = ManagedObject.create(oControlInfo);

				//post-processing: bind properties on the objectPageLayoutMetadata model
				jQueryDOM.each(oControlMetadata._mAllProperties, jQueryDOM.proxy(function (sPropertyName, oProperty) {
					if (oControlInfo[sPropertyName]) {
						oControl.bindProperty(sPropertyName, "objectPageLayoutMetadata>" + oBindingContext.getPath() + "/" + sPropertyName);
					}
				}, this));
			} catch (sError) {
				Log.error("ObjectPageLayoutFactory :: error in control creation from config: " + sError);
			}

			return oControl;
		}
function (sParentId, oBindingContext) {
			var oControlInfo = oBindingContext.getProperty(""), oControl, oControlClass, oControlMetadata;

			try {
				//retrieve the block class
				oControlClass = sap.ui.requireSync(oControlInfo.Type.replace(/\./g, "/"));
				oControlMetadata = oControlClass.getMetadata();

				//pre-processing: substitute event handler as strings by their function instance
				jQueryDOM.each(oControlMetadata._mAllEvents, jQueryDOM.proxy(function (sEventName, oEventProperties) {
					if (typeof oControlInfo[sEventName] == "string") {
						oControlInfo[sEventName] = this.convertEventHandler(oControlInfo[sEventName]);
					}
				}, this));

				//creates the control with control info = create with provided properties
				oControl = ManagedObject.create(oControlInfo);

				//post-processing: bind properties on the objectPageLayoutMetadata model
				jQueryDOM.each(oControlMetadata._mAllProperties, jQueryDOM.proxy(function (sPropertyName, oProperty) {
					if (oControlInfo[sPropertyName]) {
						oControl.bindProperty(sPropertyName, "objectPageLayoutMetadata>" + oBindingContext.getPath() + "/" + sPropertyName);
					}
				}, this));
			} catch (sError) {
				Log.error("ObjectPageLayoutFactory :: error in control creation from config: " + sError);
			}

			return oControl;
		}
function ( sParentId , oBindingContext ) { var oControlInfo = oBindingContext . getProperty ( "" ) , oControl , oControlClass , oControlMetadata ; try { //retrieve the block class oControlClass = sap . ui . requireSync ( oControlInfo . Type . replace ( / \. / g , "/" ) ) ; oControlMetadata = oControlClass . getMetadata ( ) ; //pre-processing: substitute event handler as strings by their function instance jQueryDOM . each ( oControlMetadata . _mAllEvents , jQueryDOM . proxy ( function ( sEventName , oEventProperties ) { if ( typeof oControlInfo [ sEventName ] == "string" ) { oControlInfo [ sEventName ] = this . convertEventHandler ( oControlInfo [ sEventName ] ) ; } } , this ) ) ; //creates the control with control info = create with provided properties oControl = ManagedObject . create ( oControlInfo ) ; //post-processing: bind properties on the objectPageLayoutMetadata model jQueryDOM . each ( oControlMetadata . _mAllProperties , jQueryDOM . proxy ( function ( sPropertyName , oProperty ) { if ( oControlInfo [ sPropertyName ] ) { oControl . bindProperty ( sPropertyName , "objectPageLayoutMetadata>" + oBindingContext . getPath ( ) + "/" + sPropertyName ) ; } } , this ) ) ; } catch ( sError ) { Log . error ( "ObjectPageLayoutFactory :: error in control creation from config: " + sError ) ; } return oControl ; }
generates a control to be used in actions, blocks or moreBlocks aggregations
known issue: bindings are not applied, the control is built with data only
@param {string} sParentId the Id of the parent
@param {object} oBindingContext binding context
@returns {*} new control
generates a control to be used in actions blocks or moreBlocks aggregations known issue : bindings are not applied the control is built with data only
Creates a new control instance