Author: hansbak
Date: Wed Jun 29 02:05:56 2011
New Revision: 1140945
URL:
http://svn.apache.org/viewvc?rev=1140945&view=revLog:
add the stream request to ecommerce to make the picture show in the blog. Related to rev: 1140919
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=1140945&r1=1140944&r2=1140945&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml Wed Jun 29 02:05:56 2011
@@ -1970,6 +1970,12 @@ under the License.
<response name="success" type="view-last" value="main"/>
<response name="error" type="view" value="main"/>
</request-map>
+ <request-map uri="stream">
+ <event type="java" path="org.ofbiz.content.data.DataEvents" invoke="serveObjectData"/>
+ <response name="success" type="none"/>
+ <response name="error" type="view" value="error"/>
+ </request-map>
+
<!-- End of Request Mappings -->