We need you!


The IzPack documentation needs work, and you are invited to edit it!

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 16 Next »


Here you tell the compiler which panels you want to use. They will appear in the installer in the order in which they are listed in your XML installation file.

The section Built-in Panel Types introduces the various panels available in IzPack. The usage of each is described, and the panels are listed by their class name (this is the name that must be used with the classname attribute). 


classnameThe class name of the panel. The attribute value is case-sensitive, meaning that if the case in the installation file differs from the case in the class file, the compiler will throw an IllegalArgumentExceptionYes
idA unique identifier for a panel which can be used to reference this panel in userinput panel definitions.No
conditionThe id of a condition that has to evaluate to true in order for this panel to appear. If this attribute is not specified. the panel is always shown.No
jarThe jar file where the classes for this panel can be found. If this attribute is empty or unspecified, the classes for this panel must be merged using the <jar> tag.No

topBuffer=0 is useful if you don't want your panel to be moved up or down during dynamic validation (showing and hiding components within the same panel)
Default: 25 


Nested Elements 


Specify optional, custom configuration parameters for a custom panel using the <configuration> element. Each parameter is specified using a nested <param> element, which must have both a name and a value attribute. 


Specifies an optional help file for a panel. The contents of the help file is shown in a small window on the panel, when the user clicks on the Help button.

The help file can contain text that is formated using HTML elements(<p>,<h1>,<ul>,<li>, etc.).

The button is only shown when a help for the language exists.

iso3The ISO3 representation of the language in which the help is written.Yes
srcThe path where the compiler will find the help file to display.Yes


Specifies an optional panel data validator. See the section Panel Data Validators.


Specifies one or more optional panel life-cycle actions.  See the section Panel Actions.


A panel with help files in German and English.


A basic selection of panels, including a conditional panel and a custom panel contained in a jar, with a custom configuration. 

Basic selection of panels
Panel in the context of an installation specification


The following key suffixes can be translated:

  • headline
  • headinfo<number>

The built-in translation of these labels can be overridden in the following way:

  • Add custom translations to a IzPack resource CustomLangPack.xml_<ISO3>
  • The following translation keys and lookup order can be used:
    1. If a panel ID is defined:
    2. If a panel ID is defined:
    3. If no panel ID is defined:
    4. If no panel ID is defined:
      (for compatibility with IzPack 4 translations)

Example 1:


Example 2:



  • No labels