Anamaria Stoica wrote: > Hi, > > Is my patch OK http://jira.xwiki.org/jira/browse/XWIKI-4944 ?
Looks good to me. I'll commit my fix for http://jira.xwiki.org/jira/browse/XWIKI-4946 as soon as I have support for default value in wiki macro (I need it to be able to test the fix, since currently there's no Java macro in the standard XE distribution that has required parameters with default value). Thanks, Marius > > Thanks, > Anamaria > > > On Fri, Feb 26, 2010 at 3:50 PM, Thomas Mortagne > <[email protected]> wrote: >> +1 for the general: as soon as it's part of Macro and parameter >> descriptor it should be supported by wiki macros at some point anyway >> >> On Fri, Feb 26, 2010 at 11:43, Anamaria Stoica <[email protected]> wrote: >>> Hi, >>> >>> I would like to add support for Default Values for XWiki Wiki Macros. >>> It's not very difficult, as the XWiki Java Macros already have it. >>> >>> The required changes would be: >>> - add default value property to XWiki.WikiMacroParameterClass >>> - update DefaultWikiMacroFactory#buildMacro() to parse the new parameter >>> - update WikiMacroParameterDescriptor with a new property for default >>> value parameter, a new constructor and also >>> update the getDefaultValue method >>> >>> Thanks, >>> Anamaria >>> _______________________________________________ >>> devs mailing list >>> [email protected] >>> http://lists.xwiki.org/mailman/listinfo/devs >>> >> >> >> -- >> Thomas Mortagne >> _______________________________________________ >> devs mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/devs >> > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

