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

The change to the next panel during the installation can be controlled using validators.

This can be achieved by a nested definition in the panel definition in the installer descriptor:

Data Validator Example

 Built-in validators or user-defined data validators can be used.

There can be any number of validators nested in a <panel> definition. All of the validators with a condition that evaluates to true, must validate successfully to allow a final success.

A <validator> tag takes the following attributes:

AttributeDescriptionValuesRequired
className

Fully qualified classname of an Validator implementation.

This can be a built-in validator or one from additional libraries in the <jar> tag.

Stringyes
conditionCondition for applying this validator. If this condition evaluates false, the according validator is ignoredStringno
  • No labels

1 Comment

  1. What happens if the va;idator evaluates to false?

    Can anyone think of a use case to add to the description?