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

LiveData should send a javascript event when it's ready

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 13.10
    • Fix Version/s: None
    • Component/s: Live Data
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      We use to have different kind of Javascript events for LiveTable (see: https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/FrontendResources/JavaScriptAPI/#HLivetableevents28livetable.js29). We should trigger at least an event to inform that a LiveData is ready and completely loaded when it's the case.

      My UC is that I'm migrating a LT where I used to attach some javascript listeners to custom actions available in the LT rows. Right now I'm not able to attach those listeners to the Live Data actions, because it's not loaded yet when my JS is executed and I have no simple event to trigger my javascript code.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              surli Simon Urli
              Reporter:
              surli Simon Urli
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: