incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmarga...@apache.org
Subject svn commit: r485951 - in /incubator/xap/trunk/src/xap/data: ./ bridge/ controller/ datasource/ formatter/
Date Mon, 11 Dec 2006 23:55:08 GMT
Author: jmargaris
Date: Mon Dec 11 15:55:06 2006
New Revision: 485951

URL: http://svn.apache.org/viewvc?view=rev&rev=485951
Log:
require/provide cleanup

Removed:
    incubator/xap/trunk/src/xap/data/controller/DataControllerException.js
Modified:
    incubator/xap/trunk/src/xap/data/DataFramework.js
    incubator/xap/trunk/src/xap/data/bridge/DecimalFormatterBridge.js
    incubator/xap/trunk/src/xap/data/bridge/FormatterChainBridge.js
    incubator/xap/trunk/src/xap/data/bridge/JavascriptDataSourceBridge.js
    incubator/xap/trunk/src/xap/data/bridge/JsonDataSourceBridge.js
    incubator/xap/trunk/src/xap/data/bridge/MessageFormatterBridge.js
    incubator/xap/trunk/src/xap/data/bridge/ObjectDataSourceBridge.js
    incubator/xap/trunk/src/xap/data/controller/BindingResolver.js
    incubator/xap/trunk/src/xap/data/controller/ContextFrame.js
    incubator/xap/trunk/src/xap/data/datasource/DataSetFactory.js
    incubator/xap/trunk/src/xap/data/datasource/ObjectDataSource.js
    incubator/xap/trunk/src/xap/data/formatter/FormatterContainerImpl.js
    incubator/xap/trunk/src/xap/data/formatter/MessageFormatter.js

Modified: incubator/xap/trunk/src/xap/data/DataFramework.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/data/DataFramework.js?view=diff&rev=485951&r1=485950&r2=485951
==============================================================================
--- incubator/xap/trunk/src/xap/data/DataFramework.js (original)
+++ incubator/xap/trunk/src/xap/data/DataFramework.js Mon Dec 11 15:55:06 2006
@@ -15,6 +15,9 @@
  *
  */
  
+Xap.provide("xap.data.DataFramework");
+
+
 Xap.require("xap.session.ClientEvent");
 Xap.require("xap.session.ClientSession"); 
 Xap.require("xap.mco.ContainerLifeCycleObject");
@@ -33,7 +36,7 @@
  *  
  * @author dgennaco
  */
-Xap.provide("xap.data.DataFramework");
+
 Xap.setupClassAsSubclassOf("xap.data.DataFramework", "xap.mco.ContainerLifeCycleObject");
 /**
  * @constructor

Modified: incubator/xap/trunk/src/xap/data/bridge/DecimalFormatterBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/data/bridge/DecimalFormatterBridge.js?view=diff&rev=485951&r1=485950&r2=485951
==============================================================================
--- incubator/xap/trunk/src/xap/data/bridge/DecimalFormatterBridge.js (original)
+++ incubator/xap/trunk/src/xap/data/bridge/DecimalFormatterBridge.js Mon Dec 11 15:55:06
2006
@@ -18,7 +18,6 @@
 Xap.require("xap.data.bridge.FormatterBridge");
 Xap.require("xap.taghandling.AttributeConversionException");
 Xap.require("xap.xml.InvalidXmlException"); 
-//Xap.require("xap.data.InitializationException") 
 Xap.require("xap.data.formatter.DecimalFormatter");
 Xap.require("xap.data.formatter.JsFormatterImpl");
 

Modified: incubator/xap/trunk/src/xap/data/bridge/FormatterChainBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/data/bridge/FormatterChainBridge.js?view=diff&rev=485951&r1=485950&r2=485951
==============================================================================
--- incubator/xap/trunk/src/xap/data/bridge/FormatterChainBridge.js (original)
+++ incubator/xap/trunk/src/xap/data/bridge/FormatterChainBridge.js Mon Dec 11 15:55:06 2006
@@ -17,12 +17,7 @@
 Xap.provide("xap.data.bridge.FormatterChainBridge");
 
 Xap.require("xap.data.formatter.FormatterChain");
-
 Xap.require("xap.taghandling.AttributeConversionException");
-//Xap.require("xap.data.InitializationException");
-
-
-//Xap.require("xap.data.formatter.FormatterInitializationException") ;
 Xap.require("xap.xml.dom.XapElement");
 /**
  * FormatterChainBridge is the bridge class for the formatterChain tag used

Modified: incubator/xap/trunk/src/xap/data/bridge/JavascriptDataSourceBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/data/bridge/JavascriptDataSourceBridge.js?view=diff&rev=485951&r1=485950&r2=485951
==============================================================================
--- incubator/xap/trunk/src/xap/data/bridge/JavascriptDataSourceBridge.js (original)
+++ incubator/xap/trunk/src/xap/data/bridge/JavascriptDataSourceBridge.js Mon Dec 11 15:55:06
2006
@@ -16,19 +16,14 @@
  *
  */
  
-//import java.net.MalformedURLException;
 Xap.provide("xap.data.bridge.JavascriptDataSourceBridge");
 //superclass:
 Xap.require("xap.data.bridge.DataSourceBridge") ;
 
 Xap.require("xap.session.EventHandler") ;
-// Xap.require("xap.mco.McoInvocationException") ;
 Xap.require("xap.taghandling.AttributeConversionException");
-//Xap.require("xap.plugin.data.InitializationException") ;
 Xap.require("xap.data.datasource.AbstractDataSource") ;
 Xap.require("xap.data.datasource.JavascriptDataSource") ;
-//Xap.require("xap.util.EscapeSyntaxException") ;
-// /Xap.require("xap.util.ResourceDictionary") ; 
 Xap.require("xap.xml.dom.XapElement");
 Xap.require("xap.data.bridge.DataSourceBridge");
 Xap.require("xap.data.bridge.XmlDataTokens") ;

Modified: incubator/xap/trunk/src/xap/data/bridge/JsonDataSourceBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/data/bridge/JsonDataSourceBridge.js?view=diff&rev=485951&r1=485950&r2=485951
==============================================================================
--- incubator/xap/trunk/src/xap/data/bridge/JsonDataSourceBridge.js (original)
+++ incubator/xap/trunk/src/xap/data/bridge/JsonDataSourceBridge.js Mon Dec 11 15:55:06 2006
@@ -15,20 +15,15 @@
  *
  */
  
-//import java.net.MalformedURLException;
 Xap.provide("xap.data.bridge.JsonDataSourceBridge");
 //superclass:
 Xap.require("xap.data.bridge.JavascriptDataSourceBridge") ;
 
-Xap.require("xap.session.EventHandler") ;
-// Xap.require("xap.mco.McoInvocationException") ;
+Xap.require("xap.session.EventHandler") ;;
 Xap.require("xap.taghandling.AttributeConversionException");
-//Xap.require("xap.plugin.data.InitializationException") ;
 Xap.require("xap.data.datasource.JsonDataSource") ;
 Xap.require("xap.data.datasource.AbstractDataSource") ;
 Xap.require("xap.data.datasource.JsonDataSource") ;
-//Xap.require("xap.util.EscapeSyntaxException") ;
-// /Xap.require("xap.util.ResourceDictionary") ; 
 Xap.require("xap.xml.dom.XapElement");
 Xap.require("xap.data.bridge.DataSourceBridge");
 Xap.require("xap.data.bridge.XmlDataTokens") ;

Modified: incubator/xap/trunk/src/xap/data/bridge/MessageFormatterBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/data/bridge/MessageFormatterBridge.js?view=diff&rev=485951&r1=485950&r2=485951
==============================================================================
--- incubator/xap/trunk/src/xap/data/bridge/MessageFormatterBridge.js (original)
+++ incubator/xap/trunk/src/xap/data/bridge/MessageFormatterBridge.js Mon Dec 11 15:55:06
2006
@@ -18,7 +18,6 @@
 Xap.require("xap.data.bridge.FormatterBridge");
 Xap.require("xap.taghandling.AttributeConversionException");
 Xap.require("xap.xml.InvalidXmlException"); 
-//Xap.require("xap.data.InitializationException") 
 Xap.require("xap.data.formatter.MessageFormatter");
 Xap.require("xap.data.formatter.JsFormatterImpl");
 

Modified: incubator/xap/trunk/src/xap/data/bridge/ObjectDataSourceBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/data/bridge/ObjectDataSourceBridge.js?view=diff&rev=485951&r1=485950&r2=485951
==============================================================================
--- incubator/xap/trunk/src/xap/data/bridge/ObjectDataSourceBridge.js (original)
+++ incubator/xap/trunk/src/xap/data/bridge/ObjectDataSourceBridge.js Mon Dec 11 15:55:06
2006
@@ -14,19 +14,8 @@
  *  limitations under the License.
  *
  */
- 
-//import java.net.MalformedURLException;
 
 Xap.provide("xap.data.bridge.ObjectDataSourceBridge") ;
-
-// /Xap.require("xap.session.EventHandler") ; 
-// /Xap.require("xap.mco.McoInvocationException") ; 
-//Xap.require("xap.tags.AttributeConversionException") ; 
-//Xap.require("xap.plugin.data.InitializationException") ; 
-// /Xap.require("xap.data.datasource.DataSource") ; 
-// /Xap.require("xap.data.datasource.ObjectDataSource") ; 
-//Xap.require("xap.util.EscapeSyntaxException") ; 
-// /Xap.require("xap.util.ResourceDictionary") ; 
 Xap.require("xap.xml.dom.XapElement") ; 
 Xap.require("xap.data.bridge.DataSourceBridge") ;
 Xap.require("xap.data.bridge.XmlDataTokens") ;

Modified: incubator/xap/trunk/src/xap/data/controller/BindingResolver.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/data/controller/BindingResolver.js?view=diff&rev=485951&r1=485950&r2=485951
==============================================================================
--- incubator/xap/trunk/src/xap/data/controller/BindingResolver.js (original)
+++ incubator/xap/trunk/src/xap/data/controller/BindingResolver.js Mon Dec 11 15:55:06 2006
@@ -161,6 +161,8 @@
 							if (bindType == null) {
 								/*String[]*/
 								var args = [parameterName, parameterValue, xap.data.controller.BindingType.ONE_TIME.getTypeId()
+ " or " + xap.data.controller.BindingType.ONE_WAY.getTypeId()];
+								
+								//TODO fix this!!!
 								throw new DataControllerException(DataControllerException.PARAMETERIZED_BINDING_INVALID_ARGUMENT_VALUE,
args);
 							}
 						}

Modified: incubator/xap/trunk/src/xap/data/controller/ContextFrame.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/data/controller/ContextFrame.js?view=diff&rev=485951&r1=485950&r2=485951
==============================================================================
--- incubator/xap/trunk/src/xap/data/controller/ContextFrame.js (original)
+++ incubator/xap/trunk/src/xap/data/controller/ContextFrame.js Mon Dec 11 15:55:06 2006
@@ -15,8 +15,8 @@
  *
  */
  
-
-//Xap.require("xap.data.datasource.DataAccessException") 
+Xap.provide("xap.data.controller.ContextFrame");
+
 Xap.require("xap.data.datasource.AbstractDataSet");
 Xap.require("xap.data.datasource.AbstractDataSource");
 /**
@@ -26,7 +26,7 @@
 	 * 
 	 * @author dgennaco
 	 */
-Xap.provide("xap.data.controller.ContextFrame");
+
 
 /**
  * Create a new context frame.

Modified: incubator/xap/trunk/src/xap/data/datasource/DataSetFactory.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/data/datasource/DataSetFactory.js?view=diff&rev=485951&r1=485950&r2=485951
==============================================================================
--- incubator/xap/trunk/src/xap/data/datasource/DataSetFactory.js (original)
+++ incubator/xap/trunk/src/xap/data/datasource/DataSetFactory.js Mon Dec 11 15:55:06 2006
@@ -15,6 +15,8 @@
  *  limitations under the License.
  *
 **/
+
+Xap.provide("xap.data.datasource.DataSetFactory");
 Xap.require("xap.util.Vector");
 
 /**

Modified: incubator/xap/trunk/src/xap/data/datasource/ObjectDataSource.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/data/datasource/ObjectDataSource.js?view=diff&rev=485951&r1=485950&r2=485951
==============================================================================
--- incubator/xap/trunk/src/xap/data/datasource/ObjectDataSource.js (original)
+++ incubator/xap/trunk/src/xap/data/datasource/ObjectDataSource.js Mon Dec 11 15:55:06 2006
@@ -15,14 +15,7 @@
  *
 **/
 
-/*
-import java.beans.PropertyChangeEvent;
-import java.beans.PropertyChangeListener;
-import java.io.IOException;
-import java.io.ObjectInputStream;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-*/
+Xap.provide("xap.data.datasource.ObjectDataSource");
 
 Xap.require("xap.session.ClientSession"); 
 Xap.require("xap.util.LogFactory");
@@ -87,6 +80,9 @@
  * 
  * @author ikaplansky
  */
+ 
+
+ 
 /**
  * @constructor
  * Needs to be public since it could be used by reflection from the
@@ -95,8 +91,6 @@
 ObjectDataSource = function () {
 // default no-args constructor
 };
-Xap.provide("xap.data.datasource.ObjectDataSource");
-
 
 
 Xap.setupClassAsSubclassOf("xap.data.datasource.ObjectDataSource", "xap.data.datasource.AbstractDataSource");

Modified: incubator/xap/trunk/src/xap/data/formatter/FormatterContainerImpl.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/data/formatter/FormatterContainerImpl.js?view=diff&rev=485951&r1=485950&r2=485951
==============================================================================
--- incubator/xap/trunk/src/xap/data/formatter/FormatterContainerImpl.js (original)
+++ incubator/xap/trunk/src/xap/data/formatter/FormatterContainerImpl.js Mon Dec 11 15:55:06
2006
@@ -14,6 +14,9 @@
  *  limitations under the License.
  *
  */
+ 
+Xap.provide("xap.data.formatter.FormatterContainerImpl");
+
 Xap.require("xap.session.ClientSession");
 Xap.require("xap.session.Container");
 /**
@@ -21,7 +24,7 @@
  * 
  * @author dgennaco
 **/
-Xap.provide("xap.data.formatter.FormatterContainerImpl");
+
 xap.data.formatter.FormatterContainerImpl = function (sess) {
 	xap.session.Container.call(sess);
 };

Modified: incubator/xap/trunk/src/xap/data/formatter/MessageFormatter.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/data/formatter/MessageFormatter.js?view=diff&rev=485951&r1=485950&r2=485951
==============================================================================
--- incubator/xap/trunk/src/xap/data/formatter/MessageFormatter.js (original)
+++ incubator/xap/trunk/src/xap/data/formatter/MessageFormatter.js Mon Dec 11 15:55:06 2006
@@ -1,7 +1,3 @@
-
-//Xap.require("xap.util.FormatUtils") ;
-//Xap.require("xap.util.Log") ;
-//Xap.require("xap.util.ResourceDictionary") ;
 /**
  * MessageFormatter is used to format string messages.
  * 



Mime
View raw message