FLUID-1693: Provide user-customizable methods for getting and setting values on the view and edit elements in InlineEdit, allowing support for rich text and non-standard form fields.

Metadata

Source
FLUID-1693
Type
Sub-task
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Antranig Basman
Reporter
Colin Clark
Created
2008-10-20T12:38:48.000-0400
Updated
2011-02-22T16:27:55.661-0500
Versions
N/A
Fixed Versions
  1. 0.6
Component
  1. Inline Edit

Description

At the moment, InlineEdit's implementation assumes two things:

1. That the text being edited is just plain old text
2. That the edit field is a plain old HTML form element that will return the current value by calling the val() method.

We should externalize these assumptions in some form that would allow the user to override them with their own implementations if necessary. This could also lead to us packaging up a version of InlineEdit specifically intended for rich text editors.

Comments

  • Colin Clark commented 2008-10-20T12:41:41.000-0400

    These two are related because they are both required to support a reasonable rich text version of the inline editor.

  • Antranig Basman commented 2008-11-13T21:40:27.000-0500

    Merged into trunk at revision 6031. See the new "accessor" pattern which mandates a function member named "value" with jQuery.val()/text() etc. semantics. Standard examples are provided in the form of standardAccessor and richTextViewAccessor.

  • Michelle D'Souza commented 2011-02-22T16:27:55.659-0500

    Closing issues that were resolved for 1.0 and earlier releases.