Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When you need to capture user input that will be available to your installer then you need to use the UserInputPanel.

This panel allows you to prompt the user for data that you can use later in the installation process.

...

The user input panel can be populated with UI elements. The specification supports text labels, input elements, explanatory text and some minor formatting options.

Code Block
<userInput><izpack:userinput version="5.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:izpack="http://izpack.org/schema/userinput" xsi:schemaLocation="http://izpack.org/schema/userinput http://izpack.org/schema/5.0/izpack-userinput-5.0.xsd">
  <panel id="proxypanel">
    <field type="staticText" align="left" txt="Enter the Information required to connect to your proxy" id="input.title"/>
    <field type="text" variable="proxyaddress">
      <spec txt="Proxy Host:" id="input.proxy" size="25" set=""/>
    </field>
    <field type="text" variable="proxyPort">
      <spec txt="Proxy Port:" id="input.port" size="6" set=""/>
    </field>
    <field type="text" variable="proxyUsername">
      <spec txt="Proxy Username:" id="input.port" size="20" set=""/>
    </field>
    <field type="password" variable="proxyPassword">
      <spec txt="Proxy Password:" id="input.port" size="20" set=""/>
    </field>
  </panel>
</userInput>izpack:userinput>

The following types of user input elements are supported:

...