1
|
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
2
|
<userInput>
|
3
|
<panel order="0">
|
4
|
<field size="2" txt="Sitools properties" type="title" id="input.title" />
|
5
|
|
6
|
<field txt="Host properties" type="staticText" id="input.host.title" />
|
7
|
<field type="text" variable="host_domain">
|
8
|
<spec size="20" txt="Host domain" set="localhost" id="input.host_domain" />
|
9
|
<validator class="com.izforge.izpack.util.NotEmptyValidator"
|
10
|
id="input.host.name.validator" txt="Host domain is a required field" />
|
11
|
</field>
|
12
|
<field type="text" variable="public_host_domain">
|
13
|
<spec size="20" txt="Public host domain" set="http://localhost:8182"
|
14
|
id="input.public_host_domain" />
|
15
|
</field>
|
16
|
<field type="text" variable="host_port">
|
17
|
<spec size="20" txt="Host port" set="8182" id="input.host_port" />
|
18
|
<validator class="com.izforge.izpack.util.RegularExpressionValidator"
|
19
|
txt="Host port must be a number" id="input.host.port.validator">
|
20
|
<param name="pattern" value="\d+" />
|
21
|
</validator>
|
22
|
</field>
|
23
|
|
24
|
<field type="space" />
|
25
|
<field type="divider" />
|
26
|
<field type="space" />
|
27
|
|
28
|
<field txt="Email properties" type="staticText" id="input.email.title" />
|
29
|
<field type="rule" variable="emailAddress">
|
30
|
<spec size="20" txt="Email Address" id="input.email_address"
|
31
|
layout="O:19:U @ O:10:U . O:4:U" />
|
32
|
</field>
|
33
|
<field type="text" variable="smtpServer">
|
34
|
<spec set="smtp://" size="20" txt="SMTP Server" id="input.smtp_server" />
|
35
|
</field>
|
36
|
<field type="text" variable="smtpPort">
|
37
|
<spec size="20" set="21" txt="Smtp port" id="input.smtpPort" />
|
38
|
<validator class="com.izforge.izpack.util.RegularExpressionValidator"
|
39
|
txt="Host port must be a number" id="input.email.port.validator">
|
40
|
<param name="pattern" value="\d*" />
|
41
|
</validator>
|
42
|
</field>
|
43
|
<field type="text" variable="smtpId">
|
44
|
<spec size="20" txt="Smtp identifier" id="input.smtp_id" />
|
45
|
</field>
|
46
|
<field type="password" align="left" variable="smtpPwd">
|
47
|
<spec>
|
48
|
<pwd txt="Password:" size="20" set="" id="input.db_pwd.label" />
|
49
|
<pwd txt="Retype Password:" size="20" set=""
|
50
|
id="input.db_pwd.label.retype" />
|
51
|
</spec>
|
52
|
<validator class="com.izforge.izpack.util.PasswordEqualityValidator"
|
53
|
txt="Both keystore passwords must match." id="catalog.email.password.validator" />
|
54
|
</field>
|
55
|
<field type="combo" variable="smtpTls">
|
56
|
<spec id="input.smtpTls">
|
57
|
<choice txt="true" id="input.smtpTls.true" value="true" />
|
58
|
<choice txt="false" id="input.smtpTls.false" value="false"
|
59
|
set="true" />
|
60
|
</spec>
|
61
|
</field>
|
62
|
|
63
|
<field type="space" />
|
64
|
<field type="divider" />
|
65
|
<field type="space" />
|
66
|
|
67
|
<field txt="Proxy Properties" type="staticText" id="input.proxy.title" />
|
68
|
<field type="text" variable="proxy_host">
|
69
|
<spec size="20" txt="Proxy host" id="input.proxy_host" />
|
70
|
</field>
|
71
|
<field type="text" variable="proxy_port">
|
72
|
<spec size="20" txt="Proxy port" id="input.proxy_port" />
|
73
|
<validator class="com.izforge.izpack.util.RegularExpressionValidator"
|
74
|
txt="Host proxy must be a number" id="input.proxy.port.validator">
|
75
|
<param name="pattern" value="\d*" />
|
76
|
</validator>
|
77
|
</field>
|
78
|
<field type="text" variable="proxy_user">
|
79
|
<spec size="20" txt="Proxy user" id="input.proxy_user" />
|
80
|
</field>
|
81
|
<field type="text" variable="non_proxy_hosts">
|
82
|
<spec size="20" txt="Non proxy hosts" id="input.non_proxy_hosts"
|
83
|
set="localhost|127.0.0.1" />
|
84
|
</field>
|
85
|
<field type="password" align="left" variable="proxy_pwd">
|
86
|
<spec>
|
87
|
<pwd txt="Password:" size="20" set="" id="input.proxy_pwd.label" />
|
88
|
<pwd txt="Retype Password:" size="20" set=""
|
89
|
id="input.proxy_pwd_retype.label" />
|
90
|
</spec>
|
91
|
<validator class="com.izforge.izpack.util.PasswordEqualityValidator"
|
92
|
txt="Both keystore passwords must match." id="catalog.proxy.password.validator" />
|
93
|
</field>
|
94
|
<field type="combo" variable="with_proxy">
|
95
|
<spec id="input.enable_proxy" txt="Enable proxy">
|
96
|
<choice txt="true" id="input.enable_proxy.true" value="true" />
|
97
|
<choice txt="false" id="input.enable_proxy.false" value="false"
|
98
|
set="true" />
|
99
|
</spec>
|
100
|
</field>
|
101
|
</panel>
|
102
|
|
103
|
<panel order="1">
|
104
|
<field size="2" txt="Database type" type="title"
|
105
|
id="input.title.dbType" />
|
106
|
<field type="combo" variable="input.database.dbType">
|
107
|
<description align="left" txt="Please, choose the type of user database management"
|
108
|
id="input.dbType.description.label" />
|
109
|
<spec id="input.database.type.label">
|
110
|
<choice txt="external" id="input.database.type.external" value="external" set="true" />
|
111
|
<choice txt="embedded" id="input.database.type.embedded" value="embedded"/>
|
112
|
</spec>
|
113
|
</field>
|
114
|
</panel>
|
115
|
<panel order="2">
|
116
|
|
117
|
<field size="2" txt="Database properties" type="title"
|
118
|
id="input.title.dbProp" />
|
119
|
<field type="combo" variable="input.database.driver" conditionid="remoteDatabase">
|
120
|
<description align="left" txt="Choose a database driver"
|
121
|
id="input.database.description.label" />
|
122
|
<spec id="input.database.driver.label">
|
123
|
<choice txt="mysql" id="input.mysql.label" value="mysql" />
|
124
|
<choice txt="postgresql" id="input.postgresql.label" value="postgresql" set="true" />
|
125
|
</spec>
|
126
|
</field>
|
127
|
|
128
|
<field type="combo" variable="input.database.driver" conditionid="embeddedDatabase" >
|
129
|
<description align="left" txt="Choose a database driver"
|
130
|
id="input.database.description.label" />
|
131
|
<spec id="input.database.driver.label">
|
132
|
<choice txt="hsqldb" id="input.hsqldb.label" value="hsqldb"
|
133
|
set="true" />
|
134
|
</spec>
|
135
|
</field>
|
136
|
|
137
|
<field type="text" variable="input.database.hostname"
|
138
|
conditionid="remoteDatabase">
|
139
|
<spec txt="Database host name: " set="localhost"
|
140
|
id="input.database.hostname.label" size="15" />
|
141
|
<validator class="com.izforge.izpack.util.NotEmptyValidator"
|
142
|
id="catalog.database.name.validator" txt="hostname is a required field" />
|
143
|
</field>
|
144
|
|
145
|
<field type="text" variable="input.database.port" conditionid="remoteDatabase">
|
146
|
<spec txt="Database port: " id="input.database.port.label" size="15"
|
147
|
set="5432" />
|
148
|
<validator class="com.izforge.izpack.util.RegularExpressionValidator"
|
149
|
txt="Database port must be a number" id="input.database.port.validator">
|
150
|
<param name="pattern" value="\d+" />
|
151
|
</validator>
|
152
|
</field>
|
153
|
|
154
|
<field type="text" variable="input.database.filepath"
|
155
|
conditionid="embeddedDatabase">
|
156
|
<spec txt="Database file path: " set="${INSTALL_PATH}/data/HSQLDB"
|
157
|
id="input.database.filepath.label" size="15" />
|
158
|
<validator class="com.izforge.izpack.util.NotEmptyValidator"
|
159
|
id="catalog.database.name.validator" txt="Database filePath is a required field" />
|
160
|
</field>
|
161
|
|
162
|
<field type="text" variable="input.database.name">
|
163
|
<spec txt="Database name: " id="input.database.name.label" size="15"
|
164
|
set="CNES" />
|
165
|
<validator class="com.izforge.izpack.util.NotEmptyValidator"
|
166
|
id="input.database.name.validator" txt="Database name is a required field" />
|
167
|
</field>
|
168
|
<field type="text" variable="db_schema">
|
169
|
<spec txt="Schema name: " id="input.database.schema.label" size="15"
|
170
|
set="sitools" />
|
171
|
</field>
|
172
|
<field type="text" variable="db_user">
|
173
|
<spec size="15" txt="User" set="" id="input.db_user.label" />
|
174
|
<validator class="com.izforge.izpack.util.NotEmptyValidator"
|
175
|
id="input.user.name.validator" txt="User name is a required field" />
|
176
|
</field>
|
177
|
<field type="password" align="left" variable="db_pwd">
|
178
|
<spec>
|
179
|
<pwd txt="Password:" size="15" set="" id="input.db_pwd.label" />
|
180
|
<pwd txt="Retype Password:" size="15" set="" />
|
181
|
</spec>
|
182
|
<validator class="com.izforge.izpack.util.PasswordEqualityValidator"
|
183
|
txt="Both keystore passwords must match." id="catalog.database.password.validator" />
|
184
|
</field>
|
185
|
|
186
|
<field type="radio" variable="dbInstallSelected">
|
187
|
<description align="left"
|
188
|
txt="Do you want to install the SITools2 User Database ?" id="input.db_installed" />
|
189
|
<spec>
|
190
|
<choice txt="Yes" id="input.db_installed.yes" value="true" set="true"/>
|
191
|
<choice txt="No" id="input.db_installed.no" value="false"/>
|
192
|
</spec>
|
193
|
</field>
|
194
|
|
195
|
</panel>
|
196
|
|
197
|
|
198
|
|
199
|
</userInput>
|