public/javascripts/inputex/js/fields/Lens-beta.js
function(parentEl) {
      
			parentEl.innerHTML = this.options.lens;
			
			for(var i = 0 ; i < this.options.fields.length ; i++) {
				var els = YAHOO.util.Dom.getElementsByClassName( "field-"+this.options.fields[i].name, "div", parentEl);
				var el = els[0];
				var params = { parentEl: el, editorField: this.options.fields[i], name: this.options.fields[i].name };
				if(this.options.visus) {
					params.visu = this.options.visus[i];
				}
				var field = new inputEx.InPlaceEdit(params);
				
				this.inputs.push(field);
				if(field.options.name) {
		    	this.inputsNames[field.options.name] = field;
		    }
			  // Subscribe to the field "updated" event to send the group "updated" event
			  field.updatedEvt.subscribe(this.onChange, this, true);
		
			}
  	
   }
function(parentEl) {
      
			parentEl.innerHTML = this.options.lens;
			
			for(var i = 0 ; i < this.options.fields.length ; i++) {
				var els = YAHOO.util.Dom.getElementsByClassName( "field-"+this.options.fields[i].name, "div", parentEl);
				var el = els[0];
				var params = { parentEl: el, editorField: this.options.fields[i], name: this.options.fields[i].name };
				if(this.options.visus) {
					params.visu = this.options.visus[i];
				}
				var field = new inputEx.InPlaceEdit(params);
				
				this.inputs.push(field);
				if(field.options.name) {
		    	this.inputsNames[field.options.name] = field;
		    }
			  // Subscribe to the field "updated" event to send the group "updated" event
			  field.updatedEvt.subscribe(this.onChange, this, true);
		
			}
  	
   }
function ( parentEl ) { parentEl . innerHTML = this . options . lens ; for ( var i = 0 ; i < this . options . fields . length ; i ++ ) { var els = YAHOO . util . Dom . getElementsByClassName ( "field-" + this . options . fields [ i ] . name , "div" , parentEl ) ; var el = els [ 0 ] ; var params = { parentEl : el , editorField : this . options . fields [ i ] , name : this . options . fields [ i ] . name } ; if ( this . options . visus ) { params . visu = this . options . visus [ i ] ; } var field = new inputEx . InPlaceEdit ( params ) ; this . inputs . push ( field ) ; if ( field . options . name ) { this . inputsNames [ field . options . name ] = field ; } // Subscribe to the field "updated" event to send the group "updated" event field . updatedEvt . subscribe ( this . onChange , this , true ) ; } }
Render each the fields in each div which class attribute is "field-"+fieldName
Render each the fields in each div which class attribute is field - + fieldName