svn commit: r643993 - in /ofbiz/trunk/applications/ecommerce/webapp/ecommerce: WEB-INF/controller.xml login.ftl

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

svn commit: r643993 - in /ofbiz/trunk/applications/ecommerce/webapp/ecommerce: WEB-INF/controller.xml login.ftl

jonesde
Author: jonesde
Date: Wed Apr  2 10:50:04 2008
New Revision: 643993

URL: http://svn.apache.org/viewvc?rev=643993&view=rev
Log:
Added quickAnonCheckout request, changed quickcheckout back to do what it used to; the previous commit broke existing functionality an;the previous commit broke existing functionality which is a no-no; a link can be added for the new request in ADDITION to the current checkout link, as it is on the login page

Modified:
    ofbiz/trunk/applications/ecommerce/webapp/ecommerce/WEB-INF/controller.xml
    ofbiz/trunk/applications/ecommerce/webapp/ecommerce/login.ftl

Modified: ofbiz/trunk/applications/ecommerce/webapp/ecommerce/WEB-INF/controller.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/WEB-INF/controller.xml?rev=643993&r1=643992&r2=643993&view=diff
==============================================================================
--- ofbiz/trunk/applications/ecommerce/webapp/ecommerce/WEB-INF/controller.xml (original)
+++ ofbiz/trunk/applications/ecommerce/webapp/ecommerce/WEB-INF/controller.xml Wed Apr  2 10:50:04 2008
@@ -433,6 +433,13 @@
     <!-- End Anonymous checkout requests -->
     
     <!--Anonymous Checkout 3 steps entry -->  
+    <request-map uri="quickAnonCheckout">
+        <security https="true" auth="false"/>
+        <event type="java" path="org.ofbiz.order.shoppingcart.CheckOutEvents" invoke="cartNotEmpty"/>
+        <response name="success" type="request" value="quickAnonSetCustomer"/>
+        <response name="error" type="view" value="main"/>
+    </request-map>
+    
     <request-map uri="quickAnonSetCustomer">
         <security https="true" auth="false"/>
         <response name="success" type="view" value="quickAnonCustSetting"/>
@@ -584,9 +591,9 @@
       <response name="success" type="view" value="checkoutshippingaddress"/>
     </request-map>
     <request-map uri="quickcheckout">
-        <security https="true" auth="false"/>
+        <security https="true" auth="true"/>
         <event type="java" path="org.ofbiz.order.shoppingcart.CheckOutEvents" invoke="cartNotEmpty"/>
-        <response name="success" type="request" value="quickAnonSetCustomer"/>
+        <response name="success" type="view" value="quickcheckout"/>
         <response name="error" type="view" value="main"/>
     </request-map>
 

Modified: ofbiz/trunk/applications/ecommerce/webapp/ecommerce/login.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/login.ftl?rev=643993&r1=643992&r2=643993&view=diff
==============================================================================
--- ofbiz/trunk/applications/ecommerce/webapp/ecommerce/login.ftl (original)
+++ ofbiz/trunk/applications/ecommerce/webapp/ecommerce/login.ftl Wed Apr  2 10:50:04 2008
@@ -91,7 +91,7 @@
           <form method="post" action="<@ofbizUrl>setCustomer</@ofbizUrl>" style="margin: 0;">
             <div align="center"><input type="submit" class="smallSubmit" value="${uiLabelMap.EcommerceCheckout}"/></div>
           </form>
-          <form method="post" action="<@ofbizUrl>quickAnonSetCustomer</@ofbizUrl>" style="margin: 0;">
+          <form method="post" action="<@ofbizUrl>quickAnonCheckout</@ofbizUrl>" style="margin: 0;">
             <div align="center"><input type="submit" class="smallSubmit" value="${uiLabelMap.EcommerceCheckoutQuick}"/></div>
           </form>
         </div>