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

Allow executing wiki macro asynchronously

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.1
    • Fix Version/s: 10.10-rc-1
    • Component/s: Rendering
    • Labels:
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      The idea is that some wiki macros (and widgets which are wiki macros) can be both expensive and don't care too much about the XDOM around them and in that case could be loaded asynchronously (with an ajax request a bit like comments for example).

      This require to introduce a few things in the rendering context:

      • the target syntax: making the macro async make sense only of the target is some variant of html
      • enable/disable async: mostly to force non async in cases like pdf and html export

      and in the wiki macro descriptor:

      • enable/disable async: probably safer to disable it by default

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tmortagne Thomas Mortagne
                Reporter:
                tmortagne Thomas Mortagne
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: