Here are more details on the actual use case we need to support: In include/Display macro either you set:
* "reference" and "type" (which default to DOCUMENT) * or you set "page" On Wed, Jul 4, 2018 at 10:57 AM, Marius Dumitru Florea <[email protected]> wrote: > For groups of parameters we could use tabs: > > ----------8<---------- > Param 1 > [input] > > Param 2 | Param 3 | Param 4 <--- a group of 3 parameters displayed using > tabs (we take into account only the value of the parameter from the active > tab) > [input for param 2] > > Param 5 > [input] > ---------->8---------- > > But if you want to support subgroups of parameters also then it becomes > more complicated. > > Thanks, > Marius > > On Mon, Jul 2, 2018 at 11:52 AM, Thomas Mortagne <[email protected]> > wrote: > >> Hi xwikiers, >> >> In the contact of bringing new Page concept (OK 7.4 is starting to get >> old) to the API and macros too we decided (1) to introduce a "page" >> shortcut property (even if we keep the reference/type for other >> types). >> >> While it's nicer for wiki syntax, one issue is that on WYSIWYG macros >> UI side, which display all properties, it means ending up with >> conflicting parameters that needs to be displayed as such. >> >> I don't really have much clue on how best to display this so I'm >> searching for ideas :) >> >> Then I will add in the macro descriptor what's required for whatever >> UI we want to build (group and sub groups of properties, etc.). >> >> 1: http://design.xwiki.org/xwiki/bin/view/Proposal/ >> DeprecatingSpaceAndSpaceReference#HMacros >> >> Thanks, >> -- >> Thomas Mortagnes >> -- Thomas Mortagne

