We need you!

Icon

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 4 Current »

Usage

The DynamicInstallerRequirementValidator is an implicit data validator for checking a set of conditions on each panel change.

Example

If a condition applies, a messagebox is shown with the appropriate content from translation. Depending on the value of severity attribute the installation might be continued or is aborted:

  • "error"
    The messagebox is shown and the installation aborts.
  • "warning"
    The messagebox is shown and the installation can continue after the OK button is pressed.

<installerrequirement> - Attributes

AttributeDescriptionDefaultRequired
severity

The severity the validator should apply in case of the condition gets true.

Possible values: "warning" | "error"

noneyes
condition
A valid condition ID defined within the <conditions/> element.noneyes
messageid
A valid message ID from the appropriate translation file. If it can't be foundm the mentioned ID itself is displayed instead of the translated text.noneyes
  • No labels