root/trunk/calendar3/webadmin/war/WEB-INF/struts-config.xml

Revision 163 (checked in by douglm, 7 years ago)

Check to see if the subscription we are about to delete is referenced by a view.
If so emit error org.bedework.client.error.subscription.reffed with the view name as a parameter (for each view) and return "reffed".

Delete still does not work as the Modify Subscription page needs a hidden field "name" with the name of the subscription as a parameter.

Line 
1 <?xml version="1.0" encoding="ISO-8859-1" ?>
2
3 <!DOCTYPE struts-config PUBLIC
4           "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
5           "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd">
6
7   <!-- =================================================================
8      This is a the Struts configuration for the public events admin app.
9      =================================================================== -->
10
11 <struts-config>
12   <!-- ========== Form Bean Definitions ================================ -->
13   <form-beans>
14     <form-bean      name="peForm"
15                     type="org.bedework.webadmin.PEActionForm"/>
16   </form-beans>
17
18   <!-- ========== Global Forward Definitions ===========================
19        We try to standardize the forwards a bit.
20        "success"  takes us back to the main page
21        "done"     is local to an action and should take us back one level
22                   for example, to the list of events.
23        "continue" should stay on the same page
24        ================================================================= -->
25   <global-forwards>
26     <forward name="initial" path="/setup.do"/>
27     <forward name="chooseGroup" path="/admingroup/showChooseGroup.rdo" redirect="true"/>
28     <forward name="noGroupAssigned" path="/admin/showNoGroup.rdo" redirect="true"/>
29     <!-- <forward name="error" path="/admin/showError.rdo" redirect="true"/> -->
30     <forward name="error" path="/docs/error.jsp"/>
31     <forward name="accessError" path="/admin/showMain.rdo" redirect="true"/>
32     <forward name="noAccess" path="/admin/showNoAccess.rdo" redirect="true"/>
33     <forward name="notFound" path="/admin/showMain.rdo" redirect="true"/>
34     <forward name="success" path="/admin/showMain.rdo" redirect="true"/>
35     <forward name="cancelled" path="/admin/showMain.rdo" redirect="true"/>
36   </global-forwards>
37
38   <!-- ========== Action Mapping Definitions =========================== -->
39   <action-mappings>
40     <action    path="/admin/showMain"
41                type="org.bedework.webadmin.PERenderAction"
42                name="peForm"
43                scope="session"
44                validate="false">
45       <forward name="success" path="/docs/main.jsp"/>
46     </action>
47
48     <action    path="/admin/showError"
49                type="org.bedework.webadmin.PERenderAction"
50                name="peForm"
51                scope="session"
52                validate="false">
53       <forward name="success" path="/docs/error.jsp"/>
54     </action>
55
56     <action    path="/admin/showNoAccess"
57                type="org.bedework.webadmin.PERenderAction"
58                name="peForm"
59                scope="session"
60                validate="false">
61       <forward name="success" path="/docs/noAccess.jsp"/>
62       <forward name="noAccess" path="/docs/noAccess.jsp"/>
63     </action>
64
65     <action    path="/admin/showNoGroup"
66                type="org.bedework.webadmin.PERenderAction"
67                name="peForm"
68                scope="session"
69                validate="false">
70       <forward name="success" path="/docs/noGroup.jsp"/>
71     </action>
72
73     <action    path="/categories/showCats"
74                type="org.bedework.webadmin.PERenderAction"
75                name="peForm"
76                scope="session"
77                validate="false">
78       <forward name="success" path="/docs/categories.jsp"/>
79     </action>
80
81     <action    path="/setup"
82                type="org.bedework.webadmin.PEAction"
83                unknown="true"
84                name="peForm"
85                scope="session"
86                validate="false">
87       <forward name="loggedOut" path="/admin/showMain.rdo" redirect="true"/>
88     </action>
89
90     <!-- ===============================================================
91                          Event Actions
92          =============================================================== -->
93
94     <action    path="/event/showEvent"
95                type="org.bedework.webadmin.PERenderAction"
96                name="peForm"
97                scope="session"
98                validate="false">
99       <forward name="success" path="/docs/event/displayEvent.jsp"/>
100     </action>
101
102     <action    path="/event/showModForm"
103                type="org.bedework.webadmin.PERenderAction"
104                name="peForm"
105                scope="session"
106                validate="false">
107       <forward name="success" path="/docs/event/modEvent.jsp"/>
108     </action>
109
110     <action    path="/event/showUpdateList"
111                type="org.bedework.webadmin.PERenderAction"
112                name="peForm"
113                scope="session"
114                validate="false">
115       <forward name="success" path="/docs/event/eventList.jsp"/>
116     </action>
117
118     <action    path="/event/showDeleteConfirm"
119                type="org.bedework.webadmin.PERenderAction"
120                name="peForm"
121                scope="session"
122                validate="false">
123       <forward name="success" path="/docs/event/deleteConfirm.jsp" />
124     </action>
125
126     <action    path="/event/initAddAlert"
127                type="org.bedework.webadmin.event.PEInitAddAlertAction"
128                name="peForm"
129                scope="session"
130                validate="false">
131       <forward name="continue" path="/event/showModForm.rdo" redirect="true" />
132     </action>
133
134     <action    path="/event/initAddEvent"
135                type="org.bedework.webadmin.event.PEInitAddEventAction"
136                name="peForm"
137                scope="session"
138                validate="false">
139       <forward name="continue" path="/event/showModForm.rdo" redirect="true" />
140     </action>
141
142     <action    path="/event/initUpdateEvent"
143                type="org.bedework.webadmin.event.PEGetFormattedEventsAction"
144                name="peForm"
145                scope="session"
146                validate="false">
147       <forward name="continue" path="/event/showUpdateList.rdo" redirect="true" />
148     </action>
149
150     <action    path="/event/delete"
151                type="org.bedework.webadmin.event.PEDeleteEventAction"
152                name="peForm"
153                scope="session"
154                validate="false">
155       <forward name="continue" path="/event/initUpdateEvent.do" redirect="true" />
156     </action>
157
158     <action    path="/event/fetchForDisplay"
159                type="org.bedework.webadmin.event.PEFetchEventAction"
160                name="peForm"
161                scope="session"
162                validate="false">
163       <forward name="notFound" path="/admin/showMain.rdo" redirect="true" />
164       <forward name="continue" path="/event/showEvent.rdo" redirect="true" />
165     </action>
166
167     <action    path="/event/fetchForUpdate"
168                type="org.bedework.webadmin.event.PEFetchEventAction"
169                name="peForm"
170                scope="session"
171                validate="false">
172       <forward name="notFound" path="/admin/showMain.rdo" redirect="true" />
173       <forward name="continue" path="/event/showModForm.rdo" redirect="true" />
174     </action>
175
176     <action    path="/event/update"
177                type="org.bedework.webadmin.event.PEUpdateEventAction"
178                name="peForm"
179                scope="session"
180                validate="false">
181       <forward name="continue" path="/event/initUpdateEvent.do" redirect="true" />
182       <forward name="retry" path="/event/showModForm.rdo" redirect="true" />
183       <forward name="delete" path="/event/showDeleteConfirm.rdo" redirect="true" />
184       <forward name="copy" path="/event/showModForm.rdo" redirect="true" />
185     </action>
186
187     <!-- ===============================================================
188                          Calendar Actions
189          =============================================================== -->
190
191     <action    path="/calendar/showCalendar"
192                type="org.bedework.webadmin.PERenderAction"
193                name="peForm"
194                scope="session"
195                validate="false">
196       <forward name="success" path="/docs/calendar/displayCalendar.jsp"/>
197     </action>
198
199     <action    path="/calendar/showReferenced"
200                type="org.bedework.webadmin.PERenderAction"
201                name="peForm"
202                scope="session"
203                validate="false">
204       <forward name="success" path="/docs/calendar/referenced.jsp"/>
205     </action>
206
207     <action    path="/calendar/showModForm"
208                type="org.bedework.webadmin.PERenderAction"
209                name="peForm"
210                scope="session"
211                validate="false">
212       <forward name="success" path="/docs/calendar/modCalendar.jsp"/>
213     </action>
214
215     <action    path="/calendar/showUpdateList"
216                type="org.bedework.webadmin.PERenderAction"
217                name="peForm"
218                scope="session"
219                validate="false">
220       <forward name="success" path="/docs/calendar/calendarList.jsp"/>
221     </action>
222
223     <action    path="/calendar/showDeleteConfirm"
224                type="org.bedework.webadmin.PERenderAction"
225                name="peForm"
226                scope="session"
227                validate="false">
228       <forward name="success" path="/docs/calendar/deleteConfirm.jsp" />
229     </action>
230
231     <action    path="/calendar/initAdd"
232                type="org.bedework.webcommon.calendars.InitAddCalendarAction"
233                name="peForm"
234                scope="session"
235                validate="false">
236       <forward name="continue" path="/calendar/showModForm.rdo" redirect="true" />
237     </action>
238
239     <action    path="/calendar/delete"
240                type="org.bedework.webcommon.calendars.DeleteCalendarAction"
241                name="peForm"
242                scope="session"
243                validate="false">
244       <forward name="inUse" path="/calendar/showReferenced.rdo" redirect="true" />
245       <forward name="notFound" path="/calendar/showUpdateList.rdo" redirect="true" />
246       <forward name="cancelled" path="/calendar/showUpdateList.rdo" redirect="true" />
247       <forward name="continue" path="/calendar/showUpdateList.rdo" redirect="true" />
248     </action>
249
250     <action    path="/calendar/fetchForDisplay"
251                type="org.bedework.webcommon.calendars.FetchCalendarAction"
252                name="peForm"
253                scope="session"
254                validate="false">
255       <forward name="notFound" path="/admin/showMain.rdo" redirect="true" />
256       <forward name="continue" path="/calendar/showCalendar.rdo" redirect="true" />
257     </action>
258
259     <action    path="/calendar/fetchForUpdate"
260                type="org.bedework.webcommon.calendars.FetchCalendarAction"
261                name="peForm"
262                scope="session"
263                validate="false">
264       <forward name="notFound" path="/admin/showUpdateList.rdo" redirect="true" />
265       <forward name="continue" path="/calendar/showModForm.rdo" redirect="true" />
266     </action>
267
268     <action    path="/calendar/update"
269                type="org.bedework.webcommon.calendars.UpdateCalendarAction"
270                name="peForm"
271                scope="session"
272                validate="false">
273       <forward name="continue" path="/calendar/showUpdateList.rdo" redirect="true" />
274       <forward name="cancelled" path="/calendar/showUpdateList.rdo" redirect="true" />
275       <forward name="retry" path="/calendar/showModForm.rdo" redirect="true" />
276       <forward name="delete" path="/calendar/showDeleteConfirm.rdo" redirect="true" />
277     </action>
278
279     <!-- ===============================================================
280                          Subscription Actions
281          =============================================================== -->
282
283     <action    path="/subs/showSubs"
284                type="org.bedework.webadmin.PERenderAction"
285                name="peForm"
286                scope="session"
287                validate="false">
288       <forward name="success" path="/docs/subs/subscriptions.jsp"/>
289     </action>
290
291     <action    path="/subs/showModForm"
292                type="org.bedework.webadmin.PERenderAction"
293                name="peForm"
294                scope="session"
295                validate="false">
296       <forward name="success" path="/docs/subs/modSubscription.jsp"/>
297     </action>
298
299     <action    path="/subs/fetch"
300                type="org.bedework.webcommon.subs.GetSubscriptionsAction"
301                name="peForm"
302                scope="session"
303                validate="false">
304       <forward name="success" path="/subs/showSubs.rdo" redirect="true" />
305     </action>
306
307     <action    path="/subs/fetchForUpdate"
308                type="org.bedework.webcommon.subs.FetchSubscriptionAction"
309                name="peForm"
310                scope="session"
311                validate="false">
312       <forward name="notFound" path="/admin/showMain.rdo" redirect="true" />
313       <forward name="continue" path="/subs/showModForm.rdo" redirect="true" />
314     </action>
315
316     <action    path="/subs/initAdd"
317                type="org.bedework.webcommon.subs.InitSubscribeAction"
318                name="peForm"
319                scope="session"
320                validate="false">
321       <forward name="cancelled" path="/subs/showSubs.rdo" redirect="true"/>
322       <forward name="success" path="/subs/showModForm.rdo" redirect="true" />
323     </action>
324
325
326     <action    path="/subs/subscribe"
327                type="org.bedework.webcommon.subs.SubscribeAction"
328                name="peForm"
329                scope="session"
330                validate="false">
331       <forward name="cancelled" path="/subs/showSubs.rdo" redirect="true"/>
332       <forward name="retry" path="/subs/showSubs.rdo" redirect="true"/>
333       <forward name="reffed" path="/subs/showSubs.rdo" redirect="true"/>
334       <forward name="success" path="/subs/showSubs.rdo" redirect="true" />
335     </action>
336
337     <action    path="/subs/unsubscribe"
338                type="org.bedework.webcommon.subs.UnsubscribeAction"
339                name="peForm"
340                scope="session"
341                validate="false">
342       <forward name="success" path="/subs/showSubs.rdo" redirect="true" />
343     </action>
344
345     <!-- ===============================================================
346                          View Actions
347          =============================================================== -->
348
349     <action    path="/view/showViews"
350                type="org.bedework.webadmin.PERenderAction"
351                name="peForm"
352                scope="session"
353                validate="false">
354       <forward name="success" path="/docs/view/viewList.jsp"/>
355     </action>
356
357     <action    path="/view/showModForm"
358                type="org.bedework.webadmin.PERenderAction"
359                name="peForm"
360                scope="session"
361                validate="false">
362       <forward name="success" path="/docs/view/modView.jsp"/>
363     </action>
364
365     <action    path="/view/showDeleteConfirm"
366                type="org.bedework.webadmin.PERenderAction"
367                name="peForm"
368                scope="session"
369                validate="false">
370       <forward name="success" path="/docs/view/deleteConfirm.jsp" />
371     </action>
372
373     <action    path="/view/fetchForUpdate"
374                type="org.bedework.webcommon.views.FetchViewAction"
375                name="peForm"
376                scope="session"
377                validate="false">
378       <forward name="delete" path="/view/showDeleteConfirm.rdo" redirect="true" />
379       <forward name="success" path="/view/showModForm.rdo" redirect="true" />
380     </action>
381
382     <action    path="/view/update"
383                type="org.bedework.webcommon.views.UpdateViewAction"
384                name="peForm"
385                scope="session"
386                validate="false">
387       <forward name="success" path="/view/showModForm.rdo" redirect="true" />
388     </action>
389
390     <action    path="/view/addView"
391                type="org.bedework.webcommon.views.AddViewAction"
392                name="peForm"
393                scope="session"
394                validate="false">
395       <forward name="success" path="/view/showModForm.rdo" redirect="true" />
396     </action>
397
398     <action    path="/view/removeView"
399                type="org.bedework.webcommon.views.DeleteViewAction"
400                name="peForm"
401                scope="session"
402                validate="false">
403     </action>
404
405     <!-- ===============================================================
406                          Syspars Actions
407          =============================================================== -->
408
409     <action    path="/syspars/show"
410                type="org.bedework.webadmin.PERenderAction"
411                name="peForm"
412                scope="session"
413                validate="false">
414       <forward name="success" path="/docs/system/modSyspars.jsp"/>
415     </action>
416
417     <action    path="/syspars/fetch"
418                type="org.bedework.webadmin.system.FetchSysparsAction"
419                name="peForm"
420                scope="session"
421                validate="false">
422       <forward name="continue" path="/syspars/show.rdo" redirect="true" />
423     </action>
424
425     <action    path="/syspars/update"
426                type="org.bedework.webadmin.system.UpdateSysparsAction"
427                name="peForm"
428                scope="session"
429                validate="false">
430       <forward name="continue" path="/syspars/show.rdo" redirect="true" />
431     </action>
432
433     <!-- ===============================================================
434                          Timezone Actions
435          =============================================================== -->
436
437     <action    path="/timezones/showUpload"
438                type="org.bedework.webadmin.PERenderAction"
439                name="peForm"
440                scope="session"
441                validate="false">
442       <forward name="success" path="/docs/timezones/upload.jsp"/>
443     </action>
444
445     <action    path="/timezones/initUpload"
446                type="org.bedework.webadmin.timezones.PEInitUploadTimezonesAction"
447                name="peForm"
448                scope="session"
449                validate="false">
450       <forward name="continue" path="/timezones/showUpload.rdo" redirect="true" />
451     </action>
452
453     <action    path="/timezones/upload"
454                type="org.bedework.webadmin.timezones.PEUploadTimezonesAction"
455                name="peForm"
456                scope="session"
457                validate="false">
458     </action>
459
460
461     <!-- ===============================================================
462                          Sponsor Actions
463          =============================================================== -->
464
465     <action    path="/sponsor/showSponsor"
466                type="org.bedework.webadmin.PERenderAction"
467                name="peForm"
468                scope="session"
469                validate="false">
470       <forward name="success" path="/docs/sponsor/displaySponsor.jsp"/>
471     </action>
472
473     <action    path="/sponsor/showReferenced"
474                type="org.bedework.webadmin.PERenderAction"
475                name="peForm"
476                scope="session"
477                validate="false">
478       <forward name="success" path="/docs/sponsor/referenced.jsp"/>
479     </action>
480
481     <action    path="/sponsor/showModForm"
482                type="org.bedework.webadmin.PERenderAction"
483                name="peForm"
484                scope="session"
485                validate="false">
486       <forward name="success" path="/docs/sponsor/modSponsor.jsp"/>
487     </action>
488
489     <action    path="/sponsor/showUpdateList"
490                type="org.bedework.webadmin.PERenderAction"
491                name="peForm"
492                scope="session"
493                validate="false">
494       <forward name="success" path="/docs/sponsor/sponsorList.jsp"/>
495     </action>
496
497     <action    path="/sponsor/showDeleteConfirm"
498                type="org.bedework.webadmin.PERenderAction"
499                name="peForm"
500                scope="session"
501                validate="false">
502       <forward name="success" path="/docs/sponsor/deleteConfirm.jsp" />
503     </action>
504
505     <action    path="/sponsor/initAdd"
506                type="org.bedework.webadmin.sponsor.PEInitAddSponsorAction"
507                name="peForm"
508                scope="session"
509                validate="false">
510       <forward name="continue" path="/sponsor/showModForm.rdo" redirect="true" />
511     </action>
512
513     <action    path="/sponsor/initUpdate"
514                type="org.bedework.webadmin.sponsor.PEInitUpdateSponsorAction"
515                name="peForm"
516                scope="session"
517                validate="false">
518       <forward name="continue" path="/sponsor/showUpdateList.rdo" redirect="true" />
519     </action>
520
521     <action    path="/sponsor/delete"
522                type="org.bedework.webadmin.sponsor.PEDeleteSponsorAction"
523                name="peForm"
524                scope="session"
525                validate="false">
526       <forward name="inUse" path="/sponsor/showReferenced.rdo" redirect="true" />
527       <forward name="notFound" path="/sponsor/showUpdateList.rdo" redirect="true" />
528       <forward name="cancelled" path="/sponsor/showUpdateList.rdo" redirect="true" />
529       <forward name="continue" path="/sponsor/showUpdateList.rdo" redirect="true" />
530     </action>
531
532     <action    path="/sponsor/fetchForDisplay"
533                type="org.bedework.webadmin.sponsor.PEFetchSponsorAction"
534                name="peForm"
535                scope="session"
536                validate="false">
537       <forward name="notFound" path="/admin/showMain.rdo" redirect="true" />
538       <forward name="continue" path="/sponsor/showSponsor.rdo" redirect="true" />
539     </action>
540
541     <action    path="/sponsor/fetchForUpdate"
542                type="org.bedework.webadmin.sponsor.PEFetchSponsorAction"
543                name="peForm"
544                scope="session"
545                validate="false">
546       <forward name="notFound" path="/admin/showMain.rdo" redirect="true" />
547       <forward name="continue" path="/sponsor/showModForm.rdo" redirect="true" />
548     </action>
549
550     <action    path="/sponsor/update"
551                type="org.bedework.webadmin.sponsor.PEUpdateSponsorAction"
552                name="peForm"
553                scope="session"
554                validate="false">
555       <forward name="continue" path="/sponsor/showModForm.rdo" redirect="true" />
556       <forward name="retry" path="/sponsor/showModForm.rdo" redirect="true" />
557       <forward name="cancelled" path="/sponsor/showUpdateList.rdo" redirect="true" />
558       <forward name="delete" path="/sponsor/showDeleteConfirm.rdo" redirect="true" />
559     </action>
560
561     <!-- ===============================================================
562                          Location Actions
563          =============================================================== -->
564
565     <action    path="/location/showLocation"
566                type="org.bedework.webadmin.PERenderAction"
567                name="peForm"
568                scope="session"
569                validate="false">
570       <forward name="success" path="/docs/location/displayLocation.jsp"/>
571     </action>
572
573     <action    path="/location/showReferenced"
574                type="org.bedework.webadmin.PERenderAction"
575                name="peForm"
576                scope="session"
577                validate="false">
578       <forward name="success" path="/docs/location/referenced.jsp"/>
579     </action>
580
581     <action    path="/location/showModForm"
582                type="org.bedework.webadmin.PERenderAction"
583                name="peForm"
584                scope="session"
585                validate="false">
586       <forward name="success" path="/docs/location/modLocation.jsp"/>
587     </action>
588
589     <action    path="/location/showUpdateList"
590                type="org.bedework.webadmin.PERenderAction"
591                name="peForm"
592                scope="session"
593                validate="false">
594       <forward name="success" path="/docs/location/locationList.jsp"/>
595     </action>
596
597     <action    path="/location/showDeleteConfirm"
598                type="org.bedework.webadmin.PERenderAction"
599                name="peForm"
600                scope="session"
601                validate="false">
602       <forward name="success" path="/docs/location/deleteConfirm.jsp" />
603     </action>
604
605     <action    path="/location/initAdd"
606                type="org.bedework.webadmin.location.PEInitAddLocationAction"
607                name="peForm"
608                scope="session"
609                validate="false">
610       <forward name="continue" path="/location/showModForm.rdo" redirect="true" />
611     </action>
612
613     <action    path="/location/initUpdate"
614                type="org.bedework.webadmin.location.PEInitUpdateLocationAction"
615                name="peForm"
616                scope="session"
617                validate="false">
618       <forward name="continue" path="/location/showUpdateList.rdo" redirect="true" />
619     </action>
620
621     <action    path="/location/delete"
622                type="org.bedework.webadmin.location.PEDeleteLocationAction"
623                name="peForm"
624                scope="session"
625                validate="false">
626       <forward name="inUse" path="/location/showReferenced.rdo" redirect="true" />
627       <forward name="notFound" path="/location/showUpdateList.rdo" redirect="true" />
628       <forward name="cancelled" path="/location/showUpdateList.rdo" redirect="true" />
629       <forward name="continue" path="/location/showUpdateList.rdo" redirect="true" />
630     </action>
631
632     <action    path="/location/fetchForDisplay"
633                type="org.bedework.webadmin.location.PEFetchLocationAction"
634                name="peForm"
635                scope="session"
636                validate="false">
637       <forward name="notFound" path="/admin/showMain.rdo" redirect="true" />
638       <forward name="continue" path="/location/showLocation.rdo" redirect="true" />
639     </action>
640
641     <action    path="/location/fetchForUpdate"
642                type="org.bedework.webadmin.location.PEFetchLocationAction"
643                name="peForm"
644                scope="session"
645                validate="false">
646       <forward name="notFound" path="/admin/showMain.rdo" redirect="true" />
647       <forward name="continue" path="/location/showModForm.rdo" redirect="true" />
648     </action>
649
650     <action    path="/location/update"
651                type="org.bedework.webadmin.location.PEUpdateLocationAction"
652                name="peForm"
653                scope="session"
654                validate="false">
655       <forward name="cancelled" path="/location/showUpdateList.rdo" redirect="true" />
656       <forward name="continue" path="/location/showModForm.rdo" redirect="true" />
657       <forward name="retry" path="/location/showModForm.rdo" redirect="true" />
658       <forward name="delete" path="/location/showDeleteConfirm.rdo" redirect="true" />
659     </action>
660
661     <!-- ===============================================================
662                          Category Actions
663          =============================================================== -->
664
665     <action    path="/category/showReferenced"
666                type="org.bedework.webadmin.PERenderAction"
667                name="peForm"
668                scope="session"
669                validate="false">
670       <forward name="success" path="/docs/category/referenced.jsp"/>
671     </action>
672
673     <action    path="/category/showModForm"
674                type="org.bedework.webadmin.PERenderAction"
675                name="peForm"
676                scope="session"
677                validate="false">
678       <forward name="success" path="/docs/category/modCategory.jsp"/>
679     </action>
680
681     <action    path="/category/showUpdateList"
682                type="org.bedework.webadmin.PERenderAction"
683                name="peForm"
684                scope="session"
685                validate="false">
686       <forward name="success" path="/docs/category/modCategoryList.jsp"/>
687     </action>
688
689     <action    path="/category/showDeleteConfirm"
690                type="org.bedework.webadmin.PERenderAction"
691                name="peForm"
692                scope="session"
693                validate="false">
694       <forward name="success" path="/docs/category/deleteConfirm.jsp" />
695     </action>
696
697     <action    path="/category/initAdd"
698                type="org.bedework.webadmin.category.PEInitAddCategoryAction"
699                name="peForm"
700                scope="session"
701                validate="false">
702       <forward name="continue" path="/category/showModForm.rdo" redirect="true" />
703     </action>
704
705     <action    path="/category/initUpdate"
706                type="org.bedework.webadmin.category.PEInitUpdateCategoryAction"
707                name="peForm"
708                scope="session"
709                validate="false">
710       <forward name="continue" path="/category/showUpdateList.rdo" redirect="true" />
711     </action>
712
713     <action    path="/category/delete"
714                type="org.bedework.webadmin.category.PEDeleteCategoryAction"
715                name="peForm"
716                scope="session"
717                validate="false">
718       <forward name="inUse" path="/category/showReferenced.rdo" redirect="true" />
719       <forward name="notFound" path="/category/showUpdateList.rdo" redirect="true" />
720       <forward name="continue" path="/category/showUpdateList.rdo" redirect="true" />
721     </action>
722
723     <action    path="/category/fetchForUpdate"
724                type="org.bedework.webadmin.category.PEFetchCategoryAction"
725                name="peForm"
726                scope="session"
727                validate="false">
728       <forward name="notFound" path="/admin/showMain.rdo" redirect="true" />
729       <forward name="continue" path="/category/showModForm.rdo" redirect="true" />
730     </action>
731
732     <action    path="/category/update"
733                type="org.bedework.webadmin.category.PEUpdateCategoryAction"
734                name="peForm"
735                scope="session"
736                validate="false">
737       <forward name="continue" path="/category/showUpdateList.rdo" redirect="true" />
738       <forward name="retry" path="/category/showModForm.rdo" />
739       <forward name="delete" path="/category/showDeleteConfirm.rdo" redirect="true" />
740     </action>
741
742     <!-- ===============================================================
743                      Authorisation and user Actions
744          =============================================================== -->
745
746     <action    path="/authuser/showModForm"
747                type="org.bedework.webadmin.PERenderAction"
748                name="peForm"
749                scope="session"
750                validate="false">
751       <forward name="success" path="/docs/authuser/modAuthUser.jsp"/>
752     </action>
753
754     <action    path="/authuser/showUpdateList"
755                type="org.bedework.webadmin.PERenderAction"
756                name="peForm"
757                scope="session"
758                validate="false">
759       <forward name="success" path="/docs/authuser/authUserList.jsp"/>
760     </action>
761
762     <action    path="/authuser/initUpdate"
763                type="org.bedework.webadmin.authuser.PEGetAuthUsersAction"
764                name="peForm"
765                scope="session"
766                validate="false">
767       <forward name="continue" path="/authuser/showUpdateList.rdo" redirect="true" />
768     </action>
769
770     <action    path="/authuser/fetchForUpdate"
771                type="org.bedework.webadmin.authuser.PEFetchAuthAction"
772                name="peForm"
773                scope="session"
774                validate="false">
775       <forward name="notFound" path="/authuser/showUpdateList.rdo" redirect="true" />
776       <forward name="continue" path="/authuser/showModForm.rdo" redirect="true" />
777     </action>
778
779     <action    path="/authuser/update"
780                type="org.bedework.webadmin.authuser.PEUpdateAuthAction"
781                name="peForm"
782                scope="session"
783                validate="false">
784       <forward name="cancelled" path="/authuser/showUpdateList.rdo" redirect="true" />
785       <forward name="retry" path="/authuser/showModForm.rdo" />
786       <forward name="continue" path="/authuser/showUpdateList.rdo" redirect="true" />
787     </action>
788
789     <!-- ===============================================================
790                      User Preferences Actions
791          =============================================================== -->
792
793     <action    path="/prefs/showModForm"
794                type="org.bedework.webadmin.PERenderAction"
795                name="peForm"
796                scope="session"
797                validate="false">
798       <forward name="success" path="/docs/prefs/modPrefs.jsp"/>
799     </action>
800
801     <action    path="/prefs/fetchForUpdate"
802                type="org.bedework.webcommon.pref.FetchPrefsAction"
803                name="peForm"
804                scope="session"
805                validate="false">
806       <forward name="notFound" path="/admin/showMain.rdo" redirect="true" />
807       <forward name="success" path="/prefs/showModForm.rdo" redirect="true" />
808     </action>
809
810     <action    path="/prefs/update"
811                type="org.bedework.webcommon.pref.UpdatePrefsAction"
812                name="peForm"
813                scope="session"
814                validate="false">
815       <forward name="cancelled" path="/admin/showMain.rdo" redirect="true" />
816       <forward name="retry" path="/prefs/showModForm.rdo" />
817       <forward name="success" path="/admin/showMain.rdo" redirect="true" />
818     </action>
819
820     <!-- ===============================================================
821                      Admin Group Actions
822          =============================================================== -->
823
824     <action    path="/admingroup/showChooseGroup"
825                type="org.bedework.webadmin.PERenderAction"
826                name="peForm"
827                scope="session"
828                validate="false">
829       <forward name="success" path="/docs/admingroup/chooseAdminGroup.jsp" />
830       <forward name="chooseGroup" path="/docs/admingroup/chooseAdminGroup.jsp" />
831     </action>
832
833     <action    path="/admingroup/showModForm"
834                type="org.bedework.webadmin.PERenderAction"
835                name="peForm"
836                scope="session"
837                validate="false">
838       <forward name="success" path="/docs/admingroup/modAdminGroup.jsp"/>
839     </action>
840
841     <action    path="/admingroup/showModMembersForm"
842                type="org.bedework.webadmin.PERenderAction"
843                name="peForm"
844                scope="session"
845                validate="false">
846       <forward name="success" path="/docs/admingroup/modAdminGroupMembers.jsp"/>
847     </action>
848
849     <action    path="/admingroup/showUpdateList"
850                type="org.bedework.webadmin.PERenderAction"
851                name="peForm"
852                scope="session"
853                validate="false">
854       <forward name="success" path="/docs/admingroup/adminGroupList.jsp"/>
855     </action>
856
857     <action    path="/admingroup/showDeleteConfirm"
858                type="org.bedework.webadmin.PERenderAction"
859                name="peForm"
860                scope="session"
861                validate="false">
862       <forward name="success" path="/docs/admingroup/deleteAdminGroupConfirm.jsp" />
863     </action>
864
865     <action    path="/admingroup/initAdd"
866                type="org.bedework.webadmin.admingroup.PEInitAddAGAction"
867                name="peForm"
868                scope="session"
869                validate="false">
870       <forward name="continue" path="/admingroup/showModForm.rdo" redirect="true" />
871     </action>
872
873     <action    path="/admingroup/initUpdate"
874                type="org.bedework.webadmin.admingroup.PEInitUpdateAGAction"
875                name="peForm"
876                scope="session"
877                validate="false">
878       <forward name="continue" path="/admingroup/showUpdateList.rdo" redirect="true" />
879     </action>
880
881     <action    path="/admingroup/delete"
882                type="org.bedework.webadmin.admingroup.PEDeleteAGAction"
883                name="peForm"
884                scope="session"
885                validate="false">
886       <forward name="inUse" path="/admingroup/showReferenced.rdo" redirect="true" />
887       <forward name="notFound" path="/admingroup/showUpdateList.rdo" redirect="true" />
888       <forward name="cancelled" path="/admingroup/showUpdateList.rdo" redirect="true" />
889       <forward name="continue" path="/admingroup/showUpdateList.rdo" redirect="true" />
890     </action>
891
892     <action    path="/admingroup/fetchForUpdate"
893                type="org.bedework.webadmin.admingroup.PEFetchAGAction"
894                name="peForm"
895                scope="session"
896                validate="false">
897       <forward name="notFound" path="/admin/showUpdateList.rdo" redirect="true" />
898       <forward name="continue" path="/admingroup/showModForm.rdo" redirect="true" />
899     </action>
900
901     <action    path="/admingroup/fetchForUpdateMembers"
902                type="org.bedework.webadmin.admingroup.PEFetchAGAction"
903                name="peForm"
904                scope="session"
905                validate="false">
906       <forward name="notFound" path="/admin/showMain.rdo" redirect="true" />
907       <forward name="continue" path="/admingroup/showModMembersForm.rdo" redirect="true" />
908     </action>
909
910     <action    path="/admingroup/update"
911                type="org.bedework.webadmin.admingroup.PEUpdateAGAction"
912                name="peForm"
913                scope="session"
914                validate="false">
915       <forward name="cancelled" path="/admingroup/showUpdateList.rdo" redirect="true" />
916       <forward name="continue" path="/admingroup/showUpdateList.rdo" redirect="true" />
917       <forward name="retry" path="/admingroup/showModForm.rdo" redirect="true" />
918       <forward name="delete" path="/admingroup/showDeleteConfirm.rdo" redirect="true" />
919     </action>
920
921     <action    path="/admingroup/updateMembers"
922                type="org.bedework.webadmin.admingroup.PEUpdateAGAction"
923                name="peForm"
924                scope="session"
925                validate="false">
926       <forward name="cancelled" path="/admingroup/showUpdateList.rdo" redirect="true" />
927       <forward name="continue" path="/admingroup/showModMembersForm.rdo" redirect="true" />
928       <forward name="retry" path="/admingroup/showModMembersForm.rdo" />
929     </action>
930
931     <action    path="/admingroup/switch"
932                type="org.bedework.webadmin.admingroup.PESwitchAGAction"
933                name="peForm"
934                scope="session"
935                validate="false">
936       <forward name="continue"  path="/admingroup/showChooseGroup.rdo" redirect="true" />
937     </action>
938   </action-mappings>
939
940   <!-- Below will be one or more comments which must not be edited or removed
941        for the portlet build process to succeed. The comment will be replaced
942         by some extra cofiguration.
943        -->
944
945   <!-- Jetspeed2 controller def here -->
946
947   <message-resources parameter="servlet" null="true" />
948
949 </struts-config>
Note: See TracBrowser for help on using the browser.