You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ar...@apache.org on 2015/06/20 13:52:36 UTC

svn commit: r1686574 - /ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml

Author: arunpatidar
Date: Sat Jun 20 11:52:36 2015
New Revision: 1686574

URL: http://svn.apache.org/r1686574
Log:
[OFBIZ-6111] Applied patch from the task to fix after login redirects on ecommerce application. Now user redirects on its last view page like main page, products page or category page.

Modified:
    ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml

Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml?rev=1686574&r1=1686573&r2=1686574&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml Sat Jun 20 11:52:36 2015
@@ -81,7 +81,7 @@ under the License.
         <description>Verify a user is logged in.</description>
         <security https="true" auth="false"/>
         <event type="java" path="org.ofbiz.securityext.login.LoginEvents" invoke="storeCheckLogin"/>
-        <response name="success" type="view-last" value="main"/>
+        <response name="success" type="view-last"/>
         <response name="error" type="view" value="login"/>
     </request-map>
     <request-map uri="login">
@@ -121,7 +121,7 @@ under the License.
 <!--         <response name="success" type="view" value="main"/> -->
 <!--     </request-map> -->
 
-    <request-map uri="main"><security https="false" auth="false"/><response name="success" type="view" value="main"/></request-map>
+    <request-map uri="main"><security https="false" auth="false"/><response name="success" type="view" value="main" save-current-view="true"/></request-map>
     <request-map uri="policies"><security https="false" auth="false"/><response name="success" type="view" value="policies"/></request-map>
 
     <!-- TO BE REMOVED