Hi, On Mon, Oct 26, 2009 at 9:48 PM, Thomas Mortagne <[email protected]>wrote:
Hi devs,
We want to display macros parameters pretty names in the WYSIWYG.
For that we need to provide it in the WYSIWYG. The current ParameterDescriptor#getName actually return the parameter identifier/technical name.
So I see two solutions: 1) the general rule in new XWiki architecture is to use id/name instead of name/prettyname so i propose to break ParameterDescriptor and PropertyDescriptor to follow this rule. 2) add a getDisplayName method and let getName for the identifier
WDYT ?
+1 for 1). I never like to break an API but doubt this API is used a lots yet except by us internally and it would like we use the same rule everywhere as much as possible.
+1 for 1) If you can create a JIRA for updating wiki macros to support this, I will work on it as soon as you are done. Thanks. - Asiri
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs