Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Using panel configuration parameters

You can add configuration options to a panel this way:

Code Block
languagexml
titleinstall.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.