Author: sichen
Date: Wed Mar 21 16:51:54 2007
New Revision: 521051
URL:
http://svn.apache.org/viewvc?view=rev&rev=521051Log:
Changed some of the links to create new person/party group to redirect to viewprofile
Modified:
ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml
Modified: ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml?view=diff&rev=521051&r1=521050&r2=521051==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml Wed Mar 21 16:51:54 2007
@@ -318,7 +318,7 @@
<request-map uri="createEmployee">
<security https="true" auth="true"/>
<event type="simple" path="org/ofbiz/party/user/UserEvents.xml" invoke="createEmployee"/>
- <response name="success" type="view" value="viewprofile"/>
+ <response name="success" type="request-redirect" value="viewprofile"/>
<response name="error" type="view" value="NewEmployee"/>
</request-map>
@@ -326,13 +326,13 @@
<request-map uri="createPerson">
<security https="true" auth="true"/>
<event type="service" path="" invoke="createPerson"/>
- <response name="success" type="view" value="EditPerson"/>
+ <response name="success" type="request-redirect" value="viewprofile"/>
<response name="error" type="view" value="EditPerson"/>
</request-map>
<request-map uri="updatePerson">
<security https="true" auth="true"/>
<event type="service" path="" invoke="updatePerson"/>
- <response name="success" type="view" value="EditPerson"/>
+ <response name="success" type="request-redirect" value="viewprofile"/>
<response name="error" type="view" value="EditPerson"/>
</request-map>
@@ -340,13 +340,13 @@
<request-map uri="createPartyGroup">
<security https="true" auth="true"/>
<event type="service" path="" invoke="createPartyGroup"/>
- <response name="success" type="view" value="EditPartyGroup"/>
+ <response name="success" type="request-redirect" value="viewprofile"/>
<response name="error" type="view" value="EditPartyGroup"/>
</request-map>
<request-map uri="updatePartyGroup">
<security https="true" auth="true"/>
<event type="service" path="" invoke="updatePartyGroup"/>
- <response name="success" type="view" value="EditPartyGroup"/>
+ <response name="success" type="request-redirect" value="viewprofile"/>
<response name="error" type="view" value="EditPartyGroup"/>
</request-map>