src/sap.ui.core/src/sap/ui/core/mvc/JSONView.js
function(oSettings) {
					var oMetadata = this.getMetadata(),
					aValidKeys = oMetadata.getJSONKeys(), // UID names required, they're part of the documented contract
					sKey, oValue, oKeyInfo;
					for (sKey in oSettings) {
						// get info object for the key
						if ( (oKeyInfo = aValidKeys[sKey]) !== undefined ) {
							oValue = oSettings[sKey];
							switch (oKeyInfo._iKind) {
							case 3: // SINGLE ASSOCIATIONS
								// prefix the association ids with the view id
								if ( typeof oValue === "string" ) {
									oSettings[sKey] = that.createId(oValue);
								}
								break;
							case 5: // EVENTS
								if ( typeof oValue === "string" ) {
									oSettings[sKey] = EventHandlerResolver.resolveEventHandler(oValue, oController);
								}
								break;
							}
						}
					}
				}
function(oSettings) {
					var oMetadata = this.getMetadata(),
					aValidKeys = oMetadata.getJSONKeys(), // UID names required, they're part of the documented contract
					sKey, oValue, oKeyInfo;
					for (sKey in oSettings) {
						// get info object for the key
						if ( (oKeyInfo = aValidKeys[sKey]) !== undefined ) {
							oValue = oSettings[sKey];
							switch (oKeyInfo._iKind) {
							case 3: // SINGLE ASSOCIATIONS
								// prefix the association ids with the view id
								if ( typeof oValue === "string" ) {
									oSettings[sKey] = that.createId(oValue);
								}
								break;
							case 5: // EVENTS
								if ( typeof oValue === "string" ) {
									oSettings[sKey] = EventHandlerResolver.resolveEventHandler(oValue, oController);
								}
								break;
							}
						}
					}
				}
function ( oSettings ) { var oMetadata = this . getMetadata ( ) , aValidKeys = oMetadata . getJSONKeys ( ) , // UID names required, they're part of the documented contract sKey , oValue , oKeyInfo ; for ( sKey in oSettings ) { // get info object for the key if ( ( oKeyInfo = aValidKeys [ sKey ] ) !== undefined ) { oValue = oSettings [ sKey ] ; switch ( oKeyInfo . _iKind ) { case 3 : // SINGLE ASSOCIATIONS // prefix the association ids with the view id if ( typeof oValue === "string" ) { oSettings [ sKey ] = that . createId ( oValue ) ; } break ; case 5 : // EVENTS if ( typeof oValue === "string" ) { oSettings [ sKey ] = EventHandlerResolver . resolveEventHandler ( oValue , oController ) ; } break ; } } } }
preprocess 'mSettings' for setting the controller as Listener for defined events => make sure to store old preprocessor in case of nested views
preprocess mSettings for setting the controller as Listener for defined events = > make sure to store old preprocessor in case of nested views