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 925

Subversion Repositories general

Rev

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

Rev Author Line No. Line
920 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
924 dev 10
				name="ak.hostadmiral.core.form.LoginForm"
920 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
924 dev 17
				name="ak.hostadmiral.core.form.ChangePasswordForm"
18
				type="ak.hostadmiral.core.form.UserPasswordForm">
920 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
924 dev 25
				name="ak.hostadmiral.core.form.UserForm"
920 dev 26
				type="org.apache.struts.validator.DynaValidatorForm">
27
			<form-property name="id"          type="java.lang.String"   />
28
		</form-bean>
29
 
30
		<form-bean
924 dev 31
				name="ak.hostadmiral.core.form.UserEditForm"
32
				type="ak.hostadmiral.core.form.UserPasswordForm">
920 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"   />
37
			<form-property name="boss"        type="java.lang.String"   />
38
			<form-property name="superuser"   type="java.lang.Boolean"  />
39
			<form-property name="enabled"     type="java.lang.Boolean"  />
40
			<form-property name="comment"     type="java.lang.String"   />
41
		</form-bean>
42
 
43
		<form-bean
924 dev 44
				name="ak.hostadmiral.core.form.SystemUserForm"
920 dev 45
				type="org.apache.struts.validator.DynaValidatorForm">
46
			<form-property name="id"          type="java.lang.String"   />
47
		</form-bean>
48
 
49
		<form-bean
924 dev 50
				name="ak.hostadmiral.core.form.SystemUserEditForm"
920 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"   />
55
			<form-property name="owner"       type="java.lang.String"   />
56
			<form-property name="enabled"     type="java.lang.Boolean"  />
57
			<form-property name="comment"     type="java.lang.String"   />
58
		</form-bean>
59
 
60
		<form-bean
924 dev 61
				name="ak.hostadmiral.core.form.InetDomainForm"
920 dev 62
				type="org.apache.struts.validator.DynaValidatorForm">
63
			<form-property name="id"          type="java.lang.String"   />
64
		</form-bean>
65
 
66
		<form-bean
924 dev 67
				name="ak.hostadmiral.core.form.InetDomainEditForm"
920 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"   />
72
			<form-property name="enabled"     type="java.lang.Boolean"  />
73
			<form-property name="comment"     type="java.lang.String"   />
74
		</form-bean>
75
 
76
		<form-bean
924 dev 77
				name="ak.hostadmiral.core.form.MailboxForm"
920 dev 78
				type="org.apache.struts.validator.DynaValidatorForm">
79
			<form-property name="id"          type="java.lang.String"   />
80
		</form-bean>
81
 
82
		<form-bean
924 dev 83
				name="ak.hostadmiral.core.form.MailboxEditForm"
84
				type="ak.hostadmiral.core.form.UserPasswordForm">
920 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"   />
94
			<form-property name="enabled"     type="java.lang.Boolean"  />
95
			<form-property name="comment"     type="java.lang.String"   />
96
		</form-bean>
97
 
98
		<form-bean
924 dev 99
				name="ak.hostadmiral.core.form.MailAliasForm"
920 dev 100
				type="org.apache.struts.validator.DynaValidatorForm">
101
			<form-property name="id"          type="java.lang.String"   />
102
		</form-bean>
103
 
104
		<form-bean
924 dev 105
				name="ak.hostadmiral.core.form.MailAliasEditForm"
920 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"   />
111
			<form-property name="enabled"     type="java.lang.Boolean"  />
112
			<form-property name="comment"     type="java.lang.String"   />
924 dev 113
			<form-property name="dests"       type="ak.hostadmiral.core.form.MailAliasDestBean[]"
920 dev 114
				size="1" />
115
		</form-bean>
116
	</form-beans>
117
 
118
	<global-exceptions>
119
		<!-- FIXME: it doesn't work :( -->
120
		<!-- exception
121
			key="GeneralException"
122
			type="java.lang.Exception"
123
			path="/generalError.jsp"
124
		/ -->
125
 
126
		<exception
127
			key="UserException"
924 dev 128
			type="ak.hostadmiral.util.UserException"
129
			handler="ak.hostadmiral.core.action.UserExceptionHandler"
920 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"
924 dev 143
			type="ak.hostadmiral.core.action.IndexAction"
920 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"
924 dev 156
			type="ak.hostadmiral.core.action.LoginAction"
157
			name="ak.hostadmiral.core.form.LoginForm"
920 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"
924 dev 167
			type="ak.hostadmiral.core.action.LogoutAction"
920 dev 168
		>
169
			<forward name="default" path="/system/logout.jsp" />
170
		</action>
171
 
172
		<!-- == user ============================================================================== -->
173
 
174
		<action
175
			path="/user/password/show"
924 dev 176
			type="ak.hostadmiral.core.action.ChangePasswordAction"
920 dev 177
			parameter="first"
178
		>
179
			<forward name="default" path="/user/password/change.jsp" />
180
		</action>
181
 
182
		<action
183
			path="/user/password/submit"
924 dev 184
			type="ak.hostadmiral.core.action.ChangePasswordAction"
920 dev 185
			parameter="submit"
924 dev 186
			name="ak.hostadmiral.core.form.ChangePasswordForm"
920 dev 187
			validate="true"
188
			scope="request"
189
			input="/user/password/change.jsp"
190
		>
191
		</action>
192
 
193
		<action
194
			path="/user/list"
924 dev 195
			type="ak.hostadmiral.core.action.UserAction"
920 dev 196
			parameter="list"
197
		>
198
			<forward name="default" path="/user/list.jsp" />
199
		</action>
200
 
201
		<action
202
			path="/user/delete"
924 dev 203
			type="ak.hostadmiral.core.action.UserAction"
920 dev 204
			parameter="delete"
924 dev 205
			name="ak.hostadmiral.core.form.UserForm"
920 dev 206
			validate="true"
207
			scope="request"
208
		>
209
		</action>
210
 
211
		<action
212
			path="/user/edit"
924 dev 213
			type="ak.hostadmiral.core.action.UserAction"
920 dev 214
			parameter="edit"
924 dev 215
			name="ak.hostadmiral.core.form.UserForm"
920 dev 216
			validate="true"
217
			scope="request"
218
		>
219
			<forward name="default" path="/user/edit.jsp" />
923 dev 220
			<forward name="view"    path="/user/view.jsp" />
920 dev 221
		</action>
222
 
223
		<action
224
			path="/user/submit"
924 dev 225
			type="ak.hostadmiral.core.action.UserAction"
920 dev 226
			parameter="submit"
924 dev 227
			name="ak.hostadmiral.core.form.UserEditForm"
920 dev 228
			validate="true"
229
			scope="request"
230
			input="/user/edit.jsp"
231
		>
232
		</action>
233
 
234
		<!-- == system user ======================================================================= -->
235
 
236
		<action
237
			path="/user/system/list"
924 dev 238
			type="ak.hostadmiral.core.action.SystemUserAction"
920 dev 239
			parameter="list"
240
		>
241
			<forward name="default" path="/user/system/list.jsp" />
242
		</action>
243
 
244
		<action
245
			path="/user/system/delete"
924 dev 246
			type="ak.hostadmiral.core.action.SystemUserAction"
920 dev 247
			parameter="delete"
924 dev 248
			name="ak.hostadmiral.core.form.SystemUserForm"
920 dev 249
			validate="true"
250
			scope="request"
251
		>
252
		</action>
253
 
254
		<action
255
			path="/user/system/edit"
924 dev 256
			type="ak.hostadmiral.core.action.SystemUserAction"
920 dev 257
			parameter="edit"
924 dev 258
			name="ak.hostadmiral.core.form.SystemUserForm"
920 dev 259
			validate="true"
260
			scope="request"
261
		>
262
			<forward name="default" path="/user/system/edit.jsp" />
923 dev 263
			<forward name="view"    path="/user/system/view.jsp" />
920 dev 264
		</action>
265
 
266
		<action
267
			path="/user/system/submit"
924 dev 268
			type="ak.hostadmiral.core.action.SystemUserAction"
920 dev 269
			parameter="submit"
924 dev 270
			name="ak.hostadmiral.core.form.SystemUserEditForm"
920 dev 271
			validate="true"
272
			scope="request"
273
			input="/user/system/edit.jsp"
274
		>
275
		</action>
276
 
277
		<!-- == system user ======================================================================= -->
278
 
279
		<action
280
			path="/domain/list"
924 dev 281
			type="ak.hostadmiral.core.action.InetDomainAction"
920 dev 282
			parameter="list"
283
		>
284
			<forward name="default" path="/domain/list.jsp" />
285
		</action>
286
 
287
		<action
288
			path="/domain/delete"
924 dev 289
			type="ak.hostadmiral.core.action.InetDomainAction"
920 dev 290
			parameter="delete"
924 dev 291
			name="ak.hostadmiral.core.form.InetDomainForm"
920 dev 292
			validate="true"
293
			scope="request"
294
		>
295
		</action>
296
 
297
		<action
298
			path="/domain/edit"
924 dev 299
			type="ak.hostadmiral.core.action.InetDomainAction"
920 dev 300
			parameter="edit"
924 dev 301
			name="ak.hostadmiral.core.form.InetDomainForm"
920 dev 302
			validate="true"
303
			scope="request"
304
		>
305
			<forward name="default" path="/domain/edit.jsp" />
923 dev 306
			<forward name="view"    path="/domain/view.jsp" />
920 dev 307
		</action>
308
 
309
		<action
310
			path="/domain/submit"
924 dev 311
			type="ak.hostadmiral.core.action.InetDomainAction"
920 dev 312
			parameter="submit"
924 dev 313
			name="ak.hostadmiral.core.form.InetDomainEditForm"
920 dev 314
			validate="true"
315
			scope="request"
316
			input="/domain/edit.jsp"
317
		>
318
		</action>
319
 
320
		<!-- == mail boxes ======================================================================== -->
321
 
322
		<action
323
			path="/mail/box/list"
924 dev 324
			type="ak.hostadmiral.core.action.MailboxAction"
920 dev 325
			parameter="list"
326
		>
327
			<forward name="default" path="/mail/box/list.jsp" />
328
		</action>
329
 
330
		<action
331
			path="/mail/box/delete"
924 dev 332
			type="ak.hostadmiral.core.action.MailboxAction"
920 dev 333
			parameter="delete"
924 dev 334
			name="ak.hostadmiral.core.form.MailboxForm"
920 dev 335
			validate="true"
336
			scope="request"
337
		>
338
		</action>
339
 
340
		<action
341
			path="/mail/box/edit"
924 dev 342
			type="ak.hostadmiral.core.action.MailboxAction"
920 dev 343
			parameter="edit"
924 dev 344
			name="ak.hostadmiral.core.form.MailboxForm"
920 dev 345
			validate="true"
346
			scope="request"
347
		>
348
			<forward name="default" path="/mail/box/edit.jsp" />
923 dev 349
			<forward name="view"    path="/mail/box/view.jsp" />
920 dev 350
		</action>
351
 
352
		<action
353
			path="/mail/box/submit"
924 dev 354
			type="ak.hostadmiral.core.action.MailboxAction"
920 dev 355
			parameter="submit"
924 dev 356
			name="ak.hostadmiral.core.form.MailboxEditForm"
920 dev 357
			validate="true"
358
			scope="request"
359
			input="/mail/box/edit.jsp"
360
		>
361
		</action>
362
 
363
		<!-- == mail aliases ====================================================================== -->
364
 
365
		<action
366
			path="/mail/alias/list"
924 dev 367
			type="ak.hostadmiral.core.action.MailAliasAction"
920 dev 368
			parameter="list"
369
		>
370
			<forward name="default" path="/mail/alias/list.jsp" />
371
		</action>
372
 
373
		<action
374
			path="/mail/alias/delete"
924 dev 375
			type="ak.hostadmiral.core.action.MailAliasAction"
920 dev 376
			parameter="delete"
924 dev 377
			name="ak.hostadmiral.core.form.MailAliasForm"
920 dev 378
			validate="true"
379
			scope="request"
380
		>
381
		</action>
382
 
383
		<action
384
			path="/mail/alias/edit"
924 dev 385
			type="ak.hostadmiral.core.action.MailAliasAction"
920 dev 386
			parameter="edit"
924 dev 387
			name="ak.hostadmiral.core.form.MailAliasForm"
920 dev 388
			validate="true"
389
			scope="request"
390
		>
923 dev 391
			<forward name="default"   path="/mail/alias/edit.jsp" />
392
			<forward name="editdests" path="/mail/alias/editdests.jsp" />
393
			<forward name="view"      path="/mail/alias/view.jsp" />
920 dev 394
		</action>
395
 
396
		<action
397
			path="/mail/alias/submit"
924 dev 398
			type="ak.hostadmiral.core.action.MailAliasAction"
920 dev 399
			parameter="submit"
924 dev 400
			name="ak.hostadmiral.core.form.MailAliasEditForm"
920 dev 401
			validate="true"
402
			scope="request"
403
			input="/mail/alias/edit.do"
404
		>
923 dev 405
			<forward name="default"   path="/mail/alias/edit.jsp" />
406
			<forward name="editdests" path="/mail/alias/editdests.jsp" />
407
			<forward name="view"      path="/mail/alias/view.jsp" />
920 dev 408
		</action>
409
 
410
	</action-mappings>
411
 
412
	<controller processorClass="ak.strutsx.RequestProcessorX" />
413
 
924 dev 414
	<message-resources parameter="ak.hostadmiral.core.CoreResources" />
920 dev 415
 
416
	<!-- ========== Plug-Ins Configuration ================================== -->
417
 
418
	<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
419
		<set-property property="pathnames"
420
			value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml" />
421
	</plug-in>
422
 
423
</struts-config>