svn commit: r1140933 - in /ofbiz/trunk/applications: commonext/webapp/WEB-INF/controller.xml content/webapp/content/WEB-INF/controller.xml

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

svn commit: r1140933 - in /ofbiz/trunk/applications: commonext/webapp/WEB-INF/controller.xml content/webapp/content/WEB-INF/controller.xml

hansbak-2
Author: hansbak
Date: Wed Jun 29 01:20:24 2011
New Revision: 1140933

URL: http://svn.apache.org/viewvc?rev=1140933&view=rev
Log:
move the stream request from content to commonext so streaming of image/video can be used in all components related to rev 1140919

Modified:
    ofbiz/trunk/applications/commonext/webapp/WEB-INF/controller.xml
    ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml

Modified: ofbiz/trunk/applications/commonext/webapp/WEB-INF/controller.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/webapp/WEB-INF/controller.xml?rev=1140933&r1=1140932&r2=1140933&view=diff
==============================================================================
--- ofbiz/trunk/applications/commonext/webapp/WEB-INF/controller.xml (original)
+++ ofbiz/trunk/applications/commonext/webapp/WEB-INF/controller.xml Wed Jun 29 01:20:24 2011
@@ -35,4 +35,10 @@ under the License.
         <response name="success" type="view-last"/>
     </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>
+    
 </site-conf>

Modified: ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml?rev=1140933&r1=1140932&r2=1140933&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml (original)
+++ ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml Wed Jun 29 01:20:24 2011
@@ -1002,12 +1002,6 @@ under the License.
         <response name="success" type="none"/>
         <response name="error" type="request" 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>
-
     <!-- ================ ContentOperation Requests ================= -->
     <request-map uri="EditContentOperation"><security auth="true" https="true"/><response name="success" type="view" value="EditContentOperation"/></request-map>
     <request-map uri="addContentOperation">