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 920

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
10
				name="ak.hostcaptain.core.form.LoginForm"
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
17
				name="ak.hostcaptain.core.form.ChangePasswordForm"
18
				type="ak.hostcaptain.core.form.UserPasswordForm">
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
25
				name="ak.hostcaptain.core.form.UserForm"
26
				type="org.apache.struts.validator.DynaValidatorForm">
27
			<form-property name="id"          type="java.lang.String"   />
28
		</form-bean>
29
 
30
		<form-bean
31
				name="ak.hostcaptain.core.form.UserEditForm"
32
				type="ak.hostcaptain.core.form.UserPasswordForm">
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
44
				name="ak.hostcaptain.core.form.SystemUserForm"
45
				type="org.apache.struts.validator.DynaValidatorForm">
46
			<form-property name="id"          type="java.lang.String"   />
47
		</form-bean>
48
 
49
		<form-bean
50
				name="ak.hostcaptain.core.form.SystemUserEditForm"
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
61
				name="ak.hostcaptain.core.form.InetDomainForm"
62
				type="org.apache.struts.validator.DynaValidatorForm">
63
			<form-property name="id"          type="java.lang.String"   />
64
		</form-bean>
65
 
66
		<form-bean
67
				name="ak.hostcaptain.core.form.InetDomainEditForm"
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
77
				name="ak.hostcaptain.core.form.MailboxForm"
78
				type="org.apache.struts.validator.DynaValidatorForm">
79
			<form-property name="id"          type="java.lang.String"   />
80
		</form-bean>
81
 
82
		<form-bean
83
				name="ak.hostcaptain.core.form.MailboxEditForm"
84
				type="ak.hostcaptain.core.form.UserPasswordForm">
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
99
				name="ak.hostcaptain.core.form.MailAliasForm"
100
				type="org.apache.struts.validator.DynaValidatorForm">
101
			<form-property name="id"          type="java.lang.String"   />
102
		</form-bean>
103
 
104
		<form-bean
105
				name="ak.hostcaptain.core.form.MailAliasEditForm"
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"   />
113
			<form-property name="dests"       type="ak.hostcaptain.core.form.MailAliasDestBean[]"
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"
128
			type="ak.hostcaptain.util.UserException"
129
			handler="ak.hostcaptain.core.action.UserExceptionHandler"
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"
143
			type="ak.hostcaptain.core.action.IndexAction"
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"
156
			type="ak.hostcaptain.core.action.LoginAction"
157
			name="ak.hostcaptain.core.form.LoginForm"
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"
167
			type="ak.hostcaptain.core.action.LogoutAction"
168
		>
169
			<forward name="default" path="/system/logout.jsp" />
170
		</action>
171
 
172
		<!-- == user ============================================================================== -->
173
 
174
		<action
175
			path="/user/password/show"
176
			type="ak.hostcaptain.core.action.ChangePasswordAction"
177
			parameter="first"
178
		>
179
			<forward name="default" path="/user/password/change.jsp" />
180
		</action>
181
 
182
		<action
183
			path="/user/password/submit"
184
			type="ak.hostcaptain.core.action.ChangePasswordAction"
185
			parameter="submit"
186
			name="ak.hostcaptain.core.form.ChangePasswordForm"
187
			validate="true"
188
			scope="request"
189
			input="/user/password/change.jsp"
190
		>
191
		</action>
192
 
193
		<action
194
			path="/user/list"
195
			type="ak.hostcaptain.core.action.UserAction"
196
			parameter="list"
197
		>
198
			<forward name="default" path="/user/list.jsp" />
199
		</action>
200
 
201
		<action
202
			path="/user/delete"
203
			type="ak.hostcaptain.core.action.UserAction"
204
			parameter="delete"
205
			name="ak.hostcaptain.core.form.UserForm"
206
			validate="true"
207
			scope="request"
208
		>
209
		</action>
210
 
211
		<action
212
			path="/user/edit"
213
			type="ak.hostcaptain.core.action.UserAction"
214
			parameter="edit"
215
			name="ak.hostcaptain.core.form.UserForm"
216
			validate="true"
217
			scope="request"
218
		>
219
			<forward name="default" path="/user/edit.jsp" />
220
		</action>
221
 
222
		<action
223
			path="/user/submit"
224
			type="ak.hostcaptain.core.action.UserAction"
225
			parameter="submit"
226
			name="ak.hostcaptain.core.form.UserEditForm"
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"
237
			type="ak.hostcaptain.core.action.SystemUserAction"
238
			parameter="list"
239
		>
240
			<forward name="default" path="/user/system/list.jsp" />
241
		</action>
242
 
243
		<action
244
			path="/user/system/delete"
245
			type="ak.hostcaptain.core.action.SystemUserAction"
246
			parameter="delete"
247
			name="ak.hostcaptain.core.form.SystemUserForm"
248
			validate="true"
249
			scope="request"
250
		>
251
		</action>
252
 
253
		<action
254
			path="/user/system/edit"
255
			type="ak.hostcaptain.core.action.SystemUserAction"
256
			parameter="edit"
257
			name="ak.hostcaptain.core.form.SystemUserForm"
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"
266
			type="ak.hostcaptain.core.action.SystemUserAction"
267
			parameter="submit"
268
			name="ak.hostcaptain.core.form.SystemUserEditForm"
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"
279
			type="ak.hostcaptain.core.action.InetDomainAction"
280
			parameter="list"
281
		>
282
			<forward name="default" path="/domain/list.jsp" />
283
		</action>
284
 
285
		<action
286
			path="/domain/delete"
287
			type="ak.hostcaptain.core.action.InetDomainAction"
288
			parameter="delete"
289
			name="ak.hostcaptain.core.form.InetDomainForm"
290
			validate="true"
291
			scope="request"
292
		>
293
		</action>
294
 
295
		<action
296
			path="/domain/edit"
297
			type="ak.hostcaptain.core.action.InetDomainAction"
298
			parameter="edit"
299
			name="ak.hostcaptain.core.form.InetDomainForm"
300
			validate="true"
301
			scope="request"
302
		>
303
			<forward name="default" path="/domain/edit.jsp" />
304
		</action>
305
 
306
		<action
307
			path="/domain/submit"
308
			type="ak.hostcaptain.core.action.InetDomainAction"
309
			parameter="submit"
310
			name="ak.hostcaptain.core.form.InetDomainEditForm"
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"
321
			type="ak.hostcaptain.core.action.MailboxAction"
322
			parameter="list"
323
		>
324
			<forward name="default" path="/mail/box/list.jsp" />
325
		</action>
326
 
327
		<action
328
			path="/mail/box/delete"
329
			type="ak.hostcaptain.core.action.MailboxAction"
330
			parameter="delete"
331
			name="ak.hostcaptain.core.form.MailboxForm"
332
			validate="true"
333
			scope="request"
334
		>
335
		</action>
336
 
337
		<action
338
			path="/mail/box/edit"
339
			type="ak.hostcaptain.core.action.MailboxAction"
340
			parameter="edit"
341
			name="ak.hostcaptain.core.form.MailboxForm"
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"
350
			type="ak.hostcaptain.core.action.MailboxAction"
351
			parameter="submit"
352
			name="ak.hostcaptain.core.form.MailboxEditForm"
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"
363
			type="ak.hostcaptain.core.action.MailAliasAction"
364
			parameter="list"
365
		>
366
			<forward name="default" path="/mail/alias/list.jsp" />
367
		</action>
368
 
369
		<action
370
			path="/mail/alias/delete"
371
			type="ak.hostcaptain.core.action.MailAliasAction"
372
			parameter="delete"
373
			name="ak.hostcaptain.core.form.MailAliasForm"
374
			validate="true"
375
			scope="request"
376
		>
377
		</action>
378
 
379
		<action
380
			path="/mail/alias/edit"
381
			type="ak.hostcaptain.core.action.MailAliasAction"
382
			parameter="edit"
383
			name="ak.hostcaptain.core.form.MailAliasForm"
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"
392
			type="ak.hostcaptain.core.action.MailAliasAction"
393
			parameter="submit"
394
			name="ak.hostcaptain.core.form.MailAliasEditForm"
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
 
406
	<message-resources parameter="ak.hostcaptain.core.CoreResources" />
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>