Subversion Repositories WebE

Rev

Rev 35 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 35 Rev 37
Line 12... Line 12...
12
      class="ch.ffhs.webE.action.TermAction">
12
      class="ch.ffhs.webE.action.TermAction">
13
      <result name="success">/user/terms.jsp</result>
13
      <result name="success">/user/terms.jsp</result>
14
    </action>
14
    </action>
15
    <action name="saveTerm" method="save"
15
    <action name="saveTerm" method="save"
16
      class="ch.ffhs.webE.action.TermAction">
16
      class="ch.ffhs.webE.action.TermAction">
17
      <result>/user/terms.jsp</result>
17
      <result type="redirect">/user/listTerms</result>
18
    </action>
18
    </action>
19
    <action name="editTerm" method="edit"
19
    <action name="editTerm" method="edit"
20
      class="ch.ffhs.webE.action.TermAction">
20
      class="ch.ffhs.webE.action.TermAction">
21
      <result>/user/terms.jsp</result>
21
      <result>/user/terms.jsp</result>
22
    </action>
22
    </action>
Line 50... Line 50...
50
    <!-- User management -->
50
    <!-- User management -->
51
    <action name="userAddForm">
51
    <action name="userAddForm">
52
      <result>/admin/userAddForm.jsp</result>
52
      <result>/admin/userAddForm.jsp</result>
53
    </action>
53
    </action>
54
54
55
    <action name="doUserAdd" method="addOrUpdate"
55
    <action name="listUsers" method="list"
56
      class="ch.ffhs.webE.action.UserAction">
56
      class="ch.ffhs.webE.action.UserAction">
57
      <result name="success">/admin/userAdd.jsp</result>
57
      <result name="success">/admin/users.jsp</result>
58
    </action>
58
    </action>
59
59
60
    <action name="userList" method="list"
60
    <action name="saveUser" method="save"
61
      class="ch.ffhs.webE.action.UserAction">
61
      class="ch.ffhs.webE.action.UserAction">
62
      <result name="success">/admin/userList.jsp</result>
62
      <result type="redirect">/admin/listUsers</result>
63
    </action>
63
    </action>
64
64
65
    <action name="deleteUser" method="delete"
65
    <action name="deleteUser" method="delete"
66
      class="ch.ffhs.webE.action.UserAction">
66
      class="ch.ffhs.webE.action.UserAction">
67
      <result name="success" type="redirect">/admin/userList</result>
67
      <result name="success" type="redirect">/admin/listUsers</result>
68
    </action>
68
    </action>
69
69
70
    <action name="editUser" method="edit"
70
    <action name="editUser" method="edit"
71
      class="ch.ffhs.webE.action.UserAction">
71
      class="ch.ffhs.webE.action.UserAction">
72
      <result name="success">/admin/userAddForm.jsp</result>
72
      <result name="success">/admin/users.jsp</result>
73
    </action>
73
    </action>
74
74
75
-
 
76
-
 
77
-
 
78
    <!-- Relationship Type management -->
75
    <!-- Relationship Type management -->
79
    <action name="relTypeList" method="list"
76
    <action name="listRelTypes" method="list"
80
      class="ch.ffhs.webE.action.RelationshipTypeAction">
77
      class="ch.ffhs.webE.action.RelationshipTypeAction">
81
      <result name="success">/admin/relTypeList.jsp</result>
78
      <result name="success">/admin/relTypes.jsp</result>
82
    </action>
-
 
83
-
 
84
    <action name="relTypeAddForm">
-
 
85
      <result>/admin/relTypeAddForm.jsp</result>
-
 
86
    </action>
79
    </action>
87
80
88
    <action name="doRelTypeAdd" method="addOrUpdate"
81
    <action name="doRelTypeAdd" method="addOrUpdate"
89
      class="ch.ffhs.webE.action.RelationshipTypeAction">
82
      class="ch.ffhs.webE.action.RelationshipTypeAction">
90
      <result name="success" type="redirect">/admin/relTypeList</result>
83
      <result name="success" type="redirect">/admin/listRelTypes</result>
91
    </action>
84
    </action>
92
85
93
    <action name="deleteRelType" method="delete"
86
    <action name="deleteRelType" method="delete"
94
      class="ch.ffhs.webE.action.RelationshipTypeAction">
87
      class="ch.ffhs.webE.action.RelationshipTypeAction">
95
      <result name="success" type="redirect">/admin/relTypeList</result>
88
      <result name="success" type="redirect">/admin/listRelTypes</result>
96
    </action>
89
    </action>
97
90
98
    <action name="editRelType" method="edit"
91
    <action name="editRelType" method="edit"
99
      class="ch.ffhs.webE.action.RelationshipTypeAction">
92
      class="ch.ffhs.webE.action.RelationshipTypeAction">
100
      <result name="success">/admin/relTypeAddForm.jsp</result>
93
      <result name="success">/admin/relTypes.jsp</result>
101
      <result name="error">/admin/adminError.jsp</result>
94
      <result name="error">/admin/adminError.jsp</result>
102
    </action>
95
    </action>
103
96
104
  </package>
97
  </package>
105
98
106
-
 
107
-
 
108
-
 
109
  <!-- Remaining environment of the session -->
99
  <!-- Remaining environment of the session -->
110
  <package name="default" namespace="" extends="hibernate-default">
100
  <package name="default" namespace="" extends="hibernate-default">
111
101
112
    <!-- Login -->
102
    <!-- Login -->
113
    <action name="Login" method="doLogin" class="ch.ffhs.webE.action.LoginAction">
103
    <action name="Login" method="doLogin" class="ch.ffhs.webE.action.LoginAction">