[izpack-devel] Variables defined in UserInputPanel vs silent mode

Dennis Reil Dennis.Reil at reddot.de
Fri Jan 18 10:42:45 CET 2008


Hmm, if mycondition1 is true, app-version should have a value of 1.4.

Look at http://blog.reil-online.de/2007/12/how-to-debug-variables-and-conditions.html on how to debug condition and variable changes.

Regards,
   Dennis

-----Ursprüngliche Nachricht-----
Von: izpack-devel-bounces at lists.berlios.de [mailto:izpack-devel-bounces at lists.berlios.de] Im Auftrag von Piotr Skowronek
Gesendet: Freitag, 18. Januar 2008 10:09
An: izpack-devel at lists.berlios.de
Betreff: Re: [izpack-devel] Variables defined in UserInputPanel vs silent mode

Dennis Reil pisze:
> Hi,
> 
> The dynamic variables should be used as replacement for variables only defined in UserInputPanel as they are more general and with variables in UserInputPanel you could have problems if changing the panel order in the future.

Hi Dennis,

I was trying to use dynamic variables, but had problems with using 
Conditions with them. The example in docs looks like:
<dynamicvariables>
       <variable name="app-version" value="1.4" condition="mycondition1"
       <variable name="app-version" value="1.4b" 
condition="!mycondition1" />
       <variable name="released-on" value="08/03/2002" />
</dynamicvariables>


But, it seems that app-version variable is destroyed when
mycondition1 is true. It looks like, that second condition removes
previous declaration of app-version. Did you experience such problem?

Regards
Piotr Skowronek
_______________________________________________
izpack-devel mailing list
izpack-devel at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/izpack-devel


More information about the izpack-devel mailing list