Both dialog and design_dialog defines the interface allowing the user to configure the component.
The basic difference here is:
Dialog stores its data at component's/node's/page's level where as Design Dialog stores its data at template's level.
In other words, Dialog stores its data under /contnet and Design Dialog stores its data under /etc/designs by default.
Retrieving Dialog configurations:
String dialogConfig = properties.get("dialogConfig", "Dialog Configuration");
Retrieving Design Dialog configurations:
String designDialogConfig = currentStyle.get("designDialogConfig ", "Design Dialog Configuration");
Here, dialogConfig and designDialogConfig are names of widgets.
The basic difference here is:
Dialog stores its data at component's/node's/page's level where as Design Dialog stores its data at template's level.
In other words, Dialog stores its data under /contnet and Design Dialog stores its data under /etc/designs by default.
Retrieving Dialog configurations:
String dialogConfig = properties.get("dialogConfig", "Dialog Configuration");
Retrieving Design Dialog configurations:
String designDialogConfig = currentStyle.get("designDialogConfig ", "Design Dialog Configuration");
Here, dialogConfig and designDialogConfig are names of widgets.
No comments:
Post a Comment