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
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Affects Version/s | 2.0-Beta [ 10231 ] | |
Affects Version/s | 2.0-Alpha3 [ 10032 ] |
Salesforce Case | [] | |
Fix Version/s | 2.0-Beta2 [ 10242 ] | |
Affects Version/s | 2.0-Beta2 [ 10242 ] | |
Affects Version/s | 2.0-Beta1 [ 10231 ] | |
Assignee | Arturo Zambrano [ artzambrano ] |
Assignee Priority | P1 |
Security | Private [ 10001 ] |
Salesforce Case | [] | |
Assignee | Arturo Zambrano [ artzambrano ] | Mark Collette [ mark.collette ] |
Link | This issue depends on ICE-5984 [ ICE-5984 ] |
Link | This issue duplicates ICE-5838 [ ICE-5838 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #22272 | Wed Sep 01 00:50:08 MDT 2010 | art.zambrano | |
Files Changed | ||||
![]() ![]() ![]() ![]() ![]() |
Assignee | Mark Collette [ mark.collette ] | Arturo Zambrano [ artzambrano ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #22283 | Mon Sep 06 21:26:22 MDT 2010 | art.zambrano | |
Files Changed | ||||
![]() ![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #22285 | Wed Sep 08 02:51:52 MDT 2010 | art.zambrano | |
Files Changed | ||||
![]() ![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #22318 | Mon Sep 13 02:08:01 MDT 2010 | art.zambrano | |
Files Changed | ||||
![]() ![]() ![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #22319 | Mon Sep 13 03:21:53 MDT 2010 | art.zambrano | |
Files Changed | ||||
![]() ![]() |
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Fix Version/s | 2.0.0 [ 10230 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P1 |
Examples of the classes to hand code annotated properties for, are:
UIComponent
UIComponentBase
UIOutput
UIInput
UICommand
UIPanel
UIColumn
UIData
UIMessage
UIMessages
UISelectBoolean
UISelectMany
UISelectOne