public/javascripts/WireIt/build/wireit-inputex-editor-grouping.js
function(errors) {	
		var i,k;
		if(YAHOO.lang.isArray(errors)) {
			for(i = 0 ; i < errors.length ; i++) {
				k = errors[i][0];
				value = errors[i][1];
				if(this.inputsNames[k]) {
					if(this.inputsNames[k].options.showMsg) {
						this.inputsNames[k].displayMessage(value);
						Dom.replaceClass(this.inputsNames[k].divEl, "inputEx-valid", "inputEx-invalid" );
					}
				}
			}
		}
		else if(YAHOO.lang.isObject(errors)) {
			for(k in errors) {
				if(errors.hasOwnProperty(k)) {
					if(this.inputsNames[k]) {
						if(this.inputsNames[k].options.showMsg) {
							this.inputsNames[k].displayMessage(errors[k]);
							Dom.replaceClass(this.inputsNames[k].divEl, "inputEx-valid", "inputEx-invalid" );
						}
					}
				}
			}
		}
	}
function(errors) {	
		var i,k;
		if(YAHOO.lang.isArray(errors)) {
			for(i = 0 ; i < errors.length ; i++) {
				k = errors[i][0];
				value = errors[i][1];
				if(this.inputsNames[k]) {
					if(this.inputsNames[k].options.showMsg) {
						this.inputsNames[k].displayMessage(value);
						Dom.replaceClass(this.inputsNames[k].divEl, "inputEx-valid", "inputEx-invalid" );
					}
				}
			}
		}
		else if(YAHOO.lang.isObject(errors)) {
			for(k in errors) {
				if(errors.hasOwnProperty(k)) {
					if(this.inputsNames[k]) {
						if(this.inputsNames[k].options.showMsg) {
							this.inputsNames[k].displayMessage(errors[k]);
							Dom.replaceClass(this.inputsNames[k].divEl, "inputEx-valid", "inputEx-invalid" );
						}
					}
				}
			}
		}
	}
function ( errors ) { var i , k ; if ( YAHOO . lang . isArray ( errors ) ) { for ( i = 0 ; i < errors . length ; i ++ ) { k = errors [ i ] [ 0 ] ; value = errors [ i ] [ 1 ] ; if ( this . inputsNames [ k ] ) { if ( this . inputsNames [ k ] . options . showMsg ) { this . inputsNames [ k ] . displayMessage ( value ) ; Dom . replaceClass ( this . inputsNames [ k ] . divEl , "inputEx-valid" , "inputEx-invalid" ) ; } } } } else if ( YAHOO . lang . isObject ( errors ) ) { for ( k in errors ) { if ( errors . hasOwnProperty ( k ) ) { if ( this . inputsNames [ k ] ) { if ( this . inputsNames [ k ] . options . showMsg ) { this . inputsNames [ k ] . displayMessage ( errors [ k ] ) ; Dom . replaceClass ( this . inputsNames [ k ] . divEl , "inputEx-valid" , "inputEx-invalid" ) ; } } } } } }
Write error messages for fields as specified in the hash
@param {Object || Array} errors Hash object containing error messages as Strings referenced by the field name, or array [ ["fieldName", "Message"], ...]
Write error messages for fields as specified in the hash