Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-18097

In-line editing should work with the raw property value not the display value

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 12.10
    • Fix Version/s: None
    • Component/s: Live Data
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      ATM if you double click on a cell that uses the HTML displayer you end up editing the HTML code. This is not right. A property that uses the HTML displayer and that is editable must have a raw property value. For live tables we have this naming convention:

      {
        ...
        "someProperty": "display value (could be HTML)",
        "someProperty_value": "raw property value",
        ...
      }
      

      We also need to figure out how to integrate the property (edit) displayers that are available on the server side. This means that the live data HTML displayer should:

      • when entering edit mode: try to load the actual edit displayer from the server
      • when leaving edit mode: call the displayer from the server (the one that produced the initial HTML we got as property value)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mflorea Marius Dumitru Florea
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: