| 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 free busy aggregator |
|---|
| 9 |
=================================================================== --> |
|---|
| 10 |
|
|---|
| 11 |
<struts-config> |
|---|
| 12 |
<!-- ========== Form Bean Definitions ================================ --> |
|---|
| 13 |
<form-beans> |
|---|
| 14 |
<form-bean name="bwForm" |
|---|
| 15 |
type="org.bedework.fbaggregator.FbAggForm"/> |
|---|
| 16 |
</form-beans> |
|---|
| 17 |
|
|---|
| 18 |
<!-- ========== Global Forward Definitions =========================== |
|---|
| 19 |
We try to standardize the forwards a bit. |
|---|
| 20 |
"success" takes us back to the main page |
|---|
| 21 |
"done" is local to an action and should take us back one level |
|---|
| 22 |
for example, to the list of events. |
|---|
| 23 |
"continue" should stay on the same page |
|---|
| 24 |
================================================================= --> |
|---|
| 25 |
<global-forwards> |
|---|
| 26 |
<forward name="initial" path="/setup.do"/> |
|---|
| 27 |
<forward name="error" path="/docs/error.jsp"/> |
|---|
| 28 |
<forward name="success" path="/showMain.rdo" redirect="true"/> |
|---|
| 29 |
<forward name="cancelled" path="/docs/showMain.rdo" redirect="true"/> |
|---|
| 30 |
</global-forwards> |
|---|
| 31 |
|
|---|
| 32 |
<!-- ========== Action Mapping Definitions =========================== --> |
|---|
| 33 |
<action-mappings> |
|---|
| 34 |
<action path="/showMain" |
|---|
| 35 |
type="org.bedework.fbaggregator.RenderAction" |
|---|
| 36 |
name="bwForm" |
|---|
| 37 |
scope="session" |
|---|
| 38 |
validate="false"> |
|---|
| 39 |
<forward name="success" path="/docs/main.jsp"/> |
|---|
| 40 |
</action> |
|---|
| 41 |
|
|---|
| 42 |
<action path="/setup" |
|---|
| 43 |
type="org.bedework.fbaggregator.RenderAction" |
|---|
| 44 |
unknown="true" |
|---|
| 45 |
name="bwForm" |
|---|
| 46 |
scope="session" |
|---|
| 47 |
validate="false"> |
|---|
| 48 |
</action> |
|---|
| 49 |
|
|---|
| 50 |
<action path="/showFreeBusy" |
|---|
| 51 |
type="org.bedework.fbaggregator.RenderAction" |
|---|
| 52 |
name="bwForm" |
|---|
| 53 |
scope="session" |
|---|
| 54 |
validate="false"> |
|---|
| 55 |
<forward name="success" path="/docs/freeBusy.jsp" /> |
|---|
| 56 |
</action> |
|---|
| 57 |
|
|---|
| 58 |
<!-- =============================================================== |
|---|
| 59 |
Actions |
|---|
| 60 |
=============================================================== --> |
|---|
| 61 |
|
|---|
| 62 |
<action path="/getFreeBusy" |
|---|
| 63 |
type="org.bedework.fbaggregator.GetFreeBusy" |
|---|
| 64 |
name="bwForm" |
|---|
| 65 |
scope="session" |
|---|
| 66 |
validate="false"> |
|---|
| 67 |
<forward name="success" path="/showFreeBusy.rdo" redirect="true" /> |
|---|
| 68 |
</action> |
|---|
| 69 |
|
|---|
| 70 |
<action path="/addUser" |
|---|
| 71 |
type="org.bedework.fbaggregator.AddUser" |
|---|
| 72 |
name="bwForm" |
|---|
| 73 |
scope="session" |
|---|
| 74 |
validate="false"> |
|---|
| 75 |
<forward name="success" path="/showMain.rdo" redirect="true" /> |
|---|
| 76 |
</action> |
|---|
| 77 |
</action-mappings> |
|---|
| 78 |
|
|---|
| 79 |
<!-- Below will be one or more comments which must not be edited or removed |
|---|
| 80 |
for the portlet build process to succeed. The comment will be replaced |
|---|
| 81 |
by some extra cofiguration. |
|---|
| 82 |
--> |
|---|
| 83 |
|
|---|
| 84 |
<!-- Jetspeed2 controller def here --> |
|---|
| 85 |
|
|---|
| 86 |
<message-resources parameter="servlet" null="true" /> |
|---|
| 87 |
|
|---|
| 88 |
</struts-config> |
|---|