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

Allow wiki macros to change their parameters during their execution

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 12.6.4
    • Fix Version/s: None
    • Component/s: Rendering - WikiMacro
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      This issue is in the same scope as XWIKI-18063 ; when being displayed, a wiki macro could be able to change its own parameters in the document in which it is used.

      While this feature may look strange at first glance, it can actually be very interesting if we consider the case of documents being edited through WYSIWYG : when starting to edit a document in WYSIWYG, XWiki will render the document in HTML (and thus, will execute the macros of the document). A macro can then wait for its execution in such context, and pre-load its parameters with some defaults. Then, through the wikimacroparameter macro, this pre-loaded content becomes editable in WYSIWYG mode transparently for the user

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                caubin Clément Aubin
                Reporter:
                caubin Clément Aubin
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: