[izpack-users] Multiple <panel> tags in UserInput

jschnitter jschnitter at yahoo.com
Fri Oct 13 23:09:23 CEST 2006


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.




More information about the izpack-users mailing list