You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2008/03/03 21:51:19 UTC

svn commit: r633272 - /ofbiz/trunk/applications/content/servicedef/services.xml

Author: jaz
Date: Mon Mar  3 12:51:15 2008
New Revision: 633272

URL: http://svn.apache.org/viewvc?rev=633272&view=rev
Log:
content type should be optional; there is code to determine the type based on file extension if it is not known

Modified:
    ofbiz/trunk/applications/content/servicedef/services.xml

Modified: ofbiz/trunk/applications/content/servicedef/services.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/servicedef/services.xml?rev=633272&r1=633271&r2=633272&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/servicedef/services.xml (original)
+++ ofbiz/trunk/applications/content/servicedef/services.xml Mon Mar  3 12:51:15 2008
@@ -28,7 +28,7 @@
         <description>Contains necessary paramters for all file upload requests via service event handler</description>
         <attribute name="uploadedFile" type="java.nio.ByteBuffer" mode="IN" optional="true"/>
         <attribute name="_uploadedFile_fileName" type="String" mode="IN" optional="true" />
-        <attribute name="_uploadedFile_contentType" type="String" mode="IN" optional="false"/>
+        <attribute name="_uploadedFile_contentType" type="String" mode="IN" optional="true"/>
     </service>
 
     <!-- Content services? -->