Lots of components have attributes with a default value. For exemple, by default, the separator of the breadcrumb is the character /. But what if I want all my breadcrumb to use the > as separator? I will have to specify it for all my breadcrumbs. So boring...
The idea would be to allow users to change the default value of any attribute so all components will use it. The algorithm to retrieve the value of an attribute would be:
if there is a value for the attribute, use it;
if not, check if there is a user specific default value, if so, use it;
if not, use the hard coded default value of the attribute.
In order to achieve that, the easiest way would be to improve the CDK in order to generate the method that will check the eventual presence of a user specific default value for every attributes.
For users, we could use a .properties file containing all default values. The key syntax could be something like: org.richfaces.[component-name].[attribute-name].defaultValue.