Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
5.0.15
-
None
-
None
Description
this would enable type safe programming:
instead of:
configuration.add(new BeanBlockContribution("dealerType","DealerTypePropertyBlock","dealerType",true));
or
configuration.add(new BeanBlockContribution("dealerType",
resolver.resolvePageClassNameToPageName(DealerTypePropertyBlock.class.getName()),"dealerType",true));
this would be better and shorter (also in case of refactoring):
configuration.add(new BeanBlockContribution("dealerType",DealerTypePropertyBlock.class,"dealerType",true));