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

Posted by Scott Gray-2 on
URL: http://ofbiz.116.s1.nabble.com/Re-svn-commit-r1140933-in-ofbiz-trunk-applications-commonext-webapp-WEB-INF-controller-xml-content-wl-tp3631777.html

Hi Hans,

I'm not sure I understand, what was preventing it from being used in all components?

Thanks
Scott

On 29/06/2011, at 1:20 PM, [hidden email] wrote:

> 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">
>
>


smime.p7s (3K) Download Attachment