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

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

added sharing information to edit event for personal client user interface. Needs some implementation on back-end (xml output, etc).

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 uwcal client.
9      ====================================================================== -->
10
11 <struts-config>
12   <!-- ========== Form Bean Definitions =================================== -->
13   <form-beans>
14     <form-bean      name="calForm"
15                     type="org.bedework.webclient.BwActionForm"/>
16   </form-beans>
17
18   <!-- ========== Global Forward Definitions ============================== -->
19   <global-forwards>
20     <!-- render forwards -->
21     <forward name="initialise" path="/initialise.rdo"/>
22     <forward name="showCals" path="/showCals.rdo"/>
23     <forward name="showManageLocations" path="/showManageLocations.rdo"/>
24     <forward name="showEditLocation" path="/showEditLocation.rdo"/>
25     <forward name="showEditEvent" path="/showEditEvent.rdo"/>
26     <forward name="eventMore" path="/showEventMore.rdo"/>
27     <forward name="initUpload" path="/initUpload.rdo"/>
28     <forward name="showMsgErr" path="/showMsgErr.rdo"/>
29
30     <!-- Forward for a new session from some bookmarked link? -->
31     <forward name="gotomain" path="/docs/main.jsp" />
32
33     <forward name="initial" path="/setup.do"/>
34
35     <forward name="doNothing" path="/showMain.rdo" redirect="true" />
36     <forward name="error" path="/showMain.rdo" redirect="true" />
37     <forward name="success" path="/showMain.rdo" redirect="true" />
38     <forward name="cancelled" path="/showMain.rdo" redirect="true" />
39   </global-forwards>
40
41   <!-- ========== Action Mapping Definitions ============================== -->
42   <action-mappings>
43
44     <!-- ===============================================================
45          Render actions - these should be referenced by the rdo suffix to
46          invoke the xslt filter
47          =============================================================== -->
48
49          <!--
50     <action    path="/showMain"
51                name="calForm"
52                scope="session"
53                validate="false"
54                include="/docs/main.jsp"/>
55 -->
56     <action    path="/showMain"
57                type="org.bedework.webclient.BwRenderAction"
58                name="calForm"
59                scope="session"
60                validate="false">
61       <forward name="success" path="/docs/main.jsp"/>
62     </action>
63
64     <action    path="/showPublicCals"
65                type="org.bedework.webclient.BwRenderAction"
66                name="calForm"
67                scope="session"
68                validate="false">
69       <forward name="success" path="/docs/calendar/emitPublicCalendars.jsp" />
70     </action>
71
72     <action    path="/showCals"
73                type="org.bedework.webclient.BwRenderAction"
74                name="calForm"
75                scope="session"
76                validate="false">
77       <forward name="success" path="/docs/calendar/emitCalendars.jsp" />
78     </action>
79
80     <action    path="/showEventMore"
81                type="org.bedework.webclient.BwRenderAction"
82                name="calForm"
83                scope="session"
84                validate="false">
85       <forward name="success" path="/docs/event/eventMore.jsp" />
86     </action>
87
88    <action    path="/showAddEvent"
89                type="org.bedework.webclient.BwRenderAction"
90                name="calForm"
91                scope="session"
92                validate="false">
93       <forward name="success" path="/docs/event/addEvent.jsp" />
94     </action>
95
96     <action    path="/showEditEvent"
97                type="org.bedework.webclient.BwRenderAction"
98                name="calForm"
99                scope="session"
100                validate="false">
101       <forward name="success" path="/docs/event/editEvent.jsp" />
102     </action>
103
104     <action    path="/showExportData"
105                type="org.bedework.webclient.BwRenderAction"
106                name="calForm"
107                scope="session"
108                validate="false">
109       <forward name="success" path="/docs/exportData.jsp" />
110     </action>
111
112     <action    path="/showFreeBusy"
113                type="org.bedework.webclient.BwRenderAction"
114                name="calForm"
115                scope="session"
116                validate="false">
117       <forward name="success" path="/docs/freeBusy.jsp" />
118     </action>
119
120     <action    path="/showManageLocations"
121                type="org.bedework.webclient.BwRenderAction"
122                name="calForm"
123                scope="session"
124                validate="false">
125       <forward name="success" path="/docs/location/manageLocations.jsp" />
126     </action>
127
128     <action    path="/showEditLocation"
129                type="org.bedework.webclient.BwRenderAction"
130                name="calForm"
131                scope="session"
132                validate="false">
133       <forward name="success" path="/docs/location/editLocation.jsp" />
134     </action>
135
136     <action    path="/showEmailOptions"
137                type="org.bedework.webclient.BwRenderAction"
138                name="calForm"
139                scope="session"
140                validate="false">
141       <forward name="success" path="/docs/emailOptions.jsp" />
142     </action>
143
144     <action    path="/showAlarmOptions"
145                type="org.bedework.webclient.BwRenderAction"
146                name="calForm"
147                scope="session"
148                validate="false">
149       <forward name="success" path="/docs/alarmOptions.jsp" />
150     </action>
151
152     <action    path="/initUpload"
153                type="org.bedework.webclient.BwRenderAction"
154                name="calForm"
155                scope="session"
156                validate="false">
157       <forward name="success" path="/docs/upload.jsp" />
158     </action>
159
160     <action    path="/initialise"
161                type="org.bedework.webclient.BwRenderAction"
162                name="calForm"
163                scope="session"
164                validate="false">
165       <forward name="success" path="/docs/main.jsp" />
166       <forward name="loggedOut" path="/docs/login/logout.html" />
167     </action>
168
169     <action    path="/showMsgErr"
170                type="org.bedework.webclient.BwRenderAction"
171                name="calForm"
172                scope="session"
173                validate="false">
174       <forward name="success" path="/docs/showMsgErr.jsp"/>
175     </action>
176
177     <!-- ===============================================================
178          These actions do not render - these should be referenced by the do
179          suffix and should redirect to a render action.
180          =============================================================== -->
181
182     <action    path="/setup"
183                type="org.bedework.webclient.BwAction"
184                name="calForm"
185                scope="session"
186                validate="false">
187       <forward name="loggedOut" path="/docs/login/logout.html" />
188     </action>
189
190     <action    path="/setSelection"
191                type="org.bedework.webcommon.misc.SetSelectionAction"
192                name="calForm"
193                scope="session"
194                validate="false">
195       <forward name="notFound" path="/showMain.rdo" redirect="true" />
196       <forward name="noViewDef" path="/showMain.rdo" redirect="true" />
197     </action>
198
199     <action    path="/setViewPeriod"
200                type="org.bedework.webclient.BwGoToAction"
201                name="calForm"
202                scope="session"
203                validate="false">
204     </action>
205
206     <action    path="/eventView"
207                type="org.bedework.webclient.BwEventAction"
208                name="calForm"
209                scope="session"
210                validate="false">
211       <forward name="success" path="/showEventMore.rdo" redirect="true" />
212     </action>
213
214     <!-- The following action is used for adding events from a form on the main
215          personal calandar page (a la Washington); on error or success, we return to the
216          main.jsp page. -->
217     <action    path="/addEvent"
218                type="org.bedework.webclient.BwAddEventAction"
219                name="calForm"
220                scope="session"
221                validate="false">
222     </action>
223
224     <!-- The following 2 actions are used for adding events from an "add event" page
225          (a la Demo, Rensselaer); on error, we return to the
226          addEvent.jsp page. -->
227     <action    path="/initEvent"
228                type="org.bedework.webclient.BwInitEventAction"
229                name="calForm"
230                scope="session"
231                validate="false">
232       <forward name="success" path="/showAddEvent.rdo" redirect="true" />
233     </action>
234
235     <action    path="/addEventUsingPage"
236                type="org.bedework.webclient.BwAddEventAction"
237                name="calForm"
238                scope="session"
239                validate="false">
240       <forward name="error" path="/showAddEvent.rdo" redirect="true" />
241       <forward name="doNothing" path="/showAddEvent.rdo" redirect="true" />
242     </action>
243
244     <action    path="/editEvent"
245                type="org.bedework.webclient.BwEditEventAction"
246                name="calForm"
247                scope="session"
248                validate="false">
249       <forward name="edit" path="/showEditEvent.rdo" redirect="true" />
250     </action>
251
252     <action    path="/delEvent"
253                type="org.bedework.webclient.BwDelEventAction"
254                name="calForm"
255                scope="session"
256                validate="false">
257     </action>
258
259     <action    path="/addEventRef"
260                type="org.bedework.webclient.BwAddEventRefAction"
261                name="calForm"
262                scope="session"
263                validate="false">
264     </action>
265
266     <action    path="/event/setAccess"
267                type="org.bedework.webcommon.access.AccessAction"
268                name="calForm"
269                scope="session"
270                validate="false">
271       <forward name="success" path="/showEditEvent.rdo" redirect="true" />
272       <forward name="error" path="/showEditEvent.rdo" redirect="true" />
273       <forward name="notFound" path="/showEditEvent.rdo" redirect="true" />
274       <forward name="doNothing" path="/showEditEvent.rdo" redirect="true" />
275     </action>
276
277     <action    path="/upload"
278                type="org.bedework.webcommon.misc.UploadAction"
279                name="calForm"
280                scope="session"
281                validate="false">
282     <forward name="baddata" path="/showMain.rdo" redirect="true" />
283     </action>
284
285     <action    path="/export"
286                type="org.bedework.webcommon.misc.ExportAction"
287                name="calForm"
288                scope="session"
289                validate="false">
290       <forward name="success" path="/showExportData.rdo" redirect="true" />
291     </action>
292
293     <action    path="/showPage"
294                type="org.bedework.webclient.BwAction"
295                name="calForm"
296                scope="session"
297                validate="false">
298       <forward name="success" path="/docs/showPage.jsp" />
299     </action>
300
301     <action    path="/getFreeBusy"
302                type="org.bedework.webclient.BwFreeBusyAction"
303                name="calForm"
304                scope="session"
305                validate="false">
306       <forward name="success" path="/showFreeBusy.rdo" redirect="true" />
307     </action>
308
309     <action    path="/manageLocations"
310                type="org.bedework.webclient.BwAction"
311                name="calForm"
312                scope="session"
313                validate="false">
314       <forward name="success" path="/showManageLocations.rdo" redirect="true" />
315     </action>
316
317     <action    path="/addLocation"
318                type="org.bedework.webclient.BwAddLocationAction"
319                name="calForm"
320                scope="session"
321                validate="false">
322       <forward name="success" path="/showManageLocations.rdo" redirect="true" />
323     </action>
324
325     <action    path="/editLoc"
326                type="org.bedework.webclient.BwEditLocationAction"
327                name="calForm"
328                scope="session"
329                validate="false">
330       <forward name="edit" path="/showEditLocation.rdo" redirect="true" />
331       <forward name="success" path="/showManageLocations.rdo" redirect="true" />
332     </action>
333
334     <action    path="/delLocation"
335                type="org.bedework.webclient.BwDelLocationAction"
336                name="calForm"
337                scope="session"
338                validate="false">
339       <forward name="referenced" path="/showManageLocations.rdo" redirect="true" />
340       <forward name="success" path="/showManageLocations.rdo" redirect="true" />
341     </action>
342
343     <!-- ===============================================================
344                          Calendar Actions
345          =============================================================== -->
346
347     <!-- ........... public and personal for viewing and selecting ...... -->
348
349     <action    path="/fetchPublicCalendars"
350                type="org.bedework.webclient.BwAction"
351                name="calForm"
352                scope="session"
353                validate="false">
354       <forward name="success" path="/showPublicCals.rdo" redirect="true" />
355     </action>
356
357     <action    path="/fetchCalendars"
358                type="org.bedework.webclient.BwAction"
359                name="calForm"
360                scope="session"
361                validate="false">
362       <forward name="success" path="/showCals.rdo" redirect="true" />
363     </action>
364
365     <!-- ........... personal only for modifying calendars .............. -->
366
367     <action    path="/calendar/showCalendar"
368                type="org.bedework.webclient.BwRenderAction"
369                name="calForm"
370                scope="session"
371                validate="false">
372       <forward name="success" path="/docs/calendar/displayCalendar.jsp"/>
373     </action>
374
375     <action    path="/calendar/showReferenced"
376                type="org.bedework.webclient.BwRenderAction"
377                name="calForm"
378                scope="session"
379                validate="false">
380       <forward name="success" path="/docs/calendar/referenced.jsp"/>
381     </action>
382
383     <action    path="/calendar/showModForm"
384                type="org.bedework.webclient.BwRenderAction"
385                name="calForm"
386                scope="session"
387                validate="false">
388       <forward name="success" path="/docs/calendar/modCalendar.jsp"/>
389     </action>
390
391     <action    path="/calendar/showDescriptionList"
392                type="org.bedework.webclient.BwRenderAction"
393                name="calForm"
394                scope="session"
395                validate="false">
396       <forward name="success" path="/docs/calendar/calendarDescriptions.jsp"/>
397     </action>
398
399     <action    path="/calendar/showUpdateList"
400                type="org.bedework.webclient.BwRenderAction"
401                name="calForm"
402                scope="session"
403                validate="false">
404       <forward name="success" path="/docs/calendar/calendarList.jsp"/>
405     </action>
406
407     <action    path="/calendar/showDeleteConfirm"
408                type="org.bedework.webclient.BwRenderAction"
409                name="calForm"
410                scope="session"
411                validate="false">
412       <forward name="cancelled" path="/calendar/showUpdateList.rdo" redirect="true" />
413       <forward name="success" path="/docs/calendar/deleteConfirm.jsp" />
414     </action>
415
416     <action    path="/calendar/initAdd"
417                type="org.bedework.webcommon.calendars.InitAddCalendarAction"
418                name="calForm"
419                scope="session"
420                validate="false">
421       <forward name="continue" path="/calendar/showModForm.rdo" redirect="true" />
422     </action>
423
424     <action    path="/calendar/delete"
425                type="org.bedework.webcommon.calendars.DeleteCalendarAction"
426                name="calForm"
427                scope="session"
428                validate="false">
429       <forward name="inUse" path="/calendar/showReferenced.rdo" redirect="true" />
430       <forward name="notFound" path="/calendar/showUpdateList.rdo" redirect="true" />
431       <forward name="cancelled" path="/calendar/showUpdateList.rdo" redirect="true" />
432       <forward name="continue" path="/calendar/showUpdateList.rdo" redirect="true" />
433     </action>
434
435     <action    path="/calendar/fetchForDisplay"
436                type="org.bedework.webcommon.calendars.FetchCalendarAction"
437                name="calForm"
438                scope="session"
439                validate="false">
440       <forward name="notFound" path="/admin/showMain.rdo" redirect="true" />
441       <forward name="continue" path="/calendar/showCalendar.rdo" redirect="true" />
442     </action>
443
444     <action    path="/calendar/fetchForUpdate"
445                type="org.bedework.webcommon.calendars.FetchCalendarAction"
446                name="calForm"
447                scope="session"
448                validate="false">
449       <forward name="notFound" path="/admin/showUpdateList.rdo" redirect="true" />
450       <forward name="continue" path="/calendar/showModForm.rdo" redirect="true" />
451     </action>
452
453     <action    path="/calendar/update"
454                type="org.bedework.webcommon.calendars.UpdateCalendarAction"
455                name="calForm"
456                scope="session"
457                validate="false">
458       <forward name="continue" path="/calendar/showUpdateList.rdo" redirect="true" />
459       <forward name="cancelled" path="/calendar/showUpdateList.rdo" redirect="true" />
460       <forward name="retry" path="/calendar/showModForm.rdo" redirect="true" />
461       <forward name="delete" path="/calendar/showDeleteConfirm.rdo" redirect="true" />
462     </action>
463
464     <action    path="/calendar/setAccess"
465                type="org.bedework.webcommon.access.AccessAction"
466                name="calForm"
467                scope="session"
468                validate="false">
469       <forward name="success" path="/calendar/showModForm.rdo" redirect="true" />
470       <forward name="error" path="/calendar/showModForm.rdo" redirect="true" />
471       <forward name="notFound" path="/calendar/showModForm.rdo" redirect="true" />
472       <forward name="doNothing" path="/calendar/showModForm.rdo" redirect="true" />
473     </action>
474     <!-- ....................... system stats .......................... -->
475
476     <action    path="/showStats"
477                type="org.bedework.webclient.BwRenderAction"
478                name="calForm"
479                scope="session"
480                validate="false">
481       <forward name="success" path="/docs/showSysStats.jsp" />
482     </action>
483
484     <action    path="/stats"
485                type="org.bedework.webcommon.misc.StatisticsAction"
486                name="calForm"
487                scope="session"
488                validate="false">
489       <forward name="continue"  path="/showStats.rdo" redirect="true" />
490       <forward name="success"  path="/showStats.rdo" redirect="true" />
491     </action>
492
493     <!-- ....................... mailing events ........................ -->
494
495     <action    path="/initMailEvent"
496                type="org.bedework.webclient.BwEventAction"
497                name="calForm"
498                scope="session"
499                validate="false">
500       <forward name="notFound" path="/showMain.rdo" redirect="true" />
501       <forward name="success" path="/showEmailOptions.rdo" redirect="true" />
502     </action>
503
504     <action    path="/mailEvent"
505                type="org.bedework.webclient.BwMailEventAction"
506                name="calForm"
507                scope="session"
508                validate="false">
509       <forward name="noEvent" path="/showMain.rdo" redirect="true" />
510       <forward name="retry" path="/showEmailOptions.rdo" redirect="true" />
511       <forward name="success" path="/showMain.rdo" redirect="true" />
512     </action>
513
514     <!-- ....................... event alarms .......................... -->
515
516     <action    path="/initEventAlarm"
517                type="org.bedework.webclient.BwEventAction"
518                name="calForm"
519                scope="session"
520                validate="false">
521       <forward name="notFound" path="/showMain.rdo" redirect="true" />
522       <forward name="success" path="/showAlarmOptions.rdo" redirect="true" />
523     </action>
524
525     <action    path="/setAlarm"
526                type="org.bedework.webclient.BwSetAlarmAction"
527                name="calForm"
528                scope="session"
529                validate="false">
530       <forward name="noEvent" path="/showMain.rdo" redirect="true" />
531       <forward name="retry" path="/showAlarmOptions.rdo" redirect="true" />
532       <forward name="success" path="/showMain.rdo" redirect="true" />
533     </action>
534
535     <!-- ..................... subscriptions .......................... -->
536
537      <action    path="/subs/showSubs"
538                type="org.bedework.webclient.BwRenderAction"
539                name="calForm"
540                scope="session"
541                validate="false">
542       <forward name="success" path="/docs/subs/subscriptions.jsp"/>
543     </action>
544
545     <action    path="/subs/showModForm"
546                type="org.bedework.webclient.BwRenderAction"
547                name="calForm"
548                scope="session"
549                validate="false">
550       <forward name="success" path="/docs/subs/modSubscription.jsp"/>
551     </action>
552
553     <action    path="/subs/fetch"
554                type="org.bedework.webcommon.subs.GetSubscriptionsAction"
555                name="calForm"
556                scope="session"
557                validate="false">
558       <forward name="success" path="/subs/showSubs.rdo" redirect="true" />
559     </action>
560
561     <action    path="/subs/fetchForUpdate"
562                type="org.bedework.webcommon.subs.FetchSubscriptionAction"
563                name="calForm"
564                scope="session"
565                validate="false">
566       <forward name="notFound" path="/admin/showMain.rdo" redirect="true" />
567       <forward name="continue" path="/subs/showModForm.rdo" redirect="true" />
568     </action>
569
570     <action    path="/subs/initAdd"
571                type="org.bedework.webcommon.subs.InitSubscribeAction"
572                name="calForm"
573                scope="session"
574                validate="false">
575       <forward name="noAccess" path="/subs/showSubs.rdo" redirect="true"/>
576       <forward name="cancelled" path="/subs/showSubs.rdo" redirect="true"/>
577       <forward name="success" path="/subs/showModForm.rdo" redirect="true" />
578     </action>
579
580
581     <action    path="/subs/subscribe"
582                type="org.bedework.webcommon.subs.SubscribeAction"
583                name="calForm"
584                scope="session"
585                validate="false">
586       <forward name="cancelled" path="/subs/showSubs.rdo" redirect="true"/>
587       <forward name="retry" path="/subs/showModForm.rdo" redirect="true"/>
588       <forward name="reffed" path="/subs/showSubs.rdo" redirect="true"/>
589       <forward name="success" path="/subs/showSubs.rdo" redirect="true" />
590     </action>
591
592     <action    path="/subs/unsubscribe"
593                type="org.bedework.webcommon.subs.UnsubscribeAction"
594                name="calForm"
595                scope="session"
596                validate="false">
597       <forward name="success" path="/subs/showSubs.rdo" redirect="true" />
598     </action>
599
600     <!-- ......................... views .............................. -->
601
602     <action    path="/addView"
603                type="org.bedework.webcommon.views.AddViewAction"
604                name="calForm"
605                scope="session"
606                validate="false">
607     </action>
608
609     <action    path="/removeView"
610                type="org.bedework.webcommon.views.DeleteViewAction"
611                name="calForm"
612                scope="session"
613                validate="false">
614     </action>
615   </action-mappings>
616 <!--               unknown="true" -->
617
618   <!-- Below will be one or more comments which must not be edited or removed
619        for the portlet build process to succeed. The comment will be replaced
620         by some extra cofiguration.
621        -->
622
623   <!-- Jetspeed2 controller def here -->
624
625   <message-resources parameter="servlet" null="true" />
626
627 </struts-config>
Note: See TracBrowser for help on using the browser.