public/javascripts/WireIt/build/wireit-inputex-editor-grouping.js
function(value, sendUpdatedEvt) {   
      // Store the value
	   this.value = value;
   
      if(lang.isUndefined(value) || value == "") {
         inputEx.renderVisu(this.options.visu, inputEx.messages.emptyInPlaceEdit, this.formattedContainer);
      }
      else {
         inputEx.renderVisu(this.options.visu, this.value, this.formattedContainer);
      }
      
      // If the editor is opened, update it 
      if(this.editorContainer.style.display == '') {
         this.editorField.setValue(value);
      }
      
      inputEx.InPlaceEdit.superclass.setValue.call(this, value, sendUpdatedEvt);
   }
function(value, sendUpdatedEvt) {   
      // Store the value
	   this.value = value;
   
      if(lang.isUndefined(value) || value == "") {
         inputEx.renderVisu(this.options.visu, inputEx.messages.emptyInPlaceEdit, this.formattedContainer);
      }
      else {
         inputEx.renderVisu(this.options.visu, this.value, this.formattedContainer);
      }
      
      // If the editor is opened, update it 
      if(this.editorContainer.style.display == '') {
         this.editorField.setValue(value);
      }
      
      inputEx.InPlaceEdit.superclass.setValue.call(this, value, sendUpdatedEvt);
   }
function ( value , sendUpdatedEvt ) { // Store the value this . value = value ; if ( lang . isUndefined ( value ) || value == "" ) { inputEx . renderVisu ( this . options . visu , inputEx . messages . emptyInPlaceEdit , this . formattedContainer ) ; } else { inputEx . renderVisu ( this . options . visu , this . value , this . formattedContainer ) ; } // If the editor is opened, update it  if ( this . editorContainer . style . display == '' ) { this . editorField . setValue ( value ) ; } inputEx . InPlaceEdit . superclass . setValue . call ( this , value , sendUpdatedEvt ) ; }
Set the value and update the display
@param {Any} value The value to set
@param {boolean} [sendUpdatedEvt] (optional) Wether this setValue should fire the updatedEvt or not (default is true, pass false to NOT send the event)
Set the value and update the display