[izpack-users] Multiple <panel> tags in UserInput
miraodb
miraodb at hotmail.com
Mon Oct 16 22:52:42 CEST 2006
Hi,
That's an easy one :-)
I will look into doc to see if it's really not there and add it if
necessary...
You should have one line in the panel section per panel !
E.G:
<panels>
<panel classname="HelloPanel" />
<panel classname="UserInputPanel" />
<panel classname="UserInputPanel" />
<panel classname="SimpleFinishPanel" />
</panels>
This will display order=0 and order=1.... and so on !!
Cheers,
Fabrice
----- Original Message -----
From: "jschnitter" <jschnitter at yahoo.com>
To: <izpack-users at lists.berlios.de>
Sent: Friday, October 13, 2006 5:09 PM
Subject: [izpack-users] Multiple <panel> tags in UserInput
>
> Hi,
>
> I've checked the documentation (I'm using version 3.9.0) and this forum,
> but
> have been unable to find a solution. I'm trying to present multiple
> userinput panels in my installation, but have only been able to present a
> single panel.
>
> Per the documentation, I have several <panel> tags in my UserInputSpec.xml
> file like this:
> <userInput>
> <panel order="0">
> <field type="title" align="left" txt="Config Values Panel 1" bold="true"
> id="title.1"/>
> <field type="title" align="left" txt="User Input 1" bold="true"
> id="title.1"/>
> <field type="text" variable="input.1">
> <spec txt="Input Value 1:" id="input.1.label" size="25" set=""/>
> </field>
> </panel>
> <panel order="1">
> <field type="title" align="left" txt="Config Values Panel 2" bold="true"
> id="title.2"/>
> <field type="text" variable="input.2">
> <spec txt="Input Value 2:" id="input.2.label" size="25" set=""/>
> </field>
> </panel>
> </userInput>
>
> The relevant section of my install.xml file looks like this:
> <resources>
> <res id="UserInputSpec.xml" src="user_input.xml"/>
> </resources>
>
> <panels>
> <panel classname="HelloPanel" />
> <panel classname="UserInputPanel" />
> <panel classname="SimpleFinishPanel" />
> </panels>
>
> When I run my install only the panel with order="0" is displayed. How can
> I
> get all of my custom panels to display? Note that I have dozens of input
> values I want to prompt for, which is why I want multiple input panels.
>
> I've seen a posting
> (http://www.nabble.com/panelid-tf2349327.html#a6542016)
> in the developers forum
> which suggests a devlopment fix to make it easier to use multiple input
> panels, however, I'd like to know if this is something that can be
> achieved
> using the 3.9.0 release.
>
> Any input would be greatly appreciated.
>
> Thanks,
>
> Jeff Schnitter
>
> --
> View this message in context:
> http://www.nabble.com/Multiple-%3Cpanel%3E-tags-in-UserInput-tf2439927.html#a6803853
> Sent from the izpack users mailing list archive at Nabble.com.
>
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-users
>
>
More information about the izpack-users
mailing list