Author: lektran
Date: Sat Nov 14 23:04:17 2009
New Revision: 836285
URL:
http://svn.apache.org/viewvc?rev=836285&view=revLog:
Make use of request-redirect when creating a shipment, helps prevent blank shipments being accidentally created
Modified:
ofbiz/trunk/applications/product/webapp/facility/WEB-INF/controller.xml
Modified: ofbiz/trunk/applications/product/webapp/facility/WEB-INF/controller.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/WEB-INF/controller.xml?rev=836285&r1=836284&r2=836285&view=diff==============================================================================
--- ofbiz/trunk/applications/product/webapp/facility/WEB-INF/controller.xml (original)
+++ ofbiz/trunk/applications/product/webapp/facility/WEB-INF/controller.xml Sat Nov 14 23:04:17 2009
@@ -858,7 +858,9 @@
<request-map uri="createShipment">
<security https="true" auth="true"/>
<event type="service" path="" invoke="createShipment"/>
- <response name="success" type="view" value="EditShipment"/>
+ <response name="success" type="request-redirect" value="EditShipment">
+ <redirect-parameter name="shipmentId"/>
+ </response>
<response name="error" type="view" value="EditShipment"/>
</request-map>
<request-map uri="updateShipment">