You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by bi...@apache.org on 2009/04/07 09:36:20 UTC
svn commit: r762642 - in
/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce:
WEB-INF/controller.xml catalog/configproductdetail.ftl
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('<@o...@ofbizUrl>',{parameters: $('configFormId').serialize(), requestHeaders: {Accept: 'application/json'},
onSuccess: function(transport){
var data = transport.responseText.evalJSON(true);