izpack/izpack — pull request #172 by rkrell (2014-03-13 16:38:34+00:00)
Title: [IZPACK-1062] - Dynamic variables using checkonce="true" cannot be overwritten by internal variables with the same name

Dynamic variables using checkonce="true" cannot be overwritten by internal variables with the same name, but the appropriate IzPack variable is reset to the value from the first (and last) evaluation of that variable.

During refreshing dynamic variables, for instance on a panel change, those with checkonce="true" should be mapped to a normal internal IzPack variable and be usable for instance in UserInputPanels as default value to be shown in edit fields.

Example:

install.xml:
```xml

```
Resource userInputSpec.xml:
```xml

```

In the above example, as soon as the condition haveInstallPath evaluates true and the dynamic variables are refreshed (for instance after leaving the TargetPanel), the value of the variable address can never receive the value the user entered on the user input panel, because it is overwritten with the frozen value of the appropriate dynamic variable.
Instead, overwriting a variable defined as dynamic variable with checkonce="true" should be possible from other sources, like user input fields.
This does not have effect on dynamic variables which should be always renewed, thus, with checkonce="false" (default for dynamic variables).