Using panel configuration parameters
You can add configuration options to a panel this way:
install.xml
<panel id ="..." ...> <configuration> <option_name_1>option_value</option_name_1> <option_name_2>option_value</option_name_2> ... </configuration> </panel>
To access this, get an instance of Panel:
- GUI installation mode - instances of IzPanel
: getMetaData()
- Console installation mode - ConsolePanel
: getPanel()
A Panel
inherits from DefaultConfigurationHandler
, which has the appropriate methods to read these parameters to access the configuration parameters.