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

Revision 575 (checked in by johnsa, 7 years ago)

personal client:

now displays event sharing information in edit event page
fixed up upload validation actions in struts config and stylesheets

Line 
1 <?xml version="1.0" encoding="ISO-8859-1" ?>
2 <!DOCTYPE struts-config PUBLIC
3           "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
4           "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd">
5
6   <!-- ====================================================================
7      This is a the Struts configuration for the Bedework web client.
8      ====================================================================== -->
9
10    <!--
11      The action-mappings below are divided into "normal" actions (suffixed
12      with ".do") and render actions (suffixed with ".rdo").  All normal actions
13      (which are typically used to change the application's state) redirect
14      to a render action that returns a jsp page for display.  Render actions
15      do not change state.
16
17      The action-mappings are grouped together by function; all render
18      actions use the type="org.bedework.webclient.BwRenderAction" class.
19      The division between normal and render actions is required, among other
20      things, to allow Bedework to run in a portal. All render actions
21      are marked with the comment "renderUrl" so that they may be
22      mechanically picked out of this file and built up for portal configuration.
23      By convention, most render actions are named "show[Name]".
24
25      Note that nearly all global forwards map to a render action that produce
26      a jsp page for display.
27
28      All action URLs used in any client are produced in header.jsp to take
29      advantage of appropriate encoding or extensions required by the container
30      and/or portal.  These "urlPrefixes" are then pulled into the xslt
31      for use in constructing links into the application.  Look at the top of
32      header.jsp and the default.xsl files within any client for examples.  Use
33      the url-prefix variables in the xslt rather than calling these paths directly.
34      -->
35
36 <struts-config>
37   <!-- ========== Form Bean Definitions =================================== -->
38   <form-beans>
39     <form-bean      name="calForm"
40                     type="org.bedework.webclient.BwActionForm"/>
41   </form-beans>
42
43   <!-- ========== Global Forward Definitions ============================== -->
44   <global-forwards>
45     <!-- render forwards -->
46     <forward name="initialise" path="/initialise.rdo"/>
47     <forward name="showCals" path="/showCals.rdo"/>
48     <forward name="showManageLocations" path="/showManageLocations.rdo"/>
49     <forward name="showEditLocation" path="/showEditLocation.rdo"/>
50     <forward name="showEditEvent" path="/showEditEvent.rdo"/>
51     <forward name="eventMore" path="/showEventMore.rdo"/>
52     <forward name="initUpload" path="/initUpload.rdo"/>
53     <forward name="showMsgErr" path="/showMsgErr.rdo"/>
54
55     <!-- Forward for a new session from some bookmarked link; used by
56          org.bedework.webclient.BwRenderAction when a refresh is needed -->
57     <forward name="gotomain" path="/docs/main.jsp" />
58
59     <!-- set up state and get going. -->
60     <forward name="initial" path="/setup.do"/>
61
62     <!-- global redirects used by many actions -->
63     <forward name="doNothing" path="/showMain.rdo" redirect="true" />
64     <forward name="error" path="/showMain.rdo" redirect="true" />
65     <forward name="success" path="/showMain.rdo" redirect="true" />
66     <forward name="cancelled" path="/showMain.rdo" redirect="true" />
67     <forward name="noAccess" path="/showMain.rdo" redirect="true" />
68   </global-forwards>
69
70   <!-- ========== Action Mapping Definitions ============================== -->
71   <action-mappings>
72
73   <!-- ===============================================================
74                       Fundamental Actions
75    =============================================================== -->
76
77     <!-- ........... PUBLIC and PERSONAL clients ...... -->
78
79     <!-- renderUrl -->
80     <action    path="/initialise"
81                type="org.bedework.webclient.BwRenderAction"
82                name="calForm"
83                scope="session"
84                validate="false">
85       <forward name="success" path="/docs/main.jsp" />
86       <forward name="loggedOut" path="/docs/login/logout.html" />
87     </action>
88
89     <!-- renderUrl -->
90     <action    path="/showMain"
91                type="org.bedework.webclient.BwRenderAction"
92                name="calForm"
93                scope="session"
94                validate="false">
95       <forward name="success" path="/docs/main.jsp"/>
96     </action>
97
98     <action    path="/setup"
99                type="org.bedework.webclient.BwAction"
100                name="calForm"
101                scope="session"
102                validate="false">
103       <forward name="loggedOut" path="/docs/login/logout.html" />
104     </action>
105
106     <action    path="/setSelection"
107                type="org.bedework.webcommon.misc.SetSelectionAction"
108                name="calForm"
109                scope="session"
110                validate="false">
111       <forward name="notFound" path="/showMain.rdo" redirect="true" />
112       <forward name="noViewDef" path="/showMain.rdo" redirect="true" />
113     </action>
114
115     <action    path="/setViewPeriod"
116                type="org.bedework.webclient.BwGoToAction"
117                name="calForm"
118                scope="session"
119                validate="false">
120     </action>
121
122     <!-- renderUrl -->
123     <action    path="/showMsgErr"
124                type="org.bedework.webclient.BwRenderAction"
125                name="calForm"
126                scope="session"
127                validate="false">
128       <forward name="success" path="/docs/showMsgErr.jsp"/>
129     </action>
130
131     <!-- renderUrl -->
132     <action    path="/showPage"
133                type="org.bedework.webclient.BwAction"
134                name="calForm"
135                scope="session"
136                validate="false">
137       <forward name="success" path="/docs/showPage.jsp" />
138     </action>
139
140   <!-- ===============================================================
141                         Events
142        =============================================================== -->
143
144     <!-- ........... PUBLIC and PERSONAL clients ...... -->
145
146     <!-- renderUrl -->
147     <action    path="/showEventMore"
148                type="org.bedework.webclient.BwRenderAction"
149                name="calForm"
150                scope="session"
151                validate="false">
152       <forward name="success" path="/docs/event/eventMore.jsp" />
153     </action>
154
155     <action    path="/eventView"
156                type="org.bedework.webclient.BwEventAction"
157                name="calForm"
158                scope="session"
159                validate="false">
160       <forward name="success" path="/showEventMore.rdo" redirect="true" />
161     </action>
162
163     <!-- ........... PERSONAL client only ...... -->
164
165     <!-- === Adding Events === -->
166     <!-- renderUrl -->
167     <action    path="/showAddEvent"
168                type="org.bedework.webclient.BwRenderAction"
169                name="calForm"
170                scope="session"
171                validate="false">
172       <forward name="success" path="/docs/event/addEvent.jsp" />
173     </action>
174
175     <!-- The following 2 actions are used for adding events from an "add event" page
176          (a la Demo, Rensselaer); on error, we return to the
177          addEvent.jsp page. -->
178     <action    path="/initEvent"
179                type="org.bedework.webclient.BwInitEventAction"
180                name="calForm"
181                scope="session"
182                validate="false">
183       <forward name="success" path="/showAddEvent.rdo" redirect="true" />
184     </action>
185
186     <action    path="/addEventUsingPage"
187                type="org.bedework.webclient.BwAddEventAction"
188                name="calForm"
189                scope="session"
190                validate="false">
191       <forward name="error" path="/showAddEvent.rdo" redirect="true" />
192       <forward name="doNothing" path="/showAddEvent.rdo" redirect="true" />
193     </action>
194
195     <!-- The following action is used for adding events from a form on the main
196          personal calandar page (a la Washington); on error or success, we return to the
197          main.jsp page. -->
198     <action    path="/addEvent"
199                type="org.bedework.webclient.BwAddEventAction"
200                name="calForm"
201                scope="session"
202                validate="false">
203     </action>
204
205     <!-- === Modifying Events === -->
206     <!-- renderUrl -->
207     <action    path="/showEditEvent"
208                type="org.bedework.webclient.BwRenderAction"
209                name="calForm"
210                scope="session"
211                validate="false">
212       <forward name="success" path="/docs/event/editEvent.jsp" />
213     </action>
214
215     <action    path="/editEvent"
216                type="org.bedework.webclient.BwEditEventAction"
217                name="calForm"
218                scope="session"
219                validate="false">
220       <forward name="edit" path="/showEditEvent.rdo" redirect="true" />
221       <forward name="doNothing" path="/showEditEvent.rdo" redirect="true" />
222       <forward name="error" path="/showEditEvent.rdo" redirect="true" />
223     </action>
224
225     <action    path="/event/setAccess"
226                type="org.bedework.webcommon.access.AccessAction"
227                name="calForm"
228                scope="session"
229                validate="false">
230       <forward name="success" path="/showEditEvent.rdo" redirect="true" />
231       <forward name="error" path="/showEditEvent.rdo" redirect="true" />
232       <forward name="notFound" path="/showEditEvent.rdo" redirect="true" />
233       <forward name="doNothing" path="/showEditEvent.rdo" redirect="true" />
234     </action>
235
236     <!-- === Selecting calendars while adding and modifying Events === -->
237     <!-- renderUrl -->
238     <action    path="/event/showCalsForEvent"
239                type="org.bedework.webclient.BwRenderAction"
240                name="calForm"
241                scope="session"
242                validate="false">
243       <forward name="success" path="/docs/event/selectCalForEvent.jsp"/>
244     </action>
245
246     <action    path="/event/selectCalForEvent"
247                type="org.bedework.webclient.BwAction"
248                name="calForm"
249                scope="session"
250                validate="false">
251       <forward name="success" path="/event/showCalsForEvent.rdo" redirect="true" />
252     </action>
253
254     <!-- === Adding Event References === -->
255     <!-- renderUrl -->
256     <action    path="/event/showAddEventRef"
257                type="org.bedework.webclient.BwRenderAction"
258                name="calForm"
259                scope="session"
260                validate="false">
261       <forward name="success" path="/docs/event/addEventRef.jsp" />
262     </action>
263
264     <action    path="/addEventRef"
265                type="org.bedework.webclient.BwEventAction"
266                name="calForm"
267                scope="session"
268                validate="false">
269       <forward name="success" path="/event/showAddEventRef.rdo" redirect="true" />
270     </action>
271
272     <action    path="/event/addEventRefComplete"
273                type="org.bedework.webclient.BwAddEventRefAction"
274                name="calForm"
275                scope="session"
276                validate="false">
277       <forward name="duplicate" path="/showMain.rdo" redirect="true" />
278     </action>
279
280     <!-- === Deleting Events === -->
281     <action    path="/delEvent"
282                type="org.bedework.webclient.BwDelEventAction"
283                name="calForm"
284                scope="session"
285                validate="false">
286     </action>
287
288   <!-- ===============================================================
289                     Export (download) and Import
290        =============================================================== -->
291
292     <!-- ........... PUBLIC and PERSONAL clients ...... -->
293
294     <!-- renderUrl -->
295     <action    path="/showExportData"
296                type="org.bedework.webclient.BwRenderAction"
297                name="calForm"
298                scope="session"
299                validate="false">
300       <forward name="success" path="/docs/exportData.jsp" />
301     </action>
302
303     <action    path="/export"
304                type="org.bedework.webcommon.misc.ExportAction"
305                name="calForm"
306                scope="session"
307                validate="false">
308       <forward name="success" path="/showExportData.rdo" redirect="true" />
309     </action>
310
311     <!-- ........... PERSONAL client only ...... -->
312
313     <!-- renderUrl -->
314     <action    path="/initUpload"
315                type="org.bedework.webclient.BwRenderAction"
316                name="calForm"
317                scope="session"
318                validate="false">
319       <forward name="success" path="/docs/upload.jsp" />
320     </action>
321
322     <action    path="/upload"
323                type="org.bedework.webcommon.misc.UploadAction"
324                name="calForm"
325                scope="session"
326                validate="false">
327       <forward name="baddata" path="/showMain.rdo" redirect="true" />
328       <forward name="retry" path="/initUpload.rdo" redirect="true" />
329       <forward name="success" path="/setup.do" redirect="true"/>
330     </action>
331
332   <!-- ===============================================================
333                         Locations
334        =============================================================== -->
335
336     <!-- ........... PERSONAL client only ...... -->
337
338     <!-- renderUrl -->
339     <action    path="/showManageLocations"
340                type="org.bedework.webclient.BwRenderAction"
341                name="calForm"
342                scope="session"
343                validate="false">
344       <forward name="success" path="/docs/location/manageLocations.jsp" />
345     </action>
346
347     <!-- renderUrl -->
348     <action    path="/showEditLocation"
349                type="org.bedework.webclient.BwRenderAction"
350                name="calForm"
351                scope="session"
352                validate="false">
353       <forward name="success" path="/docs/location/editLocation.jsp" />
354     </action>
355
356     <action    path="/manageLocations"
357                type="org.bedework.webclient.BwAction"
358                name="calForm"
359                scope="session"
360                validate="false">
361       <forward name="success" path="/showManageLocations.rdo" redirect="true" />
362     </action>
363
364     <action    path="/addLocation"
365                type="org.bedework.webclient.BwAddLocationAction"
366                name="calForm"
367                scope="session"
368                validate="false">
369       <forward name="success" path="/showManageLocations.rdo" redirect="true" />
370     </action>
371
372     <action    path="/editLoc"
373                type="org.bedework.webclient.BwEditLocationAction"
374                name="calForm"
375                scope="session"
376                validate="false">
377       <forward name="edit" path="/showEditLocation.rdo" redirect="true" />
378       <forward name="success" path="/showManageLocations.rdo" redirect="true" />
379       <forward name="cancelled" path="/showManageLocations.rdo" redirect="true" />
380     </action>
381
382     <action    path="/delLocation"
383                type="org.bedework.webclient.BwDelLocationAction"
384                name="calForm"
385                scope="session"
386                validate="false">
387       <forward name="referenced" path="/showManageLocations.rdo" redirect="true" />
388       <forward name="success" path="/showManageLocations.rdo" redirect="true" />
389       <forward name="cancelled" path="/showManageLocations.rdo" redirect="true" />
390     </action>
391
392    <!-- ===============================================================
393                          Free / Busy
394          =============================================================== -->
395
396     <!-- ........... PERSONAL client only ...... -->
397
398     <!-- renderUrl -->
399     <action    path="/freeBusy/showFreeBusy"
400                type="org.bedework.webclient.BwRenderAction"
401                name="calForm"
402                scope="session"
403                validate="false">
404       <forward name="success" path="/docs/freeBusy.jsp" />
405     </action>
406
407     <action    path="/freeBusy/getFreeBusy"
408                type="org.bedework.webclient.BwFreeBusyAction"
409                name="calForm"
410                scope="session"
411                validate="false">
412       <forward name="success" path="/freeBusy/showFreeBusy.rdo" redirect="true" />
413       <forward name="noAccess" path="/freeBusy/showFreeBusy.rdo" redirect="true" />
414       <forward name="notFound" path="/freeBusy/showFreeBusy.rdo" redirect="true" />
415     </action>
416
417     <action    path="/freeBusy/setAccess"
418                type="org.bedework.webcommon.access.AccessAction"
419                name="calForm"
420                scope="session"
421                validate="false">
422       <forward name="success" path="/freeBusy/showFreeBusy.rdo" redirect="true" />
423       <forward name="error" path="/freeBusy/showFreeBusy.rdo" redirect="true" />
424       <forward name="notFound" path="/freeBusy/showFreeBusy.rdo" redirect="true" />
425       <forward name="doNothing" path="/freeBusy/showFreeBusy.rdo" redirect="true" />
426     </action>
427
428     <!-- ===============================================================
429                          Calendars
430          =============================================================== -->
431
432     <!-- ........... PUBLIC and PERSONAL clients ...... -->
433
434     <!-- renderUrl -->
435     <action    path="/showPublicCals"
436                type="org.bedework.webclient.BwRenderAction"
437                name="calForm"
438                scope="session"
439                validate="false">
440       <forward name="success" path="/docs/calendar/calendarList.jsp" />
441     </action>
442
443     <action    path="/fetchPublicCalendars"
444                type="org.bedework.webclient.BwAction"
445                name="calForm"
446                scope="session"
447                validate="false">
448       <forward name="success" path="/showPublicCals.rdo" redirect="true" />
449     </action>
450
451     <!-- renderUrl -->
452     <action    path="/showCals"
453                type="org.bedework.webclient.BwRenderAction"
454                name="calForm"
455                scope="session"
456                validate="false">
457       <forward name="success" path="/docs/calendar/emitCalendars.jsp" />
458     </action>
459
460     <action    path="/fetchCalendars"
461                type="org.bedework.webclient.BwAction"
462                name="calForm"
463                scope="session"
464                validate="false">
465       <forward name="success" path="/showCals.rdo" redirect="true" />
466     </action>
467
468     <!-- ........... PERSONAL client only  .............. -->
469
470     <!-- renderUrl -->
471     <action    path="/calendar/showCalendar"
472                type="org.bedework.webclient.BwRenderAction"
473                name="calForm"
474                scope="session"
475                validate="false">
476       <forward name="success" path="/docs/calendar/displayCalendar.jsp"/>
477     </action>
478
479     <action    path="/calendar/fetchForDisplay"
480                type="org.bedework.webcommon.calendars.FetchCalendarAction"
481                name="calForm"
482                scope="session"
483                validate="false">
484       <forward name="notFound" path="/admin/showMain.rdo" redirect="true" />
485       <forward name="continue" path="/calendar/showCalendar.rdo" redirect="true" />
486     </action>
487
488     <!-- === Adding and Modifying Calendars === -->
489     <!-- renderUrl -->
490     <action    path="/calendar/showModForm"
491                type="org.bedework.webclient.BwRenderAction"
492                name="calForm"
493                scope="session"
494                validate="false">
495       <forward name="success" path="/docs/calendar/modCalendar.jsp"/>
496     </action>
497
498     <action    path="/calendar/initAdd"
499                type="org.bedework.webcommon.calendars.InitAddCalendarAction"
500                name="calForm"
501                scope="session"
502                validate="false">
503       <forward name="continue" path="/calendar/showModForm.rdo" redirect="true" />
504     </action>
505
506     <!-- renderUrl -->
507     <action    path="/calendar/showUpdateList"
508                type="org.bedework.webclient.BwRenderAction"
509                name="calForm"
510                scope="session"
511                validate="false">
512       <forward name="success" path="/docs/calendar/calendarList.jsp"/>
513     </action>
514
515     <action    path="/calendar/fetchForUpdate"
516                type="org.bedework.webcommon.calendars.FetchCalendarAction"
517                name="calForm"
518                scope="session"
519                validate="false">
520       <forward name="notFound" path="/admin/showUpdateList.rdo" redirect="true" />
521       <forward name="continue" path="/calendar/showModForm.rdo" redirect="true" />
522     </action>
523
524     <action    path="/calendar/update"
525                type="org.bedework.webcommon.calendars.UpdateCalendarAction"
526                name="calForm"
527                scope="session"
528                validate="false">
529       <forward name="continue" path="/calendar/showUpdateList.rdo" redirect="true" />
530       <forward name="cancelled" path="/calendar/showUpdateList.rdo" redirect="true" />
531       <forward name="retry" path="/calendar/showModForm.rdo" redirect="true" />
532       <forward name="delete" path="/calendar/showDeleteConfirm.rdo" redirect="true" />
533     </action>
534
535     <action    path="/calendar/setAccess"
536                type="org.bedework.webcommon.access.AccessAction"
537                name="calForm"
538                scope="session"
539                validate="false">
540       <forward name="success" path="/calendar/showModForm.rdo" redirect="true" />
541       <forward name="error" path="/calendar/showModForm.rdo" redirect="true" />
542       <forward name="notFound" path="/calendar/showModForm.rdo" redirect="true" />
543       <forward name="doNothing" path="/calendar/showModForm.rdo" redirect="true" />
544     </action>
545
546     <!-- === deleting calendars === -->
547     <!-- renderUrl -->
548     <action    path="/calendar/showDeleteConfirm"
549                type="org.bedework.webclient.BwRenderAction"
550                name="calForm"
551                scope="session"
552                validate="false">
553       <forward name="cancelled" path="/calendar/showUpdateList.rdo" redirect="true" />
554       <forward name="success" path="/docs/calendar/deleteConfirm.jsp" />
555     </action>
556
557     <!-- renderUrl -->
558     <action    path="/calendar/showReferenced"
559                type="org.bedework.webclient.BwRenderAction"
560                name="calForm"
561                scope="session"
562                validate="false">
563       <forward name="success" path="/docs/calendar/referenced.jsp"/>
564     </action>
565
566     <action    path="/calendar/delete"
567                type="org.bedework.webcommon.calendars.DeleteCalendarAction"
568                name="calForm"
569                scope="session"
570                validate="false">
571       <forward name="inUse" path="/calendar/showReferenced.rdo" redirect="true" />
572       <forward name="notFound" path="/calendar/showUpdateList.rdo" redirect="true" />
573       <forward name="cancelled" path="/calendar/showUpdateList.rdo" redirect="true" />
574       <forward name="continue" path="/calendar/showUpdateList.rdo" redirect="true" />
575     </action>
576
577     <!-- === display a page of descriptions for public calendars (not currently used) === -->
578     <!-- renderUrl -->
579     <action    path="/calendar/showDescriptionList"
580                type="org.bedework.webclient.BwRenderAction"
581                name="calForm"
582                scope="session"
583                validate="false">
584       <forward name="success" path="/docs/calendar/calendarDescriptions.jsp"/>
585     </action>
586
587     <!-- ===============================================================
588                        Subscriptions
589          =============================================================== -->
590
591      <!-- renderUrl -->
592      <action    path="/subs/showSubs"
593                type="org.bedework.webclient.BwRenderAction"
594                name="calForm"
595                scope="session"
596                validate="false">
597       <forward name="success" path="/docs/subs/subscriptions.jsp"/>
598     </action>
599
600     <action    path="/subs/fetch"
601                type="org.bedework.webcommon.subs.GetSubscriptionsAction"
602                name="calForm"
603                scope="session"
604                validate="false">
605       <forward name="success" path="/subs/showSubs.rdo" redirect="true" />
606     </action>
607
608     <!-- renderUrl -->
609     <action    path="/subs/showModForm"
610                type="org.bedework.webclient.BwRenderAction"
611                name="calForm"
612                scope="session"
613                validate="false">
614       <forward name="success" path="/docs/subs/modSubscription.jsp"/>
615     </action>
616
617     <!-- renderUrl -->
618     <action    path="/subs/showAddByUriForm"
619                type="org.bedework.webclient.BwRenderAction"
620                name="calForm"
621                scope="session"
622                validate="false">
623       <forward name="success" path="/docs/subs/addSubByUri.jsp"/>
624     </action>
625
626     <action    path="/subs/initAdd"
627                type="org.bedework.webcommon.subs.InitSubscribeAction"
628                name="calForm"
629                scope="session"
630                validate="false">
631       <forward name="noAccess" path="/subs/showSubs.rdo" redirect="true"/>
632       <forward name="cancelled" path="/subs/showSubs.rdo" redirect="true"/>
633       <forward name="added" path="/subs/showModForm.rdo" redirect="true" />
634       <forward name="success" path="/subs/showModForm.rdo" redirect="true" />
635     </action>
636
637     <action    path="/subs/fetchForUpdate"
638                type="org.bedework.webcommon.subs.FetchSubscriptionAction"
639                name="calForm"
640                scope="session"
641                validate="false">
642       <forward name="notFound" path="/admin/showMain.rdo" redirect="true" />
643       <forward name="continue" path="/subs/showModForm.rdo" redirect="true" />
644     </action>
645
646     <action    path="/subs/subscribe"
647                type="org.bedework.webcommon.subs.EndSubscribeAction"
648                name="calForm"
649                scope="session"
650                validate="false">
651       <forward name="cancelled" path="/subs/showSubs.rdo" redirect="true"/>
652       <forward name="retry" path="/subs/showModForm.rdo" redirect="true"/>
653       <forward name="reffed" path="/subs/showSubs.rdo" redirect="true"/>
654       <forward name="noAccess" path="/subs/showSubs.rdo" redirect="true"/>
655       <forward name="added" path="/subs/showSubs.rdo" redirect="true" />
656       <forward name="updated" path="/subs/showSubs.rdo" redirect="true" />
657       <forward name="success" path="/subs/showSubs.rdo" redirect="true" />
658     </action>
659
660     <action    path="/subs/subscribeByUri"
661                type="org.bedework.webcommon.subs.SubscribeAction"
662                name="calForm"
663                scope="session"
664                validate="false">
665       <forward name="cancelled" path="/subs/showSubs.rdo" redirect="true"/>
666       <forward name="retry" path="/subs/showAddByUriForm.rdo" redirect="true"/>
667       <forward name="reffed" path="/subs/showSubs.rdo" redirect="true"/>
668       <forward name="noAccess" path="/subs/showSubs.rdo" redirect="true"/>
669       <forward name="success" path="/subs/showSubs.rdo" redirect="true" />
670     </action>
671
672     <action    path="/subs/unsubscribe"
673                type="org.bedework.webcommon.subs.UnsubscribeAction"
674                name="calForm"
675                scope="session"
676                validate="false">
677       <forward name="success" path="/subs/showSubs.rdo" redirect="true" />
678     </action>
679
680     <!-- ===============================================================
681                         Views
682          =============================================================== -->
683
684     <action    path="/addView"
685                type="org.bedework.webcommon.views.AddViewAction"
686                name="calForm"
687                scope="session"
688                validate="false">
689     </action>
690
691     <action    path="/removeView"
692                type="org.bedework.webcommon.views.DeleteViewAction"
693                name="calForm"
694                scope="session"
695                validate="false">
696     </action>
697
698     <!-- ===============================================================
699                      User Preferences (also see email and alarms)
700          =============================================================== -->
701
702     <!-- ........... PERSONAL client only ...... -->
703
704     <!-- renderUrl -->
705     <action    path="/prefs/showModForm"
706                type="org.bedework.webclient.BwRenderAction"
707                name="calForm"
708                scope="session"
709                validate="false">
710       <forward name="success" path="/docs/prefs/modPrefs.jsp"/>
711     </action>
712
713     <action    path="/prefs/fetchForUpdate"
714                type="org.bedework.webcommon.pref.FetchPrefsAction"
715                name="calForm"
716                scope="session"
717                validate="false">
718       <forward name="notFound" path="/showMain.rdo" redirect="true" />
719       <forward name="success" path="/prefs/showModForm.rdo" redirect="true" />
720     </action>
721
722     <action    path="/prefs/update"
723                type="org.bedework.webcommon.pref.UpdatePrefsAction"
724                name="calForm"
725                scope="session"
726                validate="false">
727       <forward name="cancelled" path="/showMain.rdo" redirect="true" />
728       <forward name="retry" path="/prefs/showModForm.rdo"  redirect="true"/>
729       <forward name="notFound" path="/prefs/showModForm.rdo"  redirect="true"/>
730       <forward name="success" path="/prefs/showModForm.rdo" redirect="true" />
731     </action>
732
733     <!-- ===============================================================
734                      Mailing Events
735          =============================================================== -->
736
737     <!-- renderUrl -->
738     <action    path="/showEmailOptions"
739                type="org.bedework.webclient.BwRenderAction"
740                name="calForm"
741                scope="session"
742                validate="false">
743       <forward name="success" path="/docs/emailOptions.jsp" />
744     </action>
745
746     <action    path="/initMailEvent"
747                type="org.bedework.webclient.BwEventAction"
748                name="calForm"
749                scope="session"
750                validate="false">
751       <forward name="notFound" path="/showMain.rdo" redirect="true" />
752       <forward name="success" path="/showEmailOptions.rdo" redirect="true" />
753     </action>
754
755     <action    path="/mailEvent"
756                type="org.bedework.webclient.BwMailEventAction"
757                name="calForm"
758                scope="session"
759                validate="false">
760       <forward name="noEvent" path="/showMain.rdo" redirect="true" />
761       <forward name="retry" path="/showEmailOptions.rdo" redirect="true" />
762       <forward name="success" path="/showMain.rdo" redirect="true" />
763     </action>
764
765     <!-- ===============================================================
766                      Event Alarms
767          =============================================================== -->
768
769     <!-- renderUrl -->
770     <action    path="/showAlarmOptions"
771                type="org.bedework.webclient.BwRenderAction"
772                name="calForm"
773                scope="session"
774                validate="false">
775       <forward name="success" path="/docs/alarmOptions.jsp" />
776     </action>
777
778     <action    path="/initEventAlarm"
779                type="org.bedework.webclient.BwEventAction"
780                name="calForm"
781                scope="session"
782                validate="false">
783       <forward name="notFound" path="/showMain.rdo" redirect="true" />
784       <forward name="success" path="/showAlarmOptions.rdo" redirect="true" />
785     </action>
786
787     <action    path="/setAlarm"
788                type="org.bedework.webclient.BwSetAlarmAction"
789                name="calForm"
790                scope="session"
791                validate="false">
792       <forward name="noEvent" path="/showMain.rdo" redirect="true" />
793       <forward name="retry" path="/showAlarmOptions.rdo" redirect="true" />
794       <forward name="success" path="/showMain.rdo" redirect="true" />
795     </action>
796
797     <!-- ===============================================================
798                      System Statistics
799      =============================================================== -->
800
801     <!-- renderUrl -->
802     <action    path="/showStats"
803                type="org.bedework.webclient.BwRenderAction"
804                name="calForm"
805                scope="session"
806                validate="false">
807       <forward name="success" path="/docs/showSysStats.jsp" />
808     </action>
809
810     <action    path="/stats"
811                type="org.bedework.webcommon.misc.StatisticsAction"
812                name="calForm"
813                scope="session"
814                validate="false">
815       <forward name="continue"  path="/showStats.rdo" redirect="true" />
816       <forward name="success"  path="/showStats.rdo" redirect="true" />
817     </action>
818   </action-mappings>
819
820 <!--               unknown="true" -->
821
822   <!-- Below will be one or more comments which must not be edited or removed
823        for the portlet build process to succeed. The comment will be replaced
824         by some extra cofiguration.
825        -->
826
827   <!-- Jetspeed2 controller def here -->
828
829   <message-resources parameter="servlet" null="true" />
830
831 </struts-config>
Note: See TracBrowser for help on using the browser.