Warning: Attempt to read property "date" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "msg" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "date" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "msg" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "date" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "msg" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "date" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "msg" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/www/websvn.26th.net/html/blame.php on line 247
WebSVN – general – Blame – /hostadmiral/trunk/webapp/WEB-INF/struts-config.xml/ – Rev 913

Subversion Repositories general

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
899 dev 1
<?xml version="1.0" encoding="ISO-8859-1" ?>
2
 
3
<!DOCTYPE struts-config PUBLIC
4
	"-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
5
	"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
6
 
7
<struts-config>
8
	<form-beans>
9
		<form-bean
905 dev 10
				name="ak.hostcaptain.core.form.LoginForm"
899 dev 11
				type="org.apache.struts.validator.DynaValidatorForm">
12
			<form-property name="login"       type="java.lang.String"   />
13
			<form-property name="password"    type="java.lang.String"   />
14
		</form-bean>
15
 
16
		<form-bean
905 dev 17
				name="ak.hostcaptain.core.form.ChangePasswordForm"
18
				type="ak.hostcaptain.core.form.UserPasswordForm">
899 dev 19
			<form-property name="oldpassword" type="java.lang.String"   />
20
			<form-property name="password"    type="java.lang.String"   />
21
			<form-property name="password2"   type="java.lang.String"   />
22
		</form-bean>
23
 
24
		<form-bean
905 dev 25
				name="ak.hostcaptain.core.form.UserForm"
899 dev 26
				type="org.apache.struts.validator.DynaValidatorForm">
27
			<form-property name="id"          type="java.lang.String"   />
28
		</form-bean>
29
 
30
		<form-bean
905 dev 31
				name="ak.hostcaptain.core.form.UserEditForm"
32
				type="ak.hostcaptain.core.form.UserPasswordForm">
899 dev 33
			<form-property name="id"          type="java.lang.String"   />
34
			<form-property name="login"       type="java.lang.String"   />
35
			<form-property name="password"    type="java.lang.String"   />
36
			<form-property name="password2"   type="java.lang.String"   />
911 dev 37
			<form-property name="boss"        type="java.lang.String"   />
38
			<form-property name="superuser"   type="java.lang.Boolean"  />
913 dev 39
			<form-property name="enabled"     type="java.lang.Boolean"  />
40
			<form-property name="comment"     type="java.lang.String"   />
899 dev 41
		</form-bean>
42
 
43
		<form-bean
905 dev 44
				name="ak.hostcaptain.core.form.SystemUserForm"
899 dev 45
				type="org.apache.struts.validator.DynaValidatorForm">
46
			<form-property name="id"          type="java.lang.String"   />
47
		</form-bean>
48
 
49
		<form-bean
905 dev 50
				name="ak.hostcaptain.core.form.SystemUserEditForm"
899 dev 51
				type="org.apache.struts.validator.DynaValidatorForm">
52
			<form-property name="id"          type="java.lang.String"   />
53
			<form-property name="uid"         type="java.lang.String"   />
54
			<form-property name="name"        type="java.lang.String"   />
911 dev 55
			<form-property name="owner"       type="java.lang.String"   />
913 dev 56
			<form-property name="enabled"     type="java.lang.Boolean"  />
57
			<form-property name="comment"     type="java.lang.String"   />
899 dev 58
		</form-bean>
59
 
60
		<form-bean
905 dev 61
				name="ak.hostcaptain.core.form.InetDomainForm"
899 dev 62
				type="org.apache.struts.validator.DynaValidatorForm">
63
			<form-property name="id"          type="java.lang.String"   />
64
		</form-bean>
65
 
66
		<form-bean
905 dev 67
				name="ak.hostcaptain.core.form.InetDomainEditForm"
899 dev 68
				type="org.apache.struts.validator.DynaValidatorForm">
69
			<form-property name="id"          type="java.lang.String"   />
70
			<form-property name="name"        type="java.lang.String"   />
71
			<form-property name="owner"       type="java.lang.String"   />
913 dev 72
			<form-property name="enabled"     type="java.lang.Boolean"  />
73
			<form-property name="comment"     type="java.lang.String"   />
899 dev 74
		</form-bean>
75
 
76
		<form-bean
905 dev 77
				name="ak.hostcaptain.core.form.MailboxForm"
899 dev 78
				type="org.apache.struts.validator.DynaValidatorForm">
79
			<form-property name="id"          type="java.lang.String"   />
80
		</form-bean>
81
 
82
		<form-bean
905 dev 83
				name="ak.hostcaptain.core.form.MailboxEditForm"
84
				type="ak.hostcaptain.core.form.UserPasswordForm">
899 dev 85
			<form-property name="id"          type="java.lang.String"   />
86
			<form-property name="login"       type="java.lang.String"   />
87
			<form-property name="password"    type="java.lang.String"   />
88
			<form-property name="password2"   type="java.lang.String"   />
89
			<form-property name="domain"      type="java.lang.String"   />
90
			<form-property name="owner"       type="java.lang.String"   />
91
			<form-property name="viruscheck"  type="java.lang.Boolean"  />
92
			<form-property name="spamcheck"   type="java.lang.Boolean"  />
93
			<form-property name="systemuser"  type="java.lang.String"   />
913 dev 94
			<form-property name="enabled"     type="java.lang.Boolean"  />
95
			<form-property name="comment"     type="java.lang.String"   />
899 dev 96
		</form-bean>
97
 
98
		<form-bean
905 dev 99
				name="ak.hostcaptain.core.form.MailAliasForm"
899 dev 100
				type="org.apache.struts.validator.DynaValidatorForm">
101
			<form-property name="id"          type="java.lang.String"   />
102
		</form-bean>
103
 
104
		<form-bean
905 dev 105
				name="ak.hostcaptain.core.form.MailAliasEditForm"
899 dev 106
				type="ak.strutsx.ResizeableDynaValidatorForm">
107
			<form-property name="id"          type="java.lang.String"   />
108
			<form-property name="address"     type="java.lang.String"   />
109
			<form-property name="domain"      type="java.lang.String"   />
110
			<form-property name="owner"       type="java.lang.String"   />
913 dev 111
			<form-property name="enabled"     type="java.lang.Boolean"  />
112
			<form-property name="comment"     type="java.lang.String"   />
905 dev 113
			<form-property name="dests"       type="ak.hostcaptain.core.form.MailAliasDestBean[]"
899 dev 114
				size="1" />
115
		</form-bean>
116
	</form-beans>
117
 
118
	<global-exceptions>
119
		<!-- FIXME: it doesn't work :( -->
913 dev 120
		<!-- exception
899 dev 121
			key="GeneralException"
122
			type="java.lang.Exception"
123
			path="/generalError.jsp"
913 dev 124
		/ -->
899 dev 125
 
126
		<exception
127
			key="UserException"
905 dev 128
			type="ak.hostcaptain.util.UserException"
129
			handler="ak.hostcaptain.core.action.UserExceptionHandler"
899 dev 130
		/>
131
	</global-exceptions>
132
 
133
	<global-forwards>
134
		<forward
135
			name="error"
136
			path="/error.jsp"
137
		/>
138
	</global-forwards>
139
 
140
	<action-mappings>
141
		<action
142
			path="/index"
905 dev 143
			type="ak.hostcaptain.core.action.IndexAction"
899 dev 144
		>
145
			<forward name="success" path="/index.jsp" />
146
		</action>
147
 
148
		<!-- == system ============================================================================ -->
149
 
150
		<action
151
			path="/system/login"
152
			forward="/system/login.jsp" />
153
 
154
		<action
155
			path="/system/login/submit"
905 dev 156
			type="ak.hostcaptain.core.action.LoginAction"
157
			name="ak.hostcaptain.core.form.LoginForm"
899 dev 158
			validate="true"
159
			scope="request"
160
			input="/system/login.jsp"
161
		>
162
			<forward name="default" path="/index.do" redirect="true" />
163
		</action>
164
 
165
		<action
166
			path="/system/logout"
905 dev 167
			type="ak.hostcaptain.core.action.LogoutAction"
899 dev 168
		>
169
			<forward name="default" path="/system/logout.jsp" />
170
		</action>
171
 
172
		<!-- == user ============================================================================== -->
173
 
174
		<action
175
			path="/user/password/show"
905 dev 176
			type="ak.hostcaptain.core.action.ChangePasswordAction"
899 dev 177
			parameter="first"
178
		>
179
			<forward name="default" path="/user/password/change.jsp" />
180
		</action>
181
 
182
		<action
183
			path="/user/password/submit"
905 dev 184
			type="ak.hostcaptain.core.action.ChangePasswordAction"
899 dev 185
			parameter="submit"
905 dev 186
			name="ak.hostcaptain.core.form.ChangePasswordForm"
899 dev 187
			validate="true"
188
			scope="request"
189
			input="/user/password/change.jsp"
190
		>
191
		</action>
192
 
193
		<action
194
			path="/user/list"
905 dev 195
			type="ak.hostcaptain.core.action.UserAction"
899 dev 196
			parameter="list"
197
		>
198
			<forward name="default" path="/user/list.jsp" />
199
		</action>
200
 
201
		<action
202
			path="/user/delete"
905 dev 203
			type="ak.hostcaptain.core.action.UserAction"
899 dev 204
			parameter="delete"
905 dev 205
			name="ak.hostcaptain.core.form.UserForm"
899 dev 206
			validate="true"
207
			scope="request"
208
		>
209
		</action>
210
 
211
		<action
212
			path="/user/edit"
905 dev 213
			type="ak.hostcaptain.core.action.UserAction"
899 dev 214
			parameter="edit"
905 dev 215
			name="ak.hostcaptain.core.form.UserForm"
899 dev 216
			validate="true"
217
			scope="request"
218
		>
219
			<forward name="default" path="/user/edit.jsp" />
220
		</action>
221
 
222
		<action
223
			path="/user/submit"
905 dev 224
			type="ak.hostcaptain.core.action.UserAction"
899 dev 225
			parameter="submit"
905 dev 226
			name="ak.hostcaptain.core.form.UserEditForm"
899 dev 227
			validate="true"
228
			scope="request"
229
			input="/user/edit.jsp"
230
		>
231
		</action>
232
 
233
		<!-- == system user ======================================================================= -->
234
 
235
		<action
236
			path="/user/system/list"
905 dev 237
			type="ak.hostcaptain.core.action.SystemUserAction"
899 dev 238
			parameter="list"
239
		>
240
			<forward name="default" path="/user/system/list.jsp" />
241
		</action>
242
 
243
		<action
244
			path="/user/system/delete"
905 dev 245
			type="ak.hostcaptain.core.action.SystemUserAction"
899 dev 246
			parameter="delete"
905 dev 247
			name="ak.hostcaptain.core.form.SystemUserForm"
899 dev 248
			validate="true"
249
			scope="request"
250
		>
251
		</action>
252
 
253
		<action
254
			path="/user/system/edit"
905 dev 255
			type="ak.hostcaptain.core.action.SystemUserAction"
899 dev 256
			parameter="edit"
905 dev 257
			name="ak.hostcaptain.core.form.SystemUserForm"
899 dev 258
			validate="true"
259
			scope="request"
260
		>
261
			<forward name="default" path="/user/system/edit.jsp" />
262
		</action>
263
 
264
		<action
265
			path="/user/system/submit"
905 dev 266
			type="ak.hostcaptain.core.action.SystemUserAction"
899 dev 267
			parameter="submit"
905 dev 268
			name="ak.hostcaptain.core.form.SystemUserEditForm"
899 dev 269
			validate="true"
270
			scope="request"
271
			input="/user/system/edit.jsp"
272
		>
273
		</action>
274
 
275
		<!-- == system user ======================================================================= -->
276
 
277
		<action
278
			path="/domain/list"
905 dev 279
			type="ak.hostcaptain.core.action.InetDomainAction"
899 dev 280
			parameter="list"
281
		>
282
			<forward name="default" path="/domain/list.jsp" />
283
		</action>
284
 
285
		<action
286
			path="/domain/delete"
905 dev 287
			type="ak.hostcaptain.core.action.InetDomainAction"
899 dev 288
			parameter="delete"
905 dev 289
			name="ak.hostcaptain.core.form.InetDomainForm"
899 dev 290
			validate="true"
291
			scope="request"
292
		>
293
		</action>
294
 
295
		<action
296
			path="/domain/edit"
905 dev 297
			type="ak.hostcaptain.core.action.InetDomainAction"
899 dev 298
			parameter="edit"
905 dev 299
			name="ak.hostcaptain.core.form.InetDomainForm"
899 dev 300
			validate="true"
301
			scope="request"
302
		>
303
			<forward name="default" path="/domain/edit.jsp" />
304
		</action>
305
 
306
		<action
307
			path="/domain/submit"
905 dev 308
			type="ak.hostcaptain.core.action.InetDomainAction"
899 dev 309
			parameter="submit"
905 dev 310
			name="ak.hostcaptain.core.form.InetDomainEditForm"
899 dev 311
			validate="true"
312
			scope="request"
313
			input="/domain/edit.jsp"
314
		>
315
		</action>
316
 
317
		<!-- == mail boxes ======================================================================== -->
318
 
319
		<action
320
			path="/mail/box/list"
905 dev 321
			type="ak.hostcaptain.core.action.MailboxAction"
899 dev 322
			parameter="list"
323
		>
324
			<forward name="default" path="/mail/box/list.jsp" />
325
		</action>
326
 
327
		<action
328
			path="/mail/box/delete"
905 dev 329
			type="ak.hostcaptain.core.action.MailboxAction"
899 dev 330
			parameter="delete"
905 dev 331
			name="ak.hostcaptain.core.form.MailboxForm"
899 dev 332
			validate="true"
333
			scope="request"
334
		>
335
		</action>
336
 
337
		<action
338
			path="/mail/box/edit"
905 dev 339
			type="ak.hostcaptain.core.action.MailboxAction"
899 dev 340
			parameter="edit"
905 dev 341
			name="ak.hostcaptain.core.form.MailboxForm"
899 dev 342
			validate="true"
343
			scope="request"
344
		>
345
			<forward name="default" path="/mail/box/edit.jsp" />
346
		</action>
347
 
348
		<action
349
			path="/mail/box/submit"
905 dev 350
			type="ak.hostcaptain.core.action.MailboxAction"
899 dev 351
			parameter="submit"
905 dev 352
			name="ak.hostcaptain.core.form.MailboxEditForm"
899 dev 353
			validate="true"
354
			scope="request"
355
			input="/mail/box/edit.jsp"
356
		>
357
		</action>
358
 
359
		<!-- == mail aliases ====================================================================== -->
360
 
361
		<action
362
			path="/mail/alias/list"
905 dev 363
			type="ak.hostcaptain.core.action.MailAliasAction"
899 dev 364
			parameter="list"
365
		>
366
			<forward name="default" path="/mail/alias/list.jsp" />
367
		</action>
368
 
369
		<action
370
			path="/mail/alias/delete"
905 dev 371
			type="ak.hostcaptain.core.action.MailAliasAction"
899 dev 372
			parameter="delete"
905 dev 373
			name="ak.hostcaptain.core.form.MailAliasForm"
899 dev 374
			validate="true"
375
			scope="request"
376
		>
377
		</action>
378
 
379
		<action
380
			path="/mail/alias/edit"
905 dev 381
			type="ak.hostcaptain.core.action.MailAliasAction"
899 dev 382
			parameter="edit"
905 dev 383
			name="ak.hostcaptain.core.form.MailAliasForm"
899 dev 384
			validate="true"
385
			scope="request"
386
		>
387
			<forward name="default" path="/mail/alias/edit.jsp" />
388
		</action>
389
 
390
		<action
391
			path="/mail/alias/submit"
905 dev 392
			type="ak.hostcaptain.core.action.MailAliasAction"
899 dev 393
			parameter="submit"
905 dev 394
			name="ak.hostcaptain.core.form.MailAliasEditForm"
899 dev 395
			validate="true"
396
			scope="request"
397
			input="/mail/alias/edit.do"
398
		>
399
			<forward name="back"    path="/mail/alias/edit.jsp" />
400
		</action>
401
 
402
	</action-mappings>
403
 
404
	<controller processorClass="ak.strutsx.RequestProcessorX" />
405
 
905 dev 406
	<message-resources parameter="ak.hostcaptain.core.CoreResources" />
899 dev 407
 
408
	<!-- ========== Plug-Ins Configuration ================================== -->
409
 
410
	<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
411
		<set-property property="pathnames"
412
			value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml" />
413
	</plug-in>
414
 
415
</struts-config>