I have created custom properties on a custom control using the New Property button (in the Property Definition section). I can read out these properties using compositeData.propertyname in serverside-javascript. Now I want to override these properties using a theme, but where I can do this with the default properties like styleClass, it doesn’t seem to work for the custom properties. Is it at all possible to apply a theme to custom properties? If so, should it work the same as for default properties like styleClass or do you need to do someting specific for custom properties to make it work?
I know I can read out properties from a theme using context.getProperty(“propertyname”) but I would rather just read out my custom property (that has a default value) and have that override by a theme if applicable.
Any help would be greatly appreciated!