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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 13.4-rc-1
    • 12.10
    • Live Data
    • None
    • Unit, Integration
    • Unknown
    • N/A
    • N/A

    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

        Issue Links

          Activity

            People

              mleduc Manuel Leduc
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: