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

Add a displayer for SpaceReference parameters

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Unresolved
    • Major
    • None
    • 14.10
    • None
    • Unknown

    Description

      The idea is to implement a new org.xwiki.model.reference.SpaceReference type for macro parameters.

      This would solve a pretty common use case for macros, where we pass a "location" parameter in order to scope the effect of the macros to the given subtree. (For now it is not possible to have a picker to modify such location parameter of a macro, the closest we can get is using the org.xwiki.model.reference.DocumentReference type for the macro parameter, but there are several limitations with this approach, as we then need to handle the `WebHome` page of the space instead).

      Attachments

        Activity

          People

            Unassigned Unassigned
            cdesableau Clément Desableau
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: