Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.1-Beta2
-
Component/s: ACE-Components, ICE-Components
-
Labels:None
-
Environment:ICEfaces 2.1
-
Assignee Priority:P1
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
Description
Currently, when using the mandatoryResource configuration it is necessary for application developers to list each component to be preloaded by entering the complete component Java package for the component class. This is inconvenient and error-prone.
This improvement is to add support for optionally listing components inside a mandatoryResource configuration using just the component's tag name, such as "ace:dateTimeEntry ace:tabSet" etc. This will be much more convenient for application developers to use.
Note that in addition to the ACE components, the ice:inputRichText component is also now a mandatoryResource enabled component and will need to be updated as part of this work.
This improvement is to add support for optionally listing components inside a mandatoryResource configuration using just the component's tag name, such as "ace:dateTimeEntry ace:tabSet" etc. This will be much more convenient for application developers to use.
Note that in addition to the ACE components, the ice:inputRichText component is also now a mandatoryResource enabled component and will need to be updated as part of this work.
We'll just specify the tag name right in the @MandatoryResourceComponent annotation, and modify the code that processes them to double register it, by both the full component name and the tag name,