+1 for the general layout. As a side note, I'd like we consider introducing a hook for macros to provide their own insertion dialog (in place of the generic 2bis). This would allow to have restrictions on parameter combinations. (for example: user can define a value for param2 only if param1 has been set to a specific value - this is the case for the map macro : we could say width and height parameters are meaningless unless the size parameter has been set to "custom"). I suppose we could also define those rules in the rendering with new annotations and still use a generic dialog, but it would probably be overkill compared to custom dialogs provided by the macro itself. Anyway, just an idea.
Jerome. Jean-Vincent Drean wrote: > Hi, > > I've made a mockup for the macro dialog in the WYSIWYG editor : > http://incubator.myxwiki.org/xwiki/bin/download/Mockups/WebHome/MacroDialogs.png > > I've assumed that using a tree to browse macros was : > - Scalable. > - Consistent with link dialogs. > Shout if you think about another way of displaying them. > > Note that the second dialog is generated dynamically and will vary a > lot according to macros needs (see 2 bis), its layout must remain as > simple as possible. > > Here's my +1. > > JV. > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

