function removeBinding(oBindingInfo) {
			var oBinding = oBindingInfo.binding;
			// Also tell the Control that the messages have been removed (if any)
			if (that.refreshDataState) {
				that.refreshDataState(sName, oBinding.getDataState());
			}

			oBinding.detachChange(oBindingInfo.modelChangeHandler);
			if (oBindingInfo.modelRefreshHandler) { // only list bindings currently have a refresh handler attached
				oBinding.detachRefresh(oBindingInfo.modelRefreshHandler);
			}
			oBinding.detachEvents(oBindingInfo.events);
			oBinding.destroy();
			// remove all binding related data from the binding info
			delete oBindingInfo.binding;
			delete oBindingInfo.modelChangeHandler;
			delete oBindingInfo.dataStateChangeHandler;
			delete oBindingInfo.modelRefreshHandler;
		}
/*
		 * Remove binding, detach all events and destroy binding object
		 */
Remove binding, detach all events and destroy binding object
Remove binding detach all events and destroy binding object
function removeBinding(oBindingInfo) {
			var oBinding = oBindingInfo.binding;
			if (that.refreshDataState) {
				that.refreshDataState(sName, oBinding.getDataState());
			}
			oBinding.detachChange(oBindingInfo.modelChangeHandler);
			if (oBindingInfo.modelRefreshHandler) { 
				oBinding.detachRefresh(oBindingInfo.modelRefreshHandler);
			}
			oBinding.detachEvents(oBindingInfo.events);
			oBinding.destroy();
			delete oBindingInfo.binding;
			delete oBindingInfo.modelChangeHandler;
			delete oBindingInfo.dataStateChangeHandler;
			delete oBindingInfo.modelRefreshHandler;
		}
function removeBinding ( oBindingInfo ) { var oBinding = oBindingInfo . binding ; if ( that . refreshDataState ) { that . refreshDataState ( sName , oBinding . getDataState ( ) ) ; } oBinding . detachChange ( oBindingInfo . modelChangeHandler ) ; if ( oBindingInfo . modelRefreshHandler ) { oBinding . detachRefresh ( oBindingInfo . modelRefreshHandler ) ; } oBinding . detachEvents ( oBindingInfo . events ) ; oBinding . destroy ( ) ; delete oBindingInfo . binding ; delete oBindingInfo . modelChangeHandler ; delete oBindingInfo . dataStateChangeHandler ; delete oBindingInfo . modelRefreshHandler ; }
Remove binding, detach all events and destroy binding object
Remove binding detach all events and destroy binding object
// Also tell the Control that the messages have been removed (if any) // only list bindings currently have a refresh handler attached // remove all binding related data from the binding info