Hi,
I created the Jira issue:
http://jira.xwiki.org/jira/browse/XWIKI-4944 and
attached the corresponding patch to it.
Thanks,
Anamaria
On Fri, Feb 26, 2010 at 1:07 PM, Sergiu Dumitriu <sergiu(a)xwiki.com> wrote:
On 02/26/2010 11:43 AM, Anamaria Stoica 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
+1
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs