Versions Compared

Key

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

...

Code Block
languagexml
titleExample
<dynamicvariables>
  <variable name="thechoice" value="choice1" condition="cond1">
  <variable name="thechoice" value="choice2" condition="cond2">
</dynamicvariables>

A dynamic variable becomes behaves like a "normal" IzPack variable with a static key-value pair if it has set the attribute checkonce="true" and an optional condition for its evaluation becomes trueas soon as it is evaluated. After this, it the according definition looses its dynamics is represented with a static value as an IzPack variable. It can be still overridden if there is another dynamic variable definition for the same key, which evaluates later for example based on another condition.

...