Details
-
Improvement
-
Resolution: Won't Do
-
Major
-
None
-
3.5.8
-
None
Description
Controls are actually loaded explicitly only using their class name, for example:
config:/modules/adminInterface/controls/freemarker/class = info.magnolia.cms.gui.dialog.DialogFreemarker.java
without using Content2Bean, so it's not possible to make them parametric and to configure them. Especially for the freemarker dialog this could be really useful, in order to create a specific control (for example "grid") backed by a fixed ftl template.
In order to do this, info.magnolia.cms.gui.dialog.ControlsManager needs to be modified in order to use Content2Bean, but we also need to modify how dialogs are registered and reused (currently not by instance but by class).
Checklists
Acceptance criteria