| 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="edit" path="/showEditEvent.rdo" redirect="true" /> |
|---|
| 232 |
<forward name="error" path="/showEditEvent.rdo" redirect="true" /> |
|---|
| 233 |
<forward name="notFound" path="/showEditEvent.rdo" redirect="true" /> |
|---|
| 234 |
<forward name="doNothing" path="/showEditEvent.rdo" redirect="true" /> |
|---|
| 235 |
</action> |
|---|
| 236 |
|
|---|
| 237 |
<!-- === Selecting calendars while adding and modifying Events === --> |
|---|
| 238 |
<!-- renderUrl --> |
|---|
| 239 |
<action path="/event/showCalsForEvent" |
|---|
| 240 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 241 |
name="calForm" |
|---|
| 242 |
scope="session" |
|---|
| 243 |
validate="false"> |
|---|
| 244 |
<forward name="success" path="/docs/event/selectCalForEvent.jsp"/> |
|---|
| 245 |
</action> |
|---|
| 246 |
|
|---|
| 247 |
<action path="/event/selectCalForEvent" |
|---|
| 248 |
type="org.bedework.webclient.BwAction" |
|---|
| 249 |
name="calForm" |
|---|
| 250 |
scope="session" |
|---|
| 251 |
validate="false"> |
|---|
| 252 |
<forward name="success" path="/event/showCalsForEvent.rdo" redirect="true" /> |
|---|
| 253 |
</action> |
|---|
| 254 |
|
|---|
| 255 |
<!-- === Adding Event References === --> |
|---|
| 256 |
<!-- renderUrl --> |
|---|
| 257 |
<action path="/event/showAddEventRef" |
|---|
| 258 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 259 |
name="calForm" |
|---|
| 260 |
scope="session" |
|---|
| 261 |
validate="false"> |
|---|
| 262 |
<forward name="success" path="/docs/event/addEventRef.jsp" /> |
|---|
| 263 |
</action> |
|---|
| 264 |
|
|---|
| 265 |
<action path="/addEventRef" |
|---|
| 266 |
type="org.bedework.webclient.BwEventAction" |
|---|
| 267 |
name="calForm" |
|---|
| 268 |
scope="session" |
|---|
| 269 |
validate="false"> |
|---|
| 270 |
<forward name="success" path="/event/showAddEventRef.rdo" redirect="true" /> |
|---|
| 271 |
</action> |
|---|
| 272 |
|
|---|
| 273 |
<action path="/event/addEventRefComplete" |
|---|
| 274 |
type="org.bedework.webclient.BwAddEventRefAction" |
|---|
| 275 |
name="calForm" |
|---|
| 276 |
scope="session" |
|---|
| 277 |
validate="false"> |
|---|
| 278 |
<forward name="duplicate" path="/showMain.rdo" redirect="true" /> |
|---|
| 279 |
</action> |
|---|
| 280 |
|
|---|
| 281 |
<!-- === Deleting Events === --> |
|---|
| 282 |
<action path="/delEvent" |
|---|
| 283 |
type="org.bedework.webclient.BwDelEventAction" |
|---|
| 284 |
name="calForm" |
|---|
| 285 |
scope="session" |
|---|
| 286 |
validate="false"> |
|---|
| 287 |
</action> |
|---|
| 288 |
|
|---|
| 289 |
<!-- =============================================================== |
|---|
| 290 |
Export (download) and Import |
|---|
| 291 |
=============================================================== --> |
|---|
| 292 |
|
|---|
| 293 |
<!-- ........... PUBLIC and PERSONAL clients ...... --> |
|---|
| 294 |
|
|---|
| 295 |
<!-- renderUrl --> |
|---|
| 296 |
<action path="/showExportData" |
|---|
| 297 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 298 |
name="calForm" |
|---|
| 299 |
scope="session" |
|---|
| 300 |
validate="false"> |
|---|
| 301 |
<forward name="success" path="/docs/exportData.jsp" /> |
|---|
| 302 |
</action> |
|---|
| 303 |
|
|---|
| 304 |
<action path="/export" |
|---|
| 305 |
type="org.bedework.webcommon.misc.ExportAction" |
|---|
| 306 |
name="calForm" |
|---|
| 307 |
scope="session" |
|---|
| 308 |
validate="false"> |
|---|
| 309 |
<forward name="success" path="/showExportData.rdo" redirect="true" /> |
|---|
| 310 |
</action> |
|---|
| 311 |
|
|---|
| 312 |
<!-- ........... PERSONAL client only ...... --> |
|---|
| 313 |
|
|---|
| 314 |
<!-- renderUrl --> |
|---|
| 315 |
<action path="/initUpload" |
|---|
| 316 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 317 |
name="calForm" |
|---|
| 318 |
scope="session" |
|---|
| 319 |
validate="false"> |
|---|
| 320 |
<forward name="success" path="/docs/upload.jsp" /> |
|---|
| 321 |
</action> |
|---|
| 322 |
|
|---|
| 323 |
<action path="/upload" |
|---|
| 324 |
type="org.bedework.webcommon.misc.UploadAction" |
|---|
| 325 |
name="calForm" |
|---|
| 326 |
scope="session" |
|---|
| 327 |
validate="false"> |
|---|
| 328 |
<forward name="baddata" path="/showMain.rdo" redirect="true" /> |
|---|
| 329 |
<forward name="retry" path="/initUpload.rdo" redirect="true" /> |
|---|
| 330 |
<forward name="success" path="/setup.do" redirect="true"/> |
|---|
| 331 |
</action> |
|---|
| 332 |
|
|---|
| 333 |
<!-- =============================================================== |
|---|
| 334 |
Locations |
|---|
| 335 |
=============================================================== --> |
|---|
| 336 |
|
|---|
| 337 |
<!-- ........... PERSONAL client only ...... --> |
|---|
| 338 |
|
|---|
| 339 |
<!-- renderUrl --> |
|---|
| 340 |
<action path="/showManageLocations" |
|---|
| 341 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 342 |
name="calForm" |
|---|
| 343 |
scope="session" |
|---|
| 344 |
validate="false"> |
|---|
| 345 |
<forward name="success" path="/docs/location/manageLocations.jsp" /> |
|---|
| 346 |
</action> |
|---|
| 347 |
|
|---|
| 348 |
<!-- renderUrl --> |
|---|
| 349 |
<action path="/showEditLocation" |
|---|
| 350 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 351 |
name="calForm" |
|---|
| 352 |
scope="session" |
|---|
| 353 |
validate="false"> |
|---|
| 354 |
<forward name="success" path="/docs/location/editLocation.jsp" /> |
|---|
| 355 |
</action> |
|---|
| 356 |
|
|---|
| 357 |
<action path="/manageLocations" |
|---|
| 358 |
type="org.bedework.webclient.BwAction" |
|---|
| 359 |
name="calForm" |
|---|
| 360 |
scope="session" |
|---|
| 361 |
validate="false"> |
|---|
| 362 |
<forward name="success" path="/showManageLocations.rdo" redirect="true" /> |
|---|
| 363 |
</action> |
|---|
| 364 |
|
|---|
| 365 |
<action path="/addLocation" |
|---|
| 366 |
type="org.bedework.webclient.BwAddLocationAction" |
|---|
| 367 |
name="calForm" |
|---|
| 368 |
scope="session" |
|---|
| 369 |
validate="false"> |
|---|
| 370 |
<forward name="success" path="/showManageLocations.rdo" redirect="true" /> |
|---|
| 371 |
</action> |
|---|
| 372 |
|
|---|
| 373 |
<action path="/editLoc" |
|---|
| 374 |
type="org.bedework.webclient.BwEditLocationAction" |
|---|
| 375 |
name="calForm" |
|---|
| 376 |
scope="session" |
|---|
| 377 |
validate="false"> |
|---|
| 378 |
<forward name="edit" path="/showEditLocation.rdo" redirect="true" /> |
|---|
| 379 |
<forward name="success" path="/showManageLocations.rdo" redirect="true" /> |
|---|
| 380 |
<forward name="cancelled" path="/showManageLocations.rdo" redirect="true" /> |
|---|
| 381 |
</action> |
|---|
| 382 |
|
|---|
| 383 |
<action path="/delLocation" |
|---|
| 384 |
type="org.bedework.webclient.BwDelLocationAction" |
|---|
| 385 |
name="calForm" |
|---|
| 386 |
scope="session" |
|---|
| 387 |
validate="false"> |
|---|
| 388 |
<forward name="referenced" path="/showManageLocations.rdo" redirect="true" /> |
|---|
| 389 |
<forward name="success" path="/showManageLocations.rdo" redirect="true" /> |
|---|
| 390 |
<forward name="cancelled" path="/showManageLocations.rdo" redirect="true" /> |
|---|
| 391 |
</action> |
|---|
| 392 |
|
|---|
| 393 |
<!-- =============================================================== |
|---|
| 394 |
Free / Busy |
|---|
| 395 |
=============================================================== --> |
|---|
| 396 |
|
|---|
| 397 |
<!-- ........... PERSONAL client only ...... --> |
|---|
| 398 |
|
|---|
| 399 |
<!-- renderUrl --> |
|---|
| 400 |
<action path="/freeBusy/showFreeBusy" |
|---|
| 401 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 402 |
name="calForm" |
|---|
| 403 |
scope="session" |
|---|
| 404 |
validate="false"> |
|---|
| 405 |
<forward name="success" path="/docs/freeBusy.jsp" /> |
|---|
| 406 |
</action> |
|---|
| 407 |
|
|---|
| 408 |
<action path="/freeBusy/getFreeBusy" |
|---|
| 409 |
type="org.bedework.webclient.BwFreeBusyAction" |
|---|
| 410 |
name="calForm" |
|---|
| 411 |
scope="session" |
|---|
| 412 |
validate="false"> |
|---|
| 413 |
<forward name="success" path="/freeBusy/showFreeBusy.rdo" redirect="true" /> |
|---|
| 414 |
<forward name="noAccess" path="/freeBusy/showFreeBusy.rdo" redirect="true" /> |
|---|
| 415 |
<forward name="notFound" path="/freeBusy/showFreeBusy.rdo" redirect="true" /> |
|---|
| 416 |
</action> |
|---|
| 417 |
|
|---|
| 418 |
<action path="/freeBusy/setAccess" |
|---|
| 419 |
type="org.bedework.webcommon.access.AccessAction" |
|---|
| 420 |
name="calForm" |
|---|
| 421 |
scope="session" |
|---|
| 422 |
validate="false"> |
|---|
| 423 |
<forward name="success" path="/freeBusy/showFreeBusy.rdo" redirect="true" /> |
|---|
| 424 |
<forward name="error" path="/freeBusy/showFreeBusy.rdo" redirect="true" /> |
|---|
| 425 |
<forward name="notFound" path="/freeBusy/showFreeBusy.rdo" redirect="true" /> |
|---|
| 426 |
<forward name="doNothing" path="/freeBusy/showFreeBusy.rdo" redirect="true" /> |
|---|
| 427 |
</action> |
|---|
| 428 |
|
|---|
| 429 |
<!-- =============================================================== |
|---|
| 430 |
Calendars |
|---|
| 431 |
=============================================================== --> |
|---|
| 432 |
|
|---|
| 433 |
<!-- ........... PUBLIC and PERSONAL clients ...... --> |
|---|
| 434 |
|
|---|
| 435 |
<!-- renderUrl --> |
|---|
| 436 |
<action path="/showPublicCals" |
|---|
| 437 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 438 |
name="calForm" |
|---|
| 439 |
scope="session" |
|---|
| 440 |
validate="false"> |
|---|
| 441 |
<forward name="success" path="/docs/calendar/calendarList.jsp" /> |
|---|
| 442 |
</action> |
|---|
| 443 |
|
|---|
| 444 |
<action path="/fetchPublicCalendars" |
|---|
| 445 |
type="org.bedework.webclient.BwAction" |
|---|
| 446 |
name="calForm" |
|---|
| 447 |
scope="session" |
|---|
| 448 |
validate="false"> |
|---|
| 449 |
<forward name="success" path="/showPublicCals.rdo" redirect="true" /> |
|---|
| 450 |
</action> |
|---|
| 451 |
|
|---|
| 452 |
<!-- renderUrl --> |
|---|
| 453 |
<action path="/showCals" |
|---|
| 454 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 455 |
name="calForm" |
|---|
| 456 |
scope="session" |
|---|
| 457 |
validate="false"> |
|---|
| 458 |
<forward name="success" path="/docs/calendar/emitCalendars.jsp" /> |
|---|
| 459 |
</action> |
|---|
| 460 |
|
|---|
| 461 |
<action path="/fetchCalendars" |
|---|
| 462 |
type="org.bedework.webclient.BwAction" |
|---|
| 463 |
name="calForm" |
|---|
| 464 |
scope="session" |
|---|
| 465 |
validate="false"> |
|---|
| 466 |
<forward name="success" path="/showCals.rdo" redirect="true" /> |
|---|
| 467 |
</action> |
|---|
| 468 |
|
|---|
| 469 |
<!-- ........... PERSONAL client only .............. --> |
|---|
| 470 |
|
|---|
| 471 |
<!-- renderUrl --> |
|---|
| 472 |
<action path="/calendar/showCalendar" |
|---|
| 473 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 474 |
name="calForm" |
|---|
| 475 |
scope="session" |
|---|
| 476 |
validate="false"> |
|---|
| 477 |
<forward name="success" path="/docs/calendar/displayCalendar.jsp"/> |
|---|
| 478 |
</action> |
|---|
| 479 |
|
|---|
| 480 |
<action path="/calendar/fetchForDisplay" |
|---|
| 481 |
type="org.bedework.webcommon.calendars.FetchCalendarAction" |
|---|
| 482 |
name="calForm" |
|---|
| 483 |
scope="session" |
|---|
| 484 |
validate="false"> |
|---|
| 485 |
<forward name="notFound" path="/admin/showMain.rdo" redirect="true" /> |
|---|
| 486 |
<forward name="continue" path="/calendar/showCalendar.rdo" redirect="true" /> |
|---|
| 487 |
</action> |
|---|
| 488 |
|
|---|
| 489 |
<!-- === Adding and Modifying Calendars === --> |
|---|
| 490 |
<!-- renderUrl --> |
|---|
| 491 |
<action path="/calendar/showModForm" |
|---|
| 492 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 493 |
name="calForm" |
|---|
| 494 |
scope="session" |
|---|
| 495 |
validate="false"> |
|---|
| 496 |
<forward name="success" path="/docs/calendar/modCalendar.jsp"/> |
|---|
| 497 |
</action> |
|---|
| 498 |
|
|---|
| 499 |
<action path="/calendar/initAdd" |
|---|
| 500 |
type="org.bedework.webcommon.calendars.InitAddCalendarAction" |
|---|
| 501 |
name="calForm" |
|---|
| 502 |
scope="session" |
|---|
| 503 |
validate="false"> |
|---|
| 504 |
<forward name="continue" path="/calendar/showModForm.rdo" redirect="true" /> |
|---|
| 505 |
</action> |
|---|
| 506 |
|
|---|
| 507 |
<!-- renderUrl --> |
|---|
| 508 |
<action path="/calendar/showUpdateList" |
|---|
| 509 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 510 |
name="calForm" |
|---|
| 511 |
scope="session" |
|---|
| 512 |
validate="false"> |
|---|
| 513 |
<forward name="success" path="/docs/calendar/calendarList.jsp"/> |
|---|
| 514 |
</action> |
|---|
| 515 |
|
|---|
| 516 |
<action path="/calendar/fetchForUpdate" |
|---|
| 517 |
type="org.bedework.webcommon.calendars.FetchCalendarAction" |
|---|
| 518 |
name="calForm" |
|---|
| 519 |
scope="session" |
|---|
| 520 |
validate="false"> |
|---|
| 521 |
<forward name="notFound" path="/admin/showUpdateList.rdo" redirect="true" /> |
|---|
| 522 |
<forward name="continue" path="/calendar/showModForm.rdo" redirect="true" /> |
|---|
| 523 |
</action> |
|---|
| 524 |
|
|---|
| 525 |
<action path="/calendar/update" |
|---|
| 526 |
type="org.bedework.webcommon.calendars.UpdateCalendarAction" |
|---|
| 527 |
name="calForm" |
|---|
| 528 |
scope="session" |
|---|
| 529 |
validate="false"> |
|---|
| 530 |
<forward name="continue" path="/calendar/showUpdateList.rdo" redirect="true" /> |
|---|
| 531 |
<forward name="cancelled" path="/calendar/showUpdateList.rdo" redirect="true" /> |
|---|
| 532 |
<forward name="retry" path="/calendar/showModForm.rdo" redirect="true" /> |
|---|
| 533 |
<forward name="delete" path="/calendar/showDeleteConfirm.rdo" redirect="true" /> |
|---|
| 534 |
</action> |
|---|
| 535 |
|
|---|
| 536 |
<action path="/calendar/setAccess" |
|---|
| 537 |
type="org.bedework.webcommon.access.AccessAction" |
|---|
| 538 |
name="calForm" |
|---|
| 539 |
scope="session" |
|---|
| 540 |
validate="false"> |
|---|
| 541 |
<forward name="success" path="/calendar/showModForm.rdo" redirect="true" /> |
|---|
| 542 |
<forward name="error" path="/calendar/showModForm.rdo" redirect="true" /> |
|---|
| 543 |
<forward name="notFound" path="/calendar/showModForm.rdo" redirect="true" /> |
|---|
| 544 |
<forward name="doNothing" path="/calendar/showModForm.rdo" redirect="true" /> |
|---|
| 545 |
</action> |
|---|
| 546 |
|
|---|
| 547 |
<!-- === deleting calendars === --> |
|---|
| 548 |
<!-- renderUrl --> |
|---|
| 549 |
<action path="/calendar/showDeleteConfirm" |
|---|
| 550 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 551 |
name="calForm" |
|---|
| 552 |
scope="session" |
|---|
| 553 |
validate="false"> |
|---|
| 554 |
<forward name="cancelled" path="/calendar/showUpdateList.rdo" redirect="true" /> |
|---|
| 555 |
<forward name="success" path="/docs/calendar/deleteConfirm.jsp" /> |
|---|
| 556 |
</action> |
|---|
| 557 |
|
|---|
| 558 |
<!-- renderUrl --> |
|---|
| 559 |
<action path="/calendar/showReferenced" |
|---|
| 560 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 561 |
name="calForm" |
|---|
| 562 |
scope="session" |
|---|
| 563 |
validate="false"> |
|---|
| 564 |
<forward name="success" path="/docs/calendar/referenced.jsp"/> |
|---|
| 565 |
</action> |
|---|
| 566 |
|
|---|
| 567 |
<action path="/calendar/delete" |
|---|
| 568 |
type="org.bedework.webcommon.calendars.DeleteCalendarAction" |
|---|
| 569 |
name="calForm" |
|---|
| 570 |
scope="session" |
|---|
| 571 |
validate="false"> |
|---|
| 572 |
<forward name="inUse" path="/calendar/showReferenced.rdo" redirect="true" /> |
|---|
| 573 |
<forward name="notFound" path="/calendar/showUpdateList.rdo" redirect="true" /> |
|---|
| 574 |
<forward name="cancelled" path="/calendar/showUpdateList.rdo" redirect="true" /> |
|---|
| 575 |
<forward name="continue" path="/calendar/showUpdateList.rdo" redirect="true" /> |
|---|
| 576 |
</action> |
|---|
| 577 |
|
|---|
| 578 |
<!-- === display a page of descriptions for public calendars (not currently used) === --> |
|---|
| 579 |
<!-- renderUrl --> |
|---|
| 580 |
<action path="/calendar/showDescriptionList" |
|---|
| 581 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 582 |
name="calForm" |
|---|
| 583 |
scope="session" |
|---|
| 584 |
validate="false"> |
|---|
| 585 |
<forward name="success" path="/docs/calendar/calendarDescriptions.jsp"/> |
|---|
| 586 |
</action> |
|---|
| 587 |
|
|---|
| 588 |
<!-- =============================================================== |
|---|
| 589 |
Subscriptions |
|---|
| 590 |
=============================================================== --> |
|---|
| 591 |
|
|---|
| 592 |
<!-- renderUrl --> |
|---|
| 593 |
<action path="/subs/showSubs" |
|---|
| 594 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 595 |
name="calForm" |
|---|
| 596 |
scope="session" |
|---|
| 597 |
validate="false"> |
|---|
| 598 |
<forward name="success" path="/docs/subs/subscriptions.jsp"/> |
|---|
| 599 |
</action> |
|---|
| 600 |
|
|---|
| 601 |
<action path="/subs/fetch" |
|---|
| 602 |
type="org.bedework.webcommon.subs.GetSubscriptionsAction" |
|---|
| 603 |
name="calForm" |
|---|
| 604 |
scope="session" |
|---|
| 605 |
validate="false"> |
|---|
| 606 |
<forward name="success" path="/subs/showSubs.rdo" redirect="true" /> |
|---|
| 607 |
</action> |
|---|
| 608 |
|
|---|
| 609 |
<!-- renderUrl --> |
|---|
| 610 |
<action path="/subs/showModForm" |
|---|
| 611 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 612 |
name="calForm" |
|---|
| 613 |
scope="session" |
|---|
| 614 |
validate="false"> |
|---|
| 615 |
<forward name="success" path="/docs/subs/modSubscription.jsp"/> |
|---|
| 616 |
</action> |
|---|
| 617 |
|
|---|
| 618 |
<!-- renderUrl --> |
|---|
| 619 |
<action path="/subs/showAddByUriForm" |
|---|
| 620 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 621 |
name="calForm" |
|---|
| 622 |
scope="session" |
|---|
| 623 |
validate="false"> |
|---|
| 624 |
<forward name="success" path="/docs/subs/addSubByUri.jsp"/> |
|---|
| 625 |
</action> |
|---|
| 626 |
|
|---|
| 627 |
<action path="/subs/initAdd" |
|---|
| 628 |
type="org.bedework.webcommon.subs.InitSubscribeAction" |
|---|
| 629 |
name="calForm" |
|---|
| 630 |
scope="session" |
|---|
| 631 |
validate="false"> |
|---|
| 632 |
<forward name="noAccess" path="/subs/showSubs.rdo" redirect="true"/> |
|---|
| 633 |
<forward name="cancelled" path="/subs/showSubs.rdo" redirect="true"/> |
|---|
| 634 |
<forward name="added" path="/subs/showModForm.rdo" redirect="true" /> |
|---|
| 635 |
<forward name="success" path="/subs/showModForm.rdo" redirect="true" /> |
|---|
| 636 |
</action> |
|---|
| 637 |
|
|---|
| 638 |
<action path="/subs/fetchForUpdate" |
|---|
| 639 |
type="org.bedework.webcommon.subs.FetchSubscriptionAction" |
|---|
| 640 |
name="calForm" |
|---|
| 641 |
scope="session" |
|---|
| 642 |
validate="false"> |
|---|
| 643 |
<forward name="notFound" path="/admin/showMain.rdo" redirect="true" /> |
|---|
| 644 |
<forward name="continue" path="/subs/showModForm.rdo" redirect="true" /> |
|---|
| 645 |
</action> |
|---|
| 646 |
|
|---|
| 647 |
<action path="/subs/subscribe" |
|---|
| 648 |
type="org.bedework.webcommon.subs.EndSubscribeAction" |
|---|
| 649 |
name="calForm" |
|---|
| 650 |
scope="session" |
|---|
| 651 |
validate="false"> |
|---|
| 652 |
<forward name="cancelled" path="/subs/showSubs.rdo" redirect="true"/> |
|---|
| 653 |
<forward name="retry" path="/subs/showModForm.rdo" redirect="true"/> |
|---|
| 654 |
<forward name="reffed" path="/subs/showSubs.rdo" redirect="true"/> |
|---|
| 655 |
<forward name="noAccess" path="/subs/showSubs.rdo" redirect="true"/> |
|---|
| 656 |
<forward name="added" path="/subs/showSubs.rdo" redirect="true" /> |
|---|
| 657 |
<forward name="updated" path="/subs/showSubs.rdo" redirect="true" /> |
|---|
| 658 |
<forward name="success" path="/subs/showSubs.rdo" redirect="true" /> |
|---|
| 659 |
</action> |
|---|
| 660 |
|
|---|
| 661 |
<action path="/subs/subscribeByUri" |
|---|
| 662 |
type="org.bedework.webcommon.subs.SubscribeAction" |
|---|
| 663 |
name="calForm" |
|---|
| 664 |
scope="session" |
|---|
| 665 |
validate="false"> |
|---|
| 666 |
<forward name="cancelled" path="/subs/showSubs.rdo" redirect="true"/> |
|---|
| 667 |
<forward name="retry" path="/subs/showAddByUriForm.rdo" redirect="true"/> |
|---|
| 668 |
<forward name="reffed" path="/subs/showSubs.rdo" redirect="true"/> |
|---|
| 669 |
<forward name="noAccess" path="/subs/showSubs.rdo" redirect="true"/> |
|---|
| 670 |
<forward name="success" path="/subs/showSubs.rdo" redirect="true" /> |
|---|
| 671 |
</action> |
|---|
| 672 |
|
|---|
| 673 |
<action path="/subs/unsubscribe" |
|---|
| 674 |
type="org.bedework.webcommon.subs.UnsubscribeAction" |
|---|
| 675 |
name="calForm" |
|---|
| 676 |
scope="session" |
|---|
| 677 |
validate="false"> |
|---|
| 678 |
<forward name="success" path="/subs/showSubs.rdo" redirect="true" /> |
|---|
| 679 |
</action> |
|---|
| 680 |
|
|---|
| 681 |
<!-- =============================================================== |
|---|
| 682 |
Views |
|---|
| 683 |
=============================================================== --> |
|---|
| 684 |
|
|---|
| 685 |
<action path="/addView" |
|---|
| 686 |
type="org.bedework.webcommon.views.AddViewAction" |
|---|
| 687 |
name="calForm" |
|---|
| 688 |
scope="session" |
|---|
| 689 |
validate="false"> |
|---|
| 690 |
</action> |
|---|
| 691 |
|
|---|
| 692 |
<action path="/removeView" |
|---|
| 693 |
type="org.bedework.webcommon.views.DeleteViewAction" |
|---|
| 694 |
name="calForm" |
|---|
| 695 |
scope="session" |
|---|
| 696 |
validate="false"> |
|---|
| 697 |
</action> |
|---|
| 698 |
|
|---|
| 699 |
<!-- =============================================================== |
|---|
| 700 |
User Preferences (also see email and alarms) |
|---|
| 701 |
=============================================================== --> |
|---|
| 702 |
|
|---|
| 703 |
<!-- ........... PERSONAL client only ...... --> |
|---|
| 704 |
|
|---|
| 705 |
<!-- renderUrl --> |
|---|
| 706 |
<action path="/prefs/showModForm" |
|---|
| 707 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 708 |
name="calForm" |
|---|
| 709 |
scope="session" |
|---|
| 710 |
validate="false"> |
|---|
| 711 |
<forward name="success" path="/docs/prefs/modPrefs.jsp"/> |
|---|
| 712 |
</action> |
|---|
| 713 |
|
|---|
| 714 |
<action path="/prefs/fetchForUpdate" |
|---|
| 715 |
type="org.bedework.webcommon.pref.FetchPrefsAction" |
|---|
| 716 |
name="calForm" |
|---|
| 717 |
scope="session" |
|---|
| 718 |
validate="false"> |
|---|
| 719 |
<forward name="notFound" path="/showMain.rdo" redirect="true" /> |
|---|
| 720 |
<forward name="success" path="/prefs/showModForm.rdo" redirect="true" /> |
|---|
| 721 |
</action> |
|---|
| 722 |
|
|---|
| 723 |
<action path="/prefs/update" |
|---|
| 724 |
type="org.bedework.webcommon.pref.UpdatePrefsAction" |
|---|
| 725 |
name="calForm" |
|---|
| 726 |
scope="session" |
|---|
| 727 |
validate="false"> |
|---|
| 728 |
<forward name="cancelled" path="/showMain.rdo" redirect="true" /> |
|---|
| 729 |
<forward name="retry" path="/prefs/showModForm.rdo" redirect="true"/> |
|---|
| 730 |
<forward name="notFound" path="/prefs/showModForm.rdo" redirect="true"/> |
|---|
| 731 |
<forward name="success" path="/prefs/showModForm.rdo" redirect="true" /> |
|---|
| 732 |
</action> |
|---|
| 733 |
|
|---|
| 734 |
<!-- =============================================================== |
|---|
| 735 |
Mailing Events |
|---|
| 736 |
=============================================================== --> |
|---|
| 737 |
|
|---|
| 738 |
<!-- renderUrl --> |
|---|
| 739 |
<action path="/showEmailOptions" |
|---|
| 740 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 741 |
name="calForm" |
|---|
| 742 |
scope="session" |
|---|
| 743 |
validate="false"> |
|---|
| 744 |
<forward name="success" path="/docs/emailOptions.jsp" /> |
|---|
| 745 |
</action> |
|---|
| 746 |
|
|---|
| 747 |
<action path="/initMailEvent" |
|---|
| 748 |
type="org.bedework.webclient.BwEventAction" |
|---|
| 749 |
name="calForm" |
|---|
| 750 |
scope="session" |
|---|
| 751 |
validate="false"> |
|---|
| 752 |
<forward name="notFound" path="/showMain.rdo" redirect="true" /> |
|---|
| 753 |
<forward name="success" path="/showEmailOptions.rdo" redirect="true" /> |
|---|
| 754 |
</action> |
|---|
| 755 |
|
|---|
| 756 |
<action path="/mailEvent" |
|---|
| 757 |
type="org.bedework.webclient.BwMailEventAction" |
|---|
| 758 |
name="calForm" |
|---|
| 759 |
scope="session" |
|---|
| 760 |
validate="false"> |
|---|
| 761 |
<forward name="noEvent" path="/showMain.rdo" redirect="true" /> |
|---|
| 762 |
<forward name="retry" path="/showEmailOptions.rdo" redirect="true" /> |
|---|
| 763 |
<forward name="success" path="/showMain.rdo" redirect="true" /> |
|---|
| 764 |
</action> |
|---|
| 765 |
|
|---|
| 766 |
<!-- =============================================================== |
|---|
| 767 |
Event Alarms |
|---|
| 768 |
=============================================================== --> |
|---|
| 769 |
|
|---|
| 770 |
<!-- renderUrl --> |
|---|
| 771 |
<action path="/showAlarmOptions" |
|---|
| 772 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 773 |
name="calForm" |
|---|
| 774 |
scope="session" |
|---|
| 775 |
validate="false"> |
|---|
| 776 |
<forward name="success" path="/docs/alarmOptions.jsp" /> |
|---|
| 777 |
</action> |
|---|
| 778 |
|
|---|
| 779 |
<action path="/initEventAlarm" |
|---|
| 780 |
type="org.bedework.webclient.BwEventAction" |
|---|
| 781 |
name="calForm" |
|---|
| 782 |
scope="session" |
|---|
| 783 |
validate="false"> |
|---|
| 784 |
<forward name="notFound" path="/showMain.rdo" redirect="true" /> |
|---|
| 785 |
<forward name="success" path="/showAlarmOptions.rdo" redirect="true" /> |
|---|
| 786 |
</action> |
|---|
| 787 |
|
|---|
| 788 |
<action path="/setAlarm" |
|---|
| 789 |
type="org.bedework.webclient.BwSetAlarmAction" |
|---|
| 790 |
name="calForm" |
|---|
| 791 |
scope="session" |
|---|
| 792 |
validate="false"> |
|---|
| 793 |
<forward name="noEvent" path="/showMain.rdo" redirect="true" /> |
|---|
| 794 |
<forward name="retry" path="/showAlarmOptions.rdo" redirect="true" /> |
|---|
| 795 |
<forward name="success" path="/showMain.rdo" redirect="true" /> |
|---|
| 796 |
</action> |
|---|
| 797 |
|
|---|
| 798 |
<!-- =============================================================== |
|---|
| 799 |
System Statistics |
|---|
| 800 |
=============================================================== --> |
|---|
| 801 |
|
|---|
| 802 |
<!-- renderUrl --> |
|---|
| 803 |
<action path="/showStats" |
|---|
| 804 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 805 |
name="calForm" |
|---|
| 806 |
scope="session" |
|---|
| 807 |
validate="false"> |
|---|
| 808 |
<forward name="success" path="/docs/showSysStats.jsp" /> |
|---|
| 809 |
</action> |
|---|
| 810 |
|
|---|
| 811 |
<action path="/stats" |
|---|
| 812 |
type="org.bedework.webcommon.misc.StatisticsAction" |
|---|
| 813 |
name="calForm" |
|---|
| 814 |
scope="session" |
|---|
| 815 |
validate="false"> |
|---|
| 816 |
<forward name="continue" path="/showStats.rdo" redirect="true" /> |
|---|
| 817 |
<forward name="success" path="/showStats.rdo" redirect="true" /> |
|---|
| 818 |
</action> |
|---|
| 819 |
</action-mappings> |
|---|
| 820 |
|
|---|
| 821 |
<!-- unknown="true" --> |
|---|
| 822 |
|
|---|
| 823 |
<!-- Below will be one or more comments which must not be edited or removed |
|---|
| 824 |
for the portlet build process to succeed. The comment will be replaced |
|---|
| 825 |
by some extra cofiguration. |
|---|
| 826 |
--> |
|---|
| 827 |
|
|---|
| 828 |
<!-- Jetspeed2 controller def here --> |
|---|
| 829 |
|
|---|
| 830 |
<message-resources parameter="servlet" null="true" /> |
|---|
| 831 |
|
|---|
| 832 |
</struts-config> |
|---|