26 Oct
2009
26 Oct
'09
4:18 p.m.
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. -- Thomas Mortagne