FLUID-840: Add the ability for Inline Edit to render its own edit mode if the markup isn't already provided for it.

Metadata

Source
FLUID-840
Type
New Feature
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Colin Clark
Reporter
Colin Clark
Created
2008-06-28T13:27:22.000-0400
Updated
2011-02-22T16:27:59.353-0500
Versions
  1. 0.4beta1
Fixed Versions
  1. 0.4
Component
  1. Inline Edit

Description

At the moment, InlineEdit requires the user to provide all of the required markup: both a view mode and the form fields for edit mode. It would be very convenient to have an optional mode where the component automatically injects the edit form fields if they aren't already found in the document.

This will ultimately be best achieved with small-scale template rendering on the client, but in the meantime a configurable function that does the DOM manipulation is reasonable.

Comments

  • Colin Clark commented 2008-07-16T15:36:30.000-0400

    Fixed by implementing an injectable function that creates the edit mode.

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

    Closing issues that were resolved for 1.0 and earlier releases.