Rev 34 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 34 | Rev 35 | ||
---|---|---|---|
Line 5... | Line 5... | ||
5 | <struts>
|
5 | <struts>
|
6 | <constant name="struts.devMode" value="true" /> <!-- activates debugging output --> |
6 | <constant name="struts.devMode" value="true" /> <!-- activates debugging output --> |
7 | 7 | ||
8 | <!-- User environment -->
|
8 | <!-- User environment -->
|
9 | <package name="user" namespace="/user" extends="hibernate-default">
|
9 | <package name="user" namespace="/user" extends="hibernate-default">
|
10 | <!-- Term management -->
|
10 | <!-- Terms management -->
|
11 | <action name="termAdd">
|
11 | <action name="listTerms" method="list"
|
- | 12 | class="ch.ffhs.webE.action.TermAction">
|
|
12 | <result>/user/termAddForm.jsp</result> |
13 | <result name="success">/user/terms.jsp</result> |
13 | </action>
|
14 | </action>
|
14 | - | ||
15 | <action name="termSave" method="save"
|
15 | <action name="saveTerm" method="save"
|
16 | class="ch.ffhs.webE.action.TermAction">
|
16 | class="ch.ffhs.webE.action.TermAction">
|
17 | <result name="success">/user/termAdd.jsp</result> |
17 | <result>/user/terms.jsp</result> |
18 | <result name="error">/user/termAddForm.jsp</result> |
- | |
19 | </action>
|
18 | </action>
|
20 | - | ||
21 | <action name="termList" method="list"
|
19 | <action name="editTerm" method="edit"
|
22 | class="ch.ffhs.webE.action.TermAction">
|
20 | class="ch.ffhs.webE.action.TermAction">
|
23 | <result name="success">/user/termList.jsp</result> |
21 | <result>/user/terms.jsp</result> |
24 | </action>
|
22 | </action>
|
25 | - | ||
26 | <action name="deleteTerm" method="delete"
|
23 | <action name="deleteTerm" method="delete"
|
27 | class="ch.ffhs.webE.action.TermAction">
|
24 | class="ch.ffhs.webE.action.TermAction">
|
28 | <result name="success" type="redirect">/user/termList</result> |
25 | <result>/user/terms.jsp</result> |
29 | </action>
|
26 | </action>
|
30 | 27 | ||
- | 28 | <!-- Relationships management -->
|
|
31 | <action name="editTerm" method="edit"
|
29 | <action name="listRelationships" method="list"
|
32 | class="ch.ffhs.webE.action.TermAction">
|
30 | class="ch.ffhs.webE.action.RelationshipAction">
|
33 | <result name="success">/user/termAddForm.jsp</result> |
31 | <result name="success">/user/relationships.jsp</result> |
34 | </action>
|
32 | </action>
|
35 | - | ||
36 | <action name="relationshipAdd" method="add"
|
33 | <action name="saveRelationship" method="save"
|
37 | class="ch.ffhs.webE.action.RelationshipAction">
|
34 | class="ch.ffhs.webE.action.RelationshipAction">
|
38 | <result>/user/relationshipAddForm.jsp</result> |
35 | <result>/user/relationships.jsp</result> |
39 | </action>
|
36 | </action>
|
40 | - | ||
41 | <action name="relationshipSave" method="save"
|
37 | <action name="editRelationship" method="edit"
|
42 | class="ch.ffhs.webE.action.RelationshipAction">
|
38 | class="ch.ffhs.webE.action.RelationshipAction">
|
43 | <result name="success">/user/relationshipAdd.jsp</result> |
39 | <result>/user/relationships.jsp</result> |
44 | <result name="error">/user/relationshipAddForm.jsp</result> |
- | |
45 | </action>
|
40 | </action>
|
46 | - | ||
47 | <action name="relationshipList" method="list"
|
41 | <action name="deleteRelationship" method="delete"
|
48 | class="ch.ffhs.webE.action.RelationshipAction">
|
42 | class="ch.ffhs.webE.action.RelationshipAction">
|
49 | <result name="success">/user/relationshipList.jsp</result> |
43 | <result>/user/relationships.jsp</result> |
50 | </action>
|
44 | </action>
|
51 | </package>
|
45 | </package>
|
52 | 46 | ||
53 | <!-- Admin environment -->
|
47 | <!-- Admin environment -->
|
54 | <package name="admin" namespace="/admin" extends="hibernate-default">
|
48 | <package name="admin" namespace="/admin" extends="hibernate-default">
|