Subversion Repositories WebE

Compare Revisions

Last modification

Regard whitespace Rev 34 → Rev 35

/trunk/src/struts.xml
7,46 → 7,40
 
<!-- User environment -->
<package name="user" namespace="/user" extends="hibernate-default">
<!-- Term management -->
<action name="termAdd">
<result>/user/termAddForm.jsp</result>
<!-- Terms management -->
<action name="listTerms" method="list"
class="ch.ffhs.webE.action.TermAction">
<result name="success">/user/terms.jsp</result>
</action>
 
<action name="termSave" method="save"
<action name="saveTerm" method="save"
class="ch.ffhs.webE.action.TermAction">
<result name="success">/user/termAdd.jsp</result>
<result name="error">/user/termAddForm.jsp</result>
<result>/user/terms.jsp</result>
</action>
 
<action name="termList" method="list"
<action name="editTerm" method="edit"
class="ch.ffhs.webE.action.TermAction">
<result name="success">/user/termList.jsp</result>
<result>/user/terms.jsp</result>
</action>
 
<action name="deleteTerm" method="delete"
class="ch.ffhs.webE.action.TermAction">
<result name="success" type="redirect">/user/termList</result>
<result>/user/terms.jsp</result>
</action>
 
<action name="editTerm" method="edit"
class="ch.ffhs.webE.action.TermAction">
<result name="success">/user/termAddForm.jsp</result>
<!-- Relationships management -->
<action name="listRelationships" method="list"
class="ch.ffhs.webE.action.RelationshipAction">
<result name="success">/user/relationships.jsp</result>
</action>
 
<action name="relationshipAdd" method="add"
<action name="saveRelationship" method="save"
class="ch.ffhs.webE.action.RelationshipAction">
<result>/user/relationshipAddForm.jsp</result>
<result>/user/relationships.jsp</result>
</action>
 
<action name="relationshipSave" method="save"
<action name="editRelationship" method="edit"
class="ch.ffhs.webE.action.RelationshipAction">
<result name="success">/user/relationshipAdd.jsp</result>
<result name="error">/user/relationshipAddForm.jsp</result>
<result>/user/relationships.jsp</result>
</action>
 
<action name="relationshipList" method="list"
<action name="deleteRelationship" method="delete"
class="ch.ffhs.webE.action.RelationshipAction">
<result name="success">/user/relationshipList.jsp</result>
<result>/user/relationships.jsp</result>
</action>
</package>