I think I have a better approach:
1. Make the widget models more generic. Every widget contains a Map of
attributes and a List of child widgets. This will enable easy extension
by add-on components. Existing model accessor methods will be preserved
for those cases where you want parsed/convert
Hello,
I work on little POC to extend the screen widget macro freemarker with
customer dedicated attribute to help the creation of specific renderer.
My first step was going to pass any parameters to the macro library
without modify the MacroFormRenderer.
To realise this, I add a path attribu