[izpack-devel] problem with ConditionalUserInputPanel

Breuer, Péter Peter.Breuer at f-it.com
Tue Jul 25 10:52:21 CEST 2006


Hi!

I tried to use the ConditionalUserInputPanel in izPack, but unfortunately i get the following error message like: "only = and != allowed".
I checked the value of the variables in the panelActivate() method of ConditionalUserInputPanel.java, but it seems all three strings are null. 
What's wrong? If anybody have a working example about the using ConditionalUserInputPanel, please send it to the following address: comp at zpok dot hu

best regards,
comp

---

Here is a part of my install.xml:

<resources>
	...
        <variable name="compareToVariable.1" value="fit.testvar"/>
        <variable name="compareToOperator.1" value="="/>
        <variable name="compareToValue.1" value="value1"/>

        <variable name="compareToVariable.2" value="fit.testvar"/>
        <variable name="compareToOperator.2" value="!="/>
        <variable name="compareToValue.2" value="value2"/>
	...
</resources>

<panels>
	...
        <panel classname="UserInputPanel"/>
        <panel classname="ConditionalUserInputPanel"/>
        <panel classname="ConditionalUserInputPanel"/>
        <panel classname="FinishPanel"/>
	...
</panels>

---




More information about the izpack-devel mailing list