Details
-
New Feature
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
None
-
-
Empty show more show less
Description
For component availability it would be very handy if it supported meta annotations.
The @AvailableComponentClasses annotation would then accept custom annotations annotated somehow to mark them as annotations to be used for this purpose.
Any components found having such an annotation would be available when that annotation is given to @AvailableComponentClasses.
@ComponentCategory @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface Banner {} @Area("banners") @AvailableComponentClasses({Banner.class}) @Controller public class BannersArea {} @Banner @Template(id = "myModule:components/largePromoBanner", title="Large promo") @Controller("banner") public class LargePromoBannerComponent {}
Checklists
Acceptance criteria
Attachments
Issue Links
- is depended upon by
-
BLOSSOM-140 Add example of component availability using component category annotations
-
- Closed
-