On Oct 26, 2009, at 5:18 PM, Thomas Mortagne 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). Thanks -Vincent _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

