Prevent 404 when loading source version 3.0MP4
authorMartin Taal <martin.taal@openbravo.com>
Wed, 28 Sep 2011 15:51:41 +0200
changeset 21 bf70d5f6896a
parent 20 5268fe9a57c5
child 22 b0e13aee42c1
Prevent 404 when loading source version
readme.txt
web/org.openbravo.userinterface.smartclient/isomorphic/client/modules/ISC_DataBinding.js
--- a/readme.txt	Wed Sep 28 15:51:21 2011 +0200
+++ b/readme.txt	Wed Sep 28 15:51:41 2011 +0200
@@ -68,4 +68,20 @@
 isomorphic/system/reference/inlineExamples/serverExamples
 isomorphic/system/reference/inlineExamples/dataIntegration
 
+7) prevent 404 in source mode, to this source file:
+web/org.openbravo.userinterface.smartclient/isomorphic/client/modules/ISC_DataBinding.js
+
+and comment out the lines which load the ds.xml files:
+//        "schema/DataSource.ds.xml",
+//        "schema/DataSourceField.ds.xml",
+//        "schema/Validator.ds.xml",
+//        "schema/SimpleType.ds.xml",
+//        "schema/XSComplexType.ds.xml",
+//        "schema/XSElement.ds.xml",
+//        "schema/SchemaSet.ds.xml",
+//        "schema/WSDLMessage.ds.xml",
+//        "schema/WebService.ds.xml",
+//        "schema/WebServiceOperation.ds.xml",
+//        "schema/WSOperationHeader.ds.xml",
+
 Now build Openbravo.
--- a/web/org.openbravo.userinterface.smartclient/isomorphic/client/modules/ISC_DataBinding.js	Wed Sep 28 15:51:21 2011 +0200
+++ b/web/org.openbravo.userinterface.smartclient/isomorphic/client/modules/ISC_DataBinding.js	Wed Sep 28 15:51:41 2011 +0200
@@ -56,17 +56,17 @@
 
         // load schema needed to perform client-side XML to JS just for WSDL/XMLSchema
         // definitions produced by the schemaTranslator
-        "schema/DataSource.ds.xml",
-        "schema/DataSourceField.ds.xml",
-        "schema/Validator.ds.xml",
-        "schema/SimpleType.ds.xml",
-        "schema/XSComplexType.ds.xml",
-        "schema/XSElement.ds.xml",
-        "schema/SchemaSet.ds.xml",
-        "schema/WSDLMessage.ds.xml",
-        "schema/WebService.ds.xml",
-        "schema/WebServiceOperation.ds.xml",
-        "schema/WSOperationHeader.ds.xml",
+//        "schema/DataSource.ds.xml",
+//        "schema/DataSourceField.ds.xml",
+//        "schema/Validator.ds.xml",
+//        "schema/SimpleType.ds.xml",
+//        "schema/XSComplexType.ds.xml",
+//        "schema/XSElement.ds.xml",
+//        "schema/SchemaSet.ds.xml",
+//        "schema/WSDLMessage.ds.xml",
+//        "schema/WebService.ds.xml",
+//        "schema/WebServiceOperation.ds.xml",
+//        "schema/WSOperationHeader.ds.xml",
 
 
         "application/Operators",        // i18n naming object for AdvancedCriteria operators