Files
yacos/YACOSCore/Install/userInputSpec.xml

19 lines
939 B
XML

<userInput>
<panel order="0">
<field type="text" variable="server.address">
<description align="left" txt="This is the address that will be used to access the server."
id="server.address.text"/>
<spec txt="Enter the server address :" id="server.address.label" size="20" set="$HOST_NAME"/>
</field>
<field type="text" variable="server.port">
<description align="left" txt="Please enter the port on which the web server should be accessible. Please note that on most systems you will need to have administrative privileges to run the server on ports lesser than 1024."
id="server.port.text"/>
<spec txt="Enter the server port :" id="server.port.label" size="4" set="8080"/>
<validator
class="com.izforge.izpack.util.RegularExpressionValidator"
txt="Invalid server port" id="server.port.validator.text">
<param name="pattern" value="[0-9]{2,5}" />
</validator>
</field>
</panel>
</userInput>