svn commit: r1801273 - /ofbiz/ofbiz-framework/trunk/applications/order/webapp/ordermgr/WEB-INF/controller.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1801273 - /ofbiz/ofbiz-framework/trunk/applications/order/webapp/ordermgr/WEB-INF/controller.xml

Arun Patidar-4
Author: arunpatidar
Date: Sat Jul  8 10:53:55 2017
New Revision: 1801273

URL: http://svn.apache.org/viewvc?rev=1801273&view=rev
Log:
Improved:On create order, the page shows orderview screen, but Url does not change. It shows processorder. (OFBIZ-9462)

Thanks Renuka Srishti for your contribution.

Modified:
    ofbiz/ofbiz-framework/trunk/applications/order/webapp/ordermgr/WEB-INF/controller.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/order/webapp/ordermgr/WEB-INF/controller.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/order/webapp/ordermgr/WEB-INF/controller.xml?rev=1801273&r1=1801272&r2=1801273&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/order/webapp/ordermgr/WEB-INF/controller.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/order/webapp/ordermgr/WEB-INF/controller.xml Sat Jul  8 10:53:55 2017
@@ -1024,13 +1024,17 @@ under the License.
     <request-map uri="clearpocart">
         <security https="true" direct-request="false"/>
         <event type="java" path="org.apache.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="destroyCart"/>
-        <response name="success" type="view" value="ordercomplete"/>
+        <response name="success" type="request-redirect" value="orderview">
+            <redirect-parameter name="orderId"/>
+        </response>
         <response name="error" type="view" value="confirm"/>
     </request-map>
     <request-map uri="emailorder">
         <security https="true" direct-request="false"/>
         <event type="service" path="async" invoke="sendOrderConfirmation"/>
-        <response name="success" type="view" value="ordercomplete"/>
+        <response name="success" type="request-redirect" value="orderview">
+            <redirect-parameter name="orderId"/>
+        </response>
         <response name="error" type="view" value="ordercomplete"/>
     </request-map>
     <request-map uri="setOrderTerm">