Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Beta2
-
Component/s: ICE-Components
-
Labels:None
-
Environment:sparkle
Description
The generator currently has a nice feature where you can set the useTemplate field on a @Property annotation, to get the values for that property from a template class, to allow for greater re-use. Developers can use that in conjunction with the inherit field, to specify properties inherited from superclasses, which should be documented in the TLD, but which don't require code generation. It might be nice to have a mechanism where-by properties from superclasses are automatically used and inherited, unless specifically flagged to not be. There would be less redundancy in Meta classes.
One way this could be implemented, would be to hand-code @Component annotated classes for all of the stock JSF UIComponent derived classes, each with the properties that they add. We could derive this info from the xml files we used for compat component metadata. These classes would describe their inheritance, so that the generator could walk up the inheritance tree, automatically adding relevant properties.
One way this could be implemented, would be to hand-code @Component annotated classes for all of the stock JSF UIComponent derived classes, each with the properties that they add. We could derive this info from the xml files we used for compat component metadata. These classes would describe their inheritance, so that the generator could walk up the inheritance tree, automatically adding relevant properties.
Issue Links
- blocks
-
ICE-5931 ACE components updated to use auto-inherited properties
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion