Wiki source code of Project WONDER-Frameworks-Ajax-AjaxInPlaceEditor
Last modified by Pascal Robert on 2010/09/12 03:19
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | === AjaxInPlaceEditor === | ||
| 2 | |||
| 3 | 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). | ||
| 4 | |||
| 5 | A demo of the Scriptaculous In-Place Editor is available [[here>>url:http://wiki.script.aculo.us/scriptaculous/show/Ajax.InPlaceEditor||shape="rect"]]. | ||
| 6 | |||
| 7 | ==== Wonder Bindings ==== | ||
| 8 | |||
| 9 | * value (required) - the value of the editor's content | ||
| 10 | * elementName - the name of the HTML element containing the text ("div" or "span") | ||
| 11 | * class - the CSS class of the HTML element containing the text | ||
| 12 | * id - the ID of the HTML element containing the text | ||
| 13 | * dateformat - a date formatter (like WOTextField) for handling date values | ||
| 14 | * numberformat - a number formatter (like WOTextField) for handling number formats | ||
| 15 | * formatter - a formatter (like WOTextField) for handling other formats | ||
| 16 | * useDecimalNumber - whether or not to use BigDecimals | ||
| 17 | |||
| 18 | ==== Scriptaculous Bindings ==== | ||
| 19 | |||
| 20 | [[Scriptaculous Documentation>>url:http://wiki.script.aculo.us/scriptaculous/show/Ajax.InPlaceEditor||shape="rect"]] | ||
| 21 | |||
| 22 | * okButton | ||
| 23 | * okText | ||
| 24 | * cancelLink | ||
| 25 | * cancelText | ||
| 26 | * savingText | ||
| 27 | * clickToEditText | ||
| 28 | * formId | ||
| 29 | * externalControl | ||
| 30 | * rows | ||
| 31 | * onComplete | ||
| 32 | * onFailure | ||
| 33 | * cols | ||
| 34 | * size | ||
| 35 | * highlightcolor | ||
| 36 | * highlightendcolor | ||
| 37 | * savingClassName | ||
| 38 | * formClassName | ||
| 39 | * loadTextURL | ||
| 40 | * loadingText | ||
| 41 | * callback | ||
| 42 | * submitOnBlur | ||
| 43 | * ajaxOptions |