function toControl(sId, bInvalidate) {
		if (!sId) {
			return null;
		}

		var oControl = sap.ui.getCore().byId(sId);
		// a control must only be invalidated if there is already a DOM Ref. If there is no DOM Ref yet, it will get
		// rendered later in any case. Elements must always be invalidated because they have no own renderer.
		if (oControl && bInvalidate && (!(oControl instanceof sap.ui.core.Control) || oControl.getDomRef())) {
			oControl.invalidate();
		}

		return oControl;
	}
// Returns the control for the given id (if available) and invalidates it if desired
Returns the control for the given id (if available) and invalidates it if desired
Returns the control for the given id ( if available ) and invalidates it if desired
function toControl(sId, bInvalidate) {
		if (!sId) {
			return null;
		}
		var oControl = sap.ui.getCore().byId(sId);
		if (oControl && bInvalidate && (!(oControl instanceof sap.ui.core.Control) || oControl.getDomRef())) {
			oControl.invalidate();
		}
		return oControl;
	}
function toControl ( sId , bInvalidate ) { if ( ! sId ) { return null ; } var oControl = sap . ui . getCore ( ) . byId ( sId ) ; if ( oControl && bInvalidate && ( ! ( oControl instanceof sap . ui . core . Control ) || oControl . getDomRef ( ) ) ) { oControl . invalidate ( ) ; } return oControl ; }
Returns the control for the given id (if available) and invalidates it if desired
Returns the control for the given id ( if available ) and invalidates it if desired
// a control must only be invalidated if there is already a DOM Ref. If there is no DOM Ref yet, it will get // rendered later in any case. Elements must always be invalidated because they have no own renderer.