All Downloads are FREE. Search and download functionalities are using the official Maven repository.

res.userInputSpec.xml Maven / Gradle / Ivy

There is a newer version: 1.2.7
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<!--
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  - JASMINe
  - Copyright (C) 2009 Bull S.A.S.
  - Contact: [email protected]
  -
  - This library is free software; you can redistribute it and/or
  - modify it under the terms of the GNU Lesser General Public
  - License as published by the Free Software Foundation; either
  - version 2.1 of the License, or any later version.
  -
  - This library is distributed in the hope that it will be useful,
  - but WITHOUT ANY WARRANTY; without even the implied warranty of
  - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  - Lesser General Public License for more details.
  -
  - You should have received a copy of the GNU Lesser General Public
  - License along with this library; if not, write to the Free Software
  - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  - USA
  -
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  - $Id$
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-->
<userInput>

  <panel id="panel.jonas_install">
    <field type="title" id="panel.jonas_install.title" />
    <field type="staticText" align="left" id="panel.jonas_install.explanation1" />
    <field type="staticText" align="left" id="panel.jonas_install.explanation2" />
    <field type="staticText" align="left" id="panel.jonas_install.explanation3" />
    <field type="space" />
    <field type="radio" variable="useExistingJonasBase">
      <spec>
        <choice id="panel.jonas_install.choice.existing" value="true" />
        <choice id="panel.jonas_install.choice.create" value="false" set="true" />
      </spec>
    </field>
  </panel>

  <panel id="panel.jonas_root">
    <field type="title" id="panel.jonas_root.title" />
    <field type="dir" variable="JONAS_ROOT">
      <spec id="panel.jonas_root.jonas_root" size="25"
        set="${ENV[JONAS_ROOT]}" />
    </field>
    <field type="space" />
    <field type="space" />
    <field type="staticText" align="left" id="panel.jonas_root.explanation" />
  </panel>
  
  <panel id="panel.jonas_base">
    <field type="title" id="panel.jonas_base.title" />
    <field type="staticText" align="left" id="panel.jonas_base.explanation" />
    <field type="space" />
    <field type="dir" variable="INSTALL_PATH">
      <spec id="panel.jonas_base.jonas_base" size="25"
        set="${ENV[JONAS_BASE]}" />
    </field>
  </panel>
  
  <panel id="panel.javahome">
    <field type="title" id="panel.javahome.title" />
    <field type="staticText" align="left" id="panel.javahome.explanation" />
    <field type="space" />
    <field type="space" />
    <field type="dir" variable="JAVA_HOME" mustExist="true" >
      <spec id="panel.javahome.dir" size="25" set="${ENV[JAVA_HOME]}" />
      <validator class="com.izforge.izpack.util.NotEmptyValidator"
        id="panel.javahome.empty.validator" />
    </field>
  </panel>

  <panel id="panel.config.ports">
    <field type="title" id="panel.config.ports.title" />
    <!-- HTTP -->
    <field type="text" variable="http.port">
      <spec id="panel.config.http.port.label" size="4" set="9100" />
      <validator class="com.izforge.izpack.util.NotEmptyValidator"
        id="panel.config.ports.empty.validator" />
      <validator class="com.izforge.izpack.util.PortValidator"
        id="panel.config.ports.port.validator" />
    </field>
    <field type="space" />
    <!-- MBeanCmd -->
    <field type="text" variable="mbeancmd.port">
      <spec id="panel.config.mbeancmd.port.label" size="4" set="18564" />
      <validator class="com.izforge.izpack.util.NotEmptyValidator"
        id="panel.config.ports.empty.validator" />
      <validator class="com.izforge.izpack.util.PortValidator"
        id="panel.config.ports.port.validator" />
    </field>
    <field type="space" />
    <!-- RMI -->
    <field type="text" variable="rmi.port">
      <spec id="panel.config.rmi.port.label" size="4" set="1199" />
      <validator class="com.izforge.izpack.util.NotEmptyValidator"
        id="panel.config.ports.empty.validator" />
      <validator class="com.izforge.izpack.util.PortValidator"
        id="panel.config.ports.port.validator" />
    </field>
    <field type="space" />
    <!-- JMS -->
    <field type="text" variable="jms.port">
      <spec id="panel.config.jms.port.label" size="4" set="16010" />
      <validator class="com.izforge.izpack.util.NotEmptyValidator"
        id="panel.config.ports.empty.validator" />
      <validator class="com.izforge.izpack.util.PortValidator"
        id="panel.config.ports.port.validator" />
    </field>
    <field type="space" />
    <field type="space" />
    <field type="staticText" align="left" id="panel.config.http.port.explanation" />
  </panel>
  
  <panel id="panel.config.database" >
    <field type="title" id="panel.config.database.title" />
    <field type="check" variable="database.use_default">
      <spec id="panel.config.database.use_default" true="true" false="false" set="true" />
    </field>
    <field type="space" />
    <field type="staticText" align="left" id="panel.config.database.explanation" />
    <field type="space" />
    <field type="space" />
    <field type="text" variable="panel.config.database.url">
      <spec id="panel.config.database.url" size="20" />
    </field>
    <field type="text" variable="panel.config.database.username">
      <spec id="panel.config.database.username" size="15" />
    </field>
    <field type="text" variable="panel.config.database.password">
      <spec id="panel.config.database.password" size="15" />
    </field>
  </panel>
  
  <panel id="panel.config.smtp">
    <field type="title" id="panel.config.smtp.title" />
    <field type="text" variable="smtp.server">
      <spec id="panel.config.smtp.server.label" size="20" set="localhost"/>
      <validator class="com.izforge.izpack.util.NotEmptyValidator"
        id="panel.config.smtp.server.empty.validator" />
    </field>
    <field type="text" variable="smtp.port">
      <spec id="panel.config.smtp.port.label" size="4" set="25" />
      <validator class="com.izforge.izpack.util.NotEmptyValidator"
        id="panel.config.smtp.port.empty.validator" />
      <validator class="com.izforge.izpack.util.PortValidator"
        id="panel.config.smtp.port.port.validator" />
    </field>
    <field type="space" />
    <field type="check" variable="smtp.need.authentication">
      <spec id="panel.config.smtp.need_authentication" true="true" false="false" set="false" />
    </field>
    <field type="space" />
    <field type="text" variable="smtp.username">
      <spec id="panel.config.smtp.username.label" size="15" />
    </field>
    <field type="text" variable="smtp.password">
      <spec id="panel.config.smtp.password" size="15" set="" />
    </field>
  </panel>

  <panel id="panel.personnal">
    <field type="title" id="panel.personnal.title" />
    <field type="staticText" id="panel.personnal.explanation" />
    <field type="space" />
    <field type="space" />
    <field type="text" variable="user.email.address">
      <description align="left" />
      <spec id="panel.personnal.email" size="20" set="" />
        <!--<validator class="com.izforge.izpack.util.RegularExpressionValidator" id="panel.personnal.email_invalid">
          <param name="pattern" value="[a-zA-Z0-9._-]{3,}@[a-zA-Z0-9._-]+([.][a-zA-Z0-9_-]+)*[.][a-zA-Z0-9._-]{2,4}" />
        </validator>-->
        <!--<validator class="com.izforge.izpack.util.NotEmptyValidator" id="panel.personnal.email_invalid" />-->
    </field>
    <field type="space" />
    <field type="check" variable="user_agree">
      <spec id="panel.personnal.send"
        true="true" false="false" set="true" />
    </field>
  </panel>

  <panel id="panel.proxy">
    <field type="title" id="panel.proxy.title" />
    <field type="staticText" id="panel.proxy.explanation" />
    <field type="space" />
    <field type="text" variable="installer.proxyaddress">
      <spec id="panel.proxy.address" size="25" set="" />
    </field>
    <field type="text" variable="installer.proxyport">
      <spec id="panel.proxy.port" size="4" set="" />
    </field>
    <field type="text" variable="installer.proxyuser">
      <spec id="panel.proxy.username" size="15" set="" />
    </field>
    <field type="text" variable="installer.proxypwd">
      <spec id="panel.proxy.password" size="15" set="" />
    </field>
  </panel>

</userInput>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy