| 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 |
|
|---|
| 29 |
<!-- Forward for a new session from some bookmarked link? --> |
|---|
| 30 |
<forward name="gotomain" path="/docs/main.jsp" /> |
|---|
| 31 |
|
|---|
| 32 |
<forward name="initial" path="/setup.do"/> |
|---|
| 33 |
|
|---|
| 34 |
<forward name="doNothing" path="/showMain.rdo" redirect="true" /> |
|---|
| 35 |
<forward name="error" path="/showMain.rdo" redirect="true" /> |
|---|
| 36 |
<forward name="success" path="/showMain.rdo" redirect="true" /> |
|---|
| 37 |
<forward name="cancelled" path="/showMain.rdo" redirect="true" /> |
|---|
| 38 |
</global-forwards> |
|---|
| 39 |
|
|---|
| 40 |
<!-- ========== Action Mapping Definitions ============================== --> |
|---|
| 41 |
<action-mappings> |
|---|
| 42 |
|
|---|
| 43 |
<!-- =============================================================== |
|---|
| 44 |
Render actions - these should be referenced by the rdo suffix to |
|---|
| 45 |
invoke the xslt filter |
|---|
| 46 |
=============================================================== --> |
|---|
| 47 |
|
|---|
| 48 |
<!-- |
|---|
| 49 |
<action path="/showMain" |
|---|
| 50 |
name="calForm" |
|---|
| 51 |
scope="session" |
|---|
| 52 |
validate="false" |
|---|
| 53 |
include="/docs/main.jsp"/> |
|---|
| 54 |
--> |
|---|
| 55 |
<action path="/showMain" |
|---|
| 56 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 57 |
name="calForm" |
|---|
| 58 |
scope="session" |
|---|
| 59 |
validate="false"> |
|---|
| 60 |
<forward name="success" path="/docs/main.jsp"/> |
|---|
| 61 |
</action> |
|---|
| 62 |
|
|---|
| 63 |
<action path="/showCals" |
|---|
| 64 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 65 |
name="calForm" |
|---|
| 66 |
scope="session" |
|---|
| 67 |
validate="false"> |
|---|
| 68 |
<forward name="success" path="/docs/calendars.jsp" /> |
|---|
| 69 |
</action> |
|---|
| 70 |
|
|---|
| 71 |
<action path="/showEventMore" |
|---|
| 72 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 73 |
name="calForm" |
|---|
| 74 |
scope="session" |
|---|
| 75 |
validate="false"> |
|---|
| 76 |
<forward name="success" path="/docs/eventMore.jsp" /> |
|---|
| 77 |
</action> |
|---|
| 78 |
|
|---|
| 79 |
<action path="/showAddEvent" |
|---|
| 80 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 81 |
name="calForm" |
|---|
| 82 |
scope="session" |
|---|
| 83 |
validate="false"> |
|---|
| 84 |
<forward name="success" path="/docs/addEvent.jsp" /> |
|---|
| 85 |
</action> |
|---|
| 86 |
|
|---|
| 87 |
<action path="/showEditEvent" |
|---|
| 88 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 89 |
name="calForm" |
|---|
| 90 |
scope="session" |
|---|
| 91 |
validate="false"> |
|---|
| 92 |
<forward name="success" path="/docs/editEvent.jsp" /> |
|---|
| 93 |
</action> |
|---|
| 94 |
|
|---|
| 95 |
<action path="/showEditLocation" |
|---|
| 96 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 97 |
name="calForm" |
|---|
| 98 |
scope="session" |
|---|
| 99 |
validate="false"> |
|---|
| 100 |
<forward name="success" path="/docs/editLocation.jsp" /> |
|---|
| 101 |
</action> |
|---|
| 102 |
|
|---|
| 103 |
<action path="/showFreeBusy" |
|---|
| 104 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 105 |
name="calForm" |
|---|
| 106 |
scope="session" |
|---|
| 107 |
validate="false"> |
|---|
| 108 |
<forward name="success" path="/docs/freeBusy.jsp" /> |
|---|
| 109 |
</action> |
|---|
| 110 |
|
|---|
| 111 |
<action path="/showManageLocations" |
|---|
| 112 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 113 |
name="calForm" |
|---|
| 114 |
scope="session" |
|---|
| 115 |
validate="false"> |
|---|
| 116 |
<forward name="success" path="/docs/manageLocations.jsp" /> |
|---|
| 117 |
</action> |
|---|
| 118 |
|
|---|
| 119 |
<action path="/showEmailOptions" |
|---|
| 120 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 121 |
name="calForm" |
|---|
| 122 |
scope="session" |
|---|
| 123 |
validate="false"> |
|---|
| 124 |
<forward name="success" path="/docs/emailOptions.jsp" /> |
|---|
| 125 |
</action> |
|---|
| 126 |
|
|---|
| 127 |
<action path="/showAlarmOptions" |
|---|
| 128 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 129 |
name="calForm" |
|---|
| 130 |
scope="session" |
|---|
| 131 |
validate="false"> |
|---|
| 132 |
<forward name="success" path="/docs/alarmOptions.jsp" /> |
|---|
| 133 |
</action> |
|---|
| 134 |
|
|---|
| 135 |
<action path="/initUpload" |
|---|
| 136 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 137 |
name="calForm" |
|---|
| 138 |
scope="session" |
|---|
| 139 |
validate="false"> |
|---|
| 140 |
<forward name="success" path="/docs/upload.jsp" /> |
|---|
| 141 |
</action> |
|---|
| 142 |
|
|---|
| 143 |
<action path="/initialise" |
|---|
| 144 |
type="org.bedework.webclient.BwRenderAction" |
|---|
| 145 |
name="calForm" |
|---|
| 146 |
scope="session" |
|---|
| 147 |
validate="false"> |
|---|
| 148 |
<forward name="success" path="/docs/main.jsp" /> |
|---|
| 149 |
<forward name="loggedOut" path="/docs/login/logout.html" /> |
|---|
| 150 |
</action> |
|---|
| 151 |
|
|---|
| 152 |
<!-- =============================================================== |
|---|
| 153 |
These actions do not render - these should be referenced by the do |
|---|
| 154 |
suffix and should redirect to a render action. |
|---|
| 155 |
=============================================================== --> |
|---|
| 156 |
|
|---|
| 157 |
<action path="/setup" |
|---|
| 158 |
type="org.bedework.webclient.BwAction" |
|---|
| 159 |
name="calForm" |
|---|
| 160 |
scope="session" |
|---|
| 161 |
validate="false"> |
|---|
| 162 |
<forward name="loggedOut" path="/docs/login/logout.html" /> |
|---|
| 163 |
</action> |
|---|
| 164 |
|
|---|
| 165 |
<action path="/selectCalendar" |
|---|
| 166 |
type="org.bedework.webclient.BwCalendarAction" |
|---|
| 167 |
name="calForm" |
|---|
| 168 |
scope="session" |
|---|
| 169 |
validate="false"> |
|---|
| 170 |
<forward name="noCalDef" path="/showMain.rdo" redirect="true" /> |
|---|
| 171 |
</action> |
|---|
| 172 |
|
|---|
| 173 |
<action path="/selectView" |
|---|
| 174 |
type="org.bedework.webclient.BwSelectViewAction" |
|---|
| 175 |
name="calForm" |
|---|
| 176 |
scope="session" |
|---|
| 177 |
validate="false"> |
|---|
| 178 |
<forward name="noViewDef" path="/showMain.rdo" redirect="true" /> |
|---|
| 179 |
</action> |
|---|
| 180 |
|
|---|
| 181 |
<action path="/setView" |
|---|
| 182 |
type="org.bedework.webclient.BwGoToAction" |
|---|
| 183 |
name="calForm" |
|---|
| 184 |
scope="session" |
|---|
| 185 |
validate="false"> |
|---|
| 186 |
</action> |
|---|
| 187 |
|
|---|
| 188 |
<action path="/eventView" |
|---|
| 189 |
type="org.bedework.webclient.BwEventAction" |
|---|
| 190 |
name="calForm" |
|---|
| 191 |
scope="session" |
|---|
| 192 |
validate="false"> |
|---|
| 193 |
<forward name="success" path="/showEventMore.rdo" redirect="true" /> |
|---|
| 194 |
</action> |
|---|
| 195 |
|
|---|
| 196 |
<!-- The following action is used for adding events from a form on the main |
|---|
| 197 |
personal calandar page (a la Washington); on error or success, we return to the |
|---|
| 198 |
main.jsp page. --> |
|---|
| 199 |
<action path="/addEvent" |
|---|
| 200 |
type="org.bedework.webclient.BwAddEventAction" |
|---|
| 201 |
name="calForm" |
|---|
| 202 |
scope="session" |
|---|
| 203 |
validate="false"> |
|---|
| 204 |
</action> |
|---|
| 205 |
|
|---|
| 206 |
<!-- The following 2 actions are used for adding events from an "add event" page |
|---|
| 207 |
(a la Demo, Rensselaer); on error, we return to the |
|---|
| 208 |
addEvent.jsp page. --> |
|---|
| 209 |
<action path="/initEvent" |
|---|
| 210 |
type="org.bedework.webclient.BwAction" |
|---|
| 211 |
name="calForm" |
|---|
| 212 |
scope="session" |
|---|
| 213 |
validate="false"> |
|---|
| 214 |
<forward name="success" path="/showAddEvent.rdo" redirect="true" /> |
|---|
| 215 |
</action> |
|---|
| 216 |
|
|---|
| 217 |
<action path="/addEventUsingPage" |
|---|
| 218 |
type="org.bedework.webclient.BwAddEventAction" |
|---|
| 219 |
name="calForm" |
|---|
| 220 |
scope="session" |
|---|
| 221 |
validate="false"> |
|---|
| 222 |
<forward name="error" path="/showAddEvent.rdo" redirect="true" /> |
|---|
| 223 |
<forward name="doNothing" path="/showAddEvent.rdo" redirect="true" /> |
|---|
| 224 |
</action> |
|---|
| 225 |
|
|---|
| 226 |
<action path="/editEvent" |
|---|
| 227 |
type="org.bedework.webclient.BwEditEventAction" |
|---|
| 228 |
name="calForm" |
|---|
| 229 |
scope="session" |
|---|
| 230 |
validate="false"> |
|---|
| 231 |
<forward name="edit" path="/showEditEvent.rdo" redirect="true" /> |
|---|
| 232 |
</action> |
|---|
| 233 |
|
|---|
| 234 |
<action path="/delEvent" |
|---|
| 235 |
type="org.bedework.webclient.BwDelEventAction" |
|---|
| 236 |
name="calForm" |
|---|
| 237 |
scope="session" |
|---|
| 238 |
validate="false"> |
|---|
| 239 |
</action> |
|---|
| 240 |
|
|---|
| 241 |
<action path="/addEventRef" |
|---|
| 242 |
type="org.bedework.webclient.BwAddEventRefAction" |
|---|
| 243 |
name="calForm" |
|---|
| 244 |
scope="session" |
|---|
| 245 |
validate="false"> |
|---|
| 246 |
</action> |
|---|
| 247 |
|
|---|
| 248 |
<action path="/upload" |
|---|
| 249 |
type="org.bedework.webcommon.misc.UploadAction" |
|---|
| 250 |
name="calForm" |
|---|
| 251 |
scope="session" |
|---|
| 252 |
validate="false"> |
|---|
| 253 |
</action> |
|---|
| 254 |
|
|---|
| 255 |
<action path="/showPage" |
|---|
| 256 |
type="org.bedework.webclient.BwAction" |
|---|
| 257 |
name="calForm" |
|---|
| 258 |
scope="session" |
|---|
| 259 |
validate="false"> |
|---|
| 260 |
<forward name="success" path="/docs/showPage.jsp" /> |
|---|
| 261 |
</action> |
|---|
| 262 |
|
|---|
| 263 |
<action path="/getFreeBusy" |
|---|
| 264 |
type="org.bedework.webclient.BwFreeBusyAction" |
|---|
| 265 |
name="calForm" |
|---|
| 266 |
scope="session" |
|---|
| 267 |
validate="false"> |
|---|
| 268 |
<forward name="success" path="/showFreeBusy.rdo" redirect="true" /> |
|---|
| 269 |
</action> |
|---|
| 270 |
|
|---|
| 271 |
<action path="/setAccess" |
|---|
| 272 |
type="org.bedework.webclient.BwAccessAction" |
|---|
| 273 |
name="calForm" |
|---|
| 274 |
scope="session" |
|---|
| 275 |
validate="false"> |
|---|
| 276 |
</action> |
|---|
| 277 |
|
|---|
| 278 |
<action path="/manageLocations" |
|---|
| 279 |
type="org.bedework.webclient.BwAction" |
|---|
| 280 |
name="calForm" |
|---|
| 281 |
scope="session" |
|---|
| 282 |
validate="false"> |
|---|
| 283 |
<forward name="success" path="/showManageLocations.rdo" redirect="true" /> |
|---|
| 284 |
</action> |
|---|
| 285 |
|
|---|
| 286 |
<action path="/addLocation" |
|---|
| 287 |
type="org.bedework.webclient.BwAddLocationAction" |
|---|
| 288 |
name="calForm" |
|---|
| 289 |
scope="session" |
|---|
| 290 |
validate="false"> |
|---|
| 291 |
<forward name="success" path="/showManageLocations.rdo" redirect="true" /> |
|---|
| 292 |
</action> |
|---|
| 293 |
|
|---|
| 294 |
<action path="/editLoc" |
|---|
| 295 |
type="org.bedework.webclient.BwEditLocationAction" |
|---|
| 296 |
name="calForm" |
|---|
| 297 |
scope="session" |
|---|
| 298 |
validate="false"> |
|---|
| 299 |
<forward name="edit" path="/showEditLocation.rdo" redirect="true" /> |
|---|
| 300 |
<forward name="success" path="/showManageLocations.rdo" redirect="true" /> |
|---|
| 301 |
</action> |
|---|
| 302 |
|
|---|
| 303 |
<action path="/delLocation" |
|---|
| 304 |
type="org.bedework.webclient.BwDelLocationAction" |
|---|
| 305 |
name="calForm" |
|---|
| 306 |
scope="session" |
|---|
| 307 |
validate="false"> |
|---|
| 308 |
<forward name="referenced" path="/showManageLocations.rdo" redirect="true" /> |
|---|
| 309 |
<forward name="success" path="/showManageLocations.rdo" redirect="true" /> |
|---|
| 310 |
</action> |
|---|
| 311 |
|
|---|
| 312 |
<!-- ....................... mailing events ........................ --> |
|---|
| 313 |
|
|---|
| 314 |
<action path="/initMailEvent" |
|---|
| 315 |
type="org.bedework.webclient.BwFetchEventAction" |
|---|
| 316 |
name="calForm" |
|---|
| 317 |
scope="session" |
|---|
| 318 |
validate="false"> |
|---|
| 319 |
<forward name="notFound" path="/showMain.rdo" redirect="true" /> |
|---|
| 320 |
<forward name="success" path="/showEmailOptions.rdo" redirect="true" /> |
|---|
| 321 |
</action> |
|---|
| 322 |
|
|---|
| 323 |
<action path="/mailEvent" |
|---|
| 324 |
type="org.bedework.webclient.BwMailEventAction" |
|---|
| 325 |
name="calForm" |
|---|
| 326 |
scope="session" |
|---|
| 327 |
validate="false"> |
|---|
| 328 |
<forward name="noEvent" path="/showMain.rdo" redirect="true" /> |
|---|
| 329 |
<forward name="retry" path="/showEmailOptions.rdo" redirect="true" /> |
|---|
| 330 |
<forward name="success" path="/showMain.rdo" redirect="true" /> |
|---|
| 331 |
</action> |
|---|
| 332 |
|
|---|
| 333 |
<!-- ....................... event alarms .......................... --> |
|---|
| 334 |
|
|---|
| 335 |
<action path="/initEventAlarm" |
|---|
| 336 |
type="org.bedework.webclient.BwFetchEventAction" |
|---|
| 337 |
name="calForm" |
|---|
| 338 |
scope="session" |
|---|
| 339 |
validate="false"> |
|---|
| 340 |
<forward name="notFound" path="/showMain.rdo" redirect="true" /> |
|---|
| 341 |
<forward name="success" path="/showAlarmOptions.rdo" redirect="true" /> |
|---|
| 342 |
</action> |
|---|
| 343 |
|
|---|
| 344 |
<action path="/setAlarm" |
|---|
| 345 |
type="org.bedework.webclient.BwSetAlarmAction" |
|---|
| 346 |
name="calForm" |
|---|
| 347 |
scope="session" |
|---|
| 348 |
validate="false"> |
|---|
| 349 |
<forward name="noEvent" path="/showMain.rdo" redirect="true" /> |
|---|
| 350 |
<forward name="retry" path="/showAlarmOptions.rdo" redirect="true" /> |
|---|
| 351 |
<forward name="success" path="/showMain.rdo" redirect="true" /> |
|---|
| 352 |
</action> |
|---|
| 353 |
|
|---|
| 354 |
<!-- ..................... subscriptionss .......................... --> |
|---|
| 355 |
|
|---|
| 356 |
<action path="/subscribe" |
|---|
| 357 |
type="org.bedework.webcommon.subs.SubscribeAction" |
|---|
| 358 |
name="calForm" |
|---|
| 359 |
scope="session" |
|---|
| 360 |
validate="false"> |
|---|
| 361 |
</action> |
|---|
| 362 |
|
|---|
| 363 |
<action path="/unsubscribe" |
|---|
| 364 |
type="org.bedework.webcommon.subs.UnsubscribeAction" |
|---|
| 365 |
name="calForm" |
|---|
| 366 |
scope="session" |
|---|
| 367 |
validate="false"> |
|---|
| 368 |
</action> |
|---|
| 369 |
|
|---|
| 370 |
<!-- ......................... views .............................. --> |
|---|
| 371 |
|
|---|
| 372 |
<action path="/addView" |
|---|
| 373 |
type="org.bedework.webcommon.views.AddViewAction" |
|---|
| 374 |
name="calForm" |
|---|
| 375 |
scope="session" |
|---|
| 376 |
validate="false"> |
|---|
| 377 |
</action> |
|---|
| 378 |
|
|---|
| 379 |
<action path="/removeView" |
|---|
| 380 |
type="org.bedework.webcommon.views.DeleteViewAction" |
|---|
| 381 |
name="calForm" |
|---|
| 382 |
scope="session" |
|---|
| 383 |
validate="false"> |
|---|
| 384 |
</action> |
|---|
| 385 |
</action-mappings> |
|---|
| 386 |
<!-- unknown="true" --> |
|---|
| 387 |
|
|---|
| 388 |
<!-- Below will be one or more comments which must not be edited or removed |
|---|
| 389 |
for the portlet build process to succeed. The comment will be replaced |
|---|
| 390 |
by some extra cofiguration. |
|---|
| 391 |
--> |
|---|
| 392 |
|
|---|
| 393 |
<!-- Jetspeed2 controller def here --> |
|---|
| 394 |
|
|---|
| 395 |
<message-resources parameter="servlet" null="true" /> |
|---|
| 396 |
|
|---|
| 397 |
</struts-config> |
|---|