We need you!


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

Versions Compared


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

The ConditionValidator is a special built-in panel validator which allows or prevent from panel switching depending on IzPack conditions.

It evaluates all conditions which ID start with "conditionvalidator.", if one of them evaluates to false, then the panel switching is prevented.

Code Block
titleData Validator Example
    <condition type="or" id="conditionvalidator.iscompatibleupgrade">
        <condition type="ref" refid="isNew"/>
        <condition type="ref" refid="isCompatibleUpgrade"/>

    <panel classname="TargetPanel">
      <validator classname="com.izforge.izpack.installer.validator.ConditionValidator"/>