Menu

#20 Using getDisplayName for label values

open
nobody
5
2007-07-27
2007-07-27
Anonymous
No

I think, reading the code, that the BeanInfo.getName method is used to get the names of the properties in case there are no properties specified. (line 248 of BeanForm)

In my mind it would be more sensible to use BeanInfo.getDisplayName as this would give (at least if I understand beans correctly) the proper display name for each of the properties.

Regards,
Willem

Discussion


Log in to post a comment.