svn commit: r762642 - in /ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce: WEB-INF/controller.xml catalog/configproductdetail.ftl

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

svn commit: r762642 - in /ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce: WEB-INF/controller.xml catalog/configproductdetail.ftl

bibryam
Author: bibryam
Date: Tue Apr  7 07:36:20 2009
New Revision: 762642

URL: http://svn.apache.org/viewvc?rev=762642&view=rev
Log:
Copied aggregated product ajax request from order manager to ecommerce, as it needs to be called using http (but not https).

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

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=762642&r1=762641&r2=762642&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml Tue Apr  7 07:36:20 2009
@@ -1772,6 +1772,13 @@
         <response name="success" type="none"/>
         <response name="error" type="none"/>
     </request-map>
+    
+   <request-map uri="getConfigDetailsEvent">
+        <security https="false" auth="false"/>
+        <event type="jsonjava" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="getConfigDetailsEvent"/>
+        <response name="success" type="none"/>
+        <response name="error" type="none"/>
+    </request-map>
 
     <!-- End of Request Mappings -->
 

Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/configproductdetail.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/configproductdetail.ftl?rev=762642&r1=762641&r2=762642&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/configproductdetail.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/configproductdetail.ftl Tue Apr  7 07:36:20 2009
@@ -140,7 +140,7 @@
 });
 
 function getConfigDetails(event) {
-        new Ajax.Request('/ordermgr/control/getConfigDetailsEvent',{parameters: $('configFormId').serialize(),  requestHeaders: {Accept: 'application/json'},
+        new Ajax.Request('<@ofbizUrl>getConfigDetailsEvent</@ofbizUrl>',{parameters: $('configFormId').serialize(),  requestHeaders: {Accept: 'application/json'},
         
            onSuccess: function(transport){    
                 var data = transport.responseText.evalJSON(true);