How to create a custom control?
To make a custom control you do the following
- Make a subclass from a DialogControl subclass (DialogSelect for example)
- register in the config under /modules/adminInterface/Config/controls
- use the new control as all the others
To access the configuration settings use getConfigValue(name) To make a DropDownBox having special values you would do something like:
MySelect extends DialogSelect(){ MySelect(...){ super(..); }setOptions(){ for each node found add option to the control; } }