Your newly minted custom OSGI bundle is using annotations for configurable properties, but there is no edit button visible to edit your properties in the Felix Config Console.
The Solution
In your @Component or @SlingServlet or similar annotation, you need to set metatype=true for the edit settings to appear.
Before:
@Property(name="MY-PROPERTY", description="", value="http://www.google.com")
After:
@Property(name="MY-PROPERTY", description="", value="http://www.google.com", metatype=true)
In your @Component or @SlingServlet or similar annotation, you need to set metatype=true for the edit settings to appear.
Before:
@Property(name="MY-PROPERTY", description="", value="http://www.google.com")
After:
@Property(name="MY-PROPERTY", description="", value="http://www.google.com", metatype=true)
No comments:
Post a Comment
If you have any doubts or questions, please let us know.