Project WONDER-Frameworks-Ajax-AjaxInPlaceEditor

Last modified by Pascal Robert on 2010/09/12 03:19

AjaxInPlaceEditor

AjaxInPlaceEditor provides a WOTextField-like wrapper around the Scriptaculous In-Place Editor. This control provides rich-text editing with an optional on-the-fly replacement of rendered HTML text (i.e. toggleable edit mode).

A demo of the Scriptaculous In-Place Editor is available here.

Wonder Bindings

  • value (required) - the value of the editor's content
  • elementName - the name of the HTML element containing the text ("div" or "span")
  • class - the CSS class of the HTML element containing the text
  • id - the ID of the HTML element containing the text
  • dateformat - a date formatter (like WOTextField) for handling date values
  • numberformat - a number formatter (like WOTextField) for handling number formats
  • formatter - a formatter (like WOTextField) for handling other formats
  • useDecimalNumber - whether or not to use BigDecimals

Scriptaculous Bindings

Scriptaculous Documentation

  • okButton
  • okText
  • cancelLink
  • cancelText
  • savingText
  • clickToEditText
  • formId
  • externalControl
  • rows
  • onComplete
  • onFailure
  • cols
  • size
  • highlightcolor
  • highlightendcolor
  • savingClassName
  • formClassName
  • loadTextURL
  • loadingText
  • callback
  • submitOnBlur
  • ajaxOptions