You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by mt...@apache.org on 2006/08/06 20:27:10 UTC
svn commit: r429193 - in /incubator/xap/trunk/src/xap: bridges/basic/
bridges/dojo/ bridges/google/ bridges/zimbra/ components/zimbra/ macro/
mco/ requestservice/ session/ taghandling/ util/ xml/ xml/dom/
xml/dom/events/ xml/sax/ xml/xmodify/
Author: mturyn
Date: Sun Aug 6 13:27:07 2006
New Revision: 429193
URL: http://svn.apache.org/viewvc?rev=429193&view=rev
Log:
Missing Xap.require(<a constructor>) statements provided---we've been getting by so far because we've loaded enough things at start-up to not need these, but that could easily change (e.g., on modularisation), and omitting require()s obscure the dependencies.
Modified:
incubator/xap/trunk/src/xap/bridges/basic/AbstractBlackBoxWidgetBridge.js
incubator/xap/trunk/src/xap/bridges/basic/DomNodeBridge.js
incubator/xap/trunk/src/xap/bridges/basic/TextViewBridge.js
incubator/xap/trunk/src/xap/bridges/dojo/DojoButtonBridge.js
incubator/xap/trunk/src/xap/bridges/dojo/DojoFloatingPaneBridge.js
incubator/xap/trunk/src/xap/bridges/dojo/DojoGenericWidgetBridge.js
incubator/xap/trunk/src/xap/bridges/dojo/DojoWidgetBridge.js
incubator/xap/trunk/src/xap/bridges/google/GoogleBridge.js
incubator/xap/trunk/src/xap/bridges/google/GoogleIconBridge.js
incubator/xap/trunk/src/xap/bridges/google/GoogleIconsBridge.js
incubator/xap/trunk/src/xap/bridges/google/GoogleMapBridge.js
incubator/xap/trunk/src/xap/bridges/google/GoogleMarkerBridge.js
incubator/xap/trunk/src/xap/bridges/google/GoogleMarkersBridge.js
incubator/xap/trunk/src/xap/bridges/zimbra/DwtButtonBridge.js
incubator/xap/trunk/src/xap/bridges/zimbra/DwtControlBridge.js
incubator/xap/trunk/src/xap/bridges/zimbra/DwtHorizontalLayoutPanelBridge.js
incubator/xap/trunk/src/xap/bridges/zimbra/DwtLabelBridge.js
incubator/xap/trunk/src/xap/bridges/zimbra/DwtSplitChildBridge.js
incubator/xap/trunk/src/xap/bridges/zimbra/DwtSplitterBridge.js
incubator/xap/trunk/src/xap/bridges/zimbra/DwtTabBridge.js
incubator/xap/trunk/src/xap/bridges/zimbra/DwtTabViewBridge.js
incubator/xap/trunk/src/xap/bridges/zimbra/DwtTextFieldBridge.js
incubator/xap/trunk/src/xap/bridges/zimbra/DwtTreeBridge.js
incubator/xap/trunk/src/xap/bridges/zimbra/DwtTreeItemBridge.js
incubator/xap/trunk/src/xap/bridges/zimbra/DwtVerticalLayoutPanelBridge.js
incubator/xap/trunk/src/xap/components/zimbra/DwtHorizontalLayoutPanel.js
incubator/xap/trunk/src/xap/components/zimbra/DwtSplitChild.js
incubator/xap/trunk/src/xap/components/zimbra/DwtSplitter.js
incubator/xap/trunk/src/xap/components/zimbra/DwtTablePanel.js
incubator/xap/trunk/src/xap/components/zimbra/DwtVerticalLayoutPanel.js
incubator/xap/trunk/src/xap/macro/Macro.js
incubator/xap/trunk/src/xap/macro/MacroNamespaceHandler.js
incubator/xap/trunk/src/xap/mco/McoInvocationException.js
incubator/xap/trunk/src/xap/mco/McoInvocationExceptionRes.js
incubator/xap/trunk/src/xap/mco/McoNamespaceHandler.js
incubator/xap/trunk/src/xap/requestservice/HttpRequest.js
incubator/xap/trunk/src/xap/requestservice/NetServiceListener.js
incubator/xap/trunk/src/xap/session/ClientSession.js
incubator/xap/trunk/src/xap/session/Container.js
incubator/xap/trunk/src/xap/session/DeclarativeArgumentParser.js
incubator/xap/trunk/src/xap/taghandling/AbstractTagImpl.js
incubator/xap/trunk/src/xap/taghandling/PluginDocumentHandler.js
incubator/xap/trunk/src/xap/taghandling/PluginRegistry.js
incubator/xap/trunk/src/xap/taghandling/PluginRegistryImpl.js
incubator/xap/trunk/src/xap/util/ArrayHelper.js
incubator/xap/trunk/src/xap/util/Exception.js
incubator/xap/trunk/src/xap/util/LogFactory.js
incubator/xap/trunk/src/xap/util/ObjectHierarchyAnalyzer.js
incubator/xap/trunk/src/xap/util/Profiler.js
incubator/xap/trunk/src/xap/util/ResourceDictionary.js
incubator/xap/trunk/src/xap/util/XapException.js
incubator/xap/trunk/src/xap/xml/DocumentContainer.js
incubator/xap/trunk/src/xap/xml/InvalidXmlException.js
incubator/xap/trunk/src/xap/xml/InvalidXmlExceptionRes.js
incubator/xap/trunk/src/xap/xml/NamespaceHandler.js
incubator/xap/trunk/src/xap/xml/NamespaceHandlerManager.js
incubator/xap/trunk/src/xap/xml/XalNamespaceHandler.js
incubator/xap/trunk/src/xap/xml/dom/Document.js
incubator/xap/trunk/src/xap/xml/dom/XapElement.js
incubator/xap/trunk/src/xap/xml/dom/XapElementRes.js
incubator/xap/trunk/src/xap/xml/dom/events/AttributeChangeEvent.js
incubator/xap/trunk/src/xap/xml/dom/events/AttributeChangeListener.js
incubator/xap/trunk/src/xap/xml/dom/events/ChangeRejectedException.js
incubator/xap/trunk/src/xap/xml/dom/events/ChangeRejectedExceptionRes.js
incubator/xap/trunk/src/xap/xml/dom/events/DocumentOwnershipListener.js
incubator/xap/trunk/src/xap/xml/dom/events/DomChangeEvent.js
incubator/xap/trunk/src/xap/xml/dom/events/StructureChangeEvent.js
incubator/xap/trunk/src/xap/xml/dom/events/StructureChangeListener.js
incubator/xap/trunk/src/xap/xml/sax/EmptyDocumentException.js
incubator/xap/trunk/src/xap/xml/sax/EmptyDocumentExceptionRes.js
incubator/xap/trunk/src/xap/xml/sax/ParserException.js
incubator/xap/trunk/src/xap/xml/sax/ParserExceptionRes.js
incubator/xap/trunk/src/xap/xml/sax/SaxContentHandler.js
incubator/xap/trunk/src/xap/xml/sax/SaxParser.js
incubator/xap/trunk/src/xap/xml/xmodify/CommandDirective.js
incubator/xap/trunk/src/xap/xml/xmodify/DirectiveSet.js
incubator/xap/trunk/src/xap/xml/xmodify/UpdateDirective.js
incubator/xap/trunk/src/xap/xml/xmodify/Xmodify.js
incubator/xap/trunk/src/xap/xml/xmodify/XmodifyException.js
incubator/xap/trunk/src/xap/xml/xmodify/XmodifyNamespaceHandler.js
Modified: incubator/xap/trunk/src/xap/bridges/basic/AbstractBlackBoxWidgetBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/basic/AbstractBlackBoxWidgetBridge.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/basic/AbstractBlackBoxWidgetBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/basic/AbstractBlackBoxWidgetBridge.js Sun Aug 6 13:27:07 2006
@@ -16,6 +16,12 @@
*/
Xap.provide("xap.bridges.basic.AbstractBlackBoxWidgetBridge");
+// Auto-added---o.k.?
+Xap.require("xap.util.Utils");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.Exception");
+
Xap.require("xap.util.LogFactory") ;
Xap.require("xap.taghandling.AbstractTagImpl") ;
Modified: incubator/xap/trunk/src/xap/bridges/basic/DomNodeBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/basic/DomNodeBridge.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/basic/DomNodeBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/basic/DomNodeBridge.js Sun Aug 6 13:27:07 2006
@@ -16,6 +16,12 @@
*/
Xap.provide("xap.bridges.basic.DomNodeBridge");
+// Auto-added---o.k.?
+Xap.require("xap.taghandling.AbstractTagImpl");
+
+// Auto-added---o.k.?
+Xap.require("xap.bridges.zimbra.DwtButtonBridge");
+
Xap.require("xap.bridges.basic.AbstractBlackBoxWidgetBridge") ;
/**
* @fileoverview
Modified: incubator/xap/trunk/src/xap/bridges/basic/TextViewBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/basic/TextViewBridge.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/basic/TextViewBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/basic/TextViewBridge.js Sun Aug 6 13:27:07 2006
@@ -16,6 +16,12 @@
*/
Xap.provide("xap.bridges.basic.TextViewBridge");
+// Auto-added---o.k.?
+Xap.require("xap.taghandling.AbstractTagImpl");
+
+// Auto-added---o.k.?
+Xap.require("xap.bridges.zimbra.DwtButtonBridge");
+
/**
* @fileoverview
*
Modified: incubator/xap/trunk/src/xap/bridges/dojo/DojoButtonBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/dojo/DojoButtonBridge.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/dojo/DojoButtonBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/dojo/DojoButtonBridge.js Sun Aug 6 13:27:07 2006
@@ -21,6 +21,11 @@
* A bridge class that controls a dojo Button peer.
*/
+ // Auto-added---o.k.?
+Xap.require("xap.util.LogFactory");
+
+
+
/**
* Creates a DojoButtonBridge.
*
@@ -183,4 +188,3 @@
-
\ No newline at end of file
Modified: incubator/xap/trunk/src/xap/bridges/dojo/DojoFloatingPaneBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/dojo/DojoFloatingPaneBridge.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/dojo/DojoFloatingPaneBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/dojo/DojoFloatingPaneBridge.js Sun Aug 6 13:27:07 2006
@@ -21,6 +21,10 @@
* A bridge class that controls a dojo FloatingPane peer.
*/
+// Auto-added---o.k.?
+Xap.require("xap.util.LogFactory");
+
+
/**
* Creates a DojoFloatingPaneBridge.
*
Modified: incubator/xap/trunk/src/xap/bridges/dojo/DojoGenericWidgetBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/dojo/DojoGenericWidgetBridge.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/dojo/DojoGenericWidgetBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/dojo/DojoGenericWidgetBridge.js Sun Aug 6 13:27:07 2006
@@ -16,6 +16,12 @@
*/
Xap.provide("xap.bridges.dojo.DojoGenericWidgetBridge");
+// Auto-added---o.k.?
+Xap.require("xap.util.LogFactory");
+
+// Auto-added---o.k.?
+Xap.require("xap.bridges.dojo.DojoWidgetBridge");
+
/**
Modified: incubator/xap/trunk/src/xap/bridges/dojo/DojoWidgetBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/dojo/DojoWidgetBridge.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/dojo/DojoWidgetBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/dojo/DojoWidgetBridge.js Sun Aug 6 13:27:07 2006
@@ -17,6 +17,12 @@
Xap.require("xap.bridges.basic.AbstractBlackBoxWidgetBridge");
Xap.provide("xap.bridges.dojo.DojoWidgetBridge");
+// Auto-added---o.k.?
+Xap.require("xap.util.Exception");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.ArrayHelper");
+
/**
* @fileoverview
Modified: incubator/xap/trunk/src/xap/bridges/google/GoogleBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/google/GoogleBridge.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/google/GoogleBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/google/GoogleBridge.js Sun Aug 6 13:27:07 2006
@@ -16,6 +16,9 @@
*/
Xap.provide("xap.bridges.google.GoogleBridge");
+// Auto-added---o.k.?
+Xap.require("xap.taghandling.AbstractTagImpl");
+
/**
* @fileoverview
Modified: incubator/xap/trunk/src/xap/bridges/google/GoogleIconBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/google/GoogleIconBridge.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/google/GoogleIconBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/google/GoogleIconBridge.js Sun Aug 6 13:27:07 2006
@@ -23,6 +23,12 @@
Xap.provide("xap.bridges.google.GoogleIconBridge");
+// Auto-added---o.k.?
+Xap.require("xap.session.ClientEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.bridges.google.GoogleInfoWindowBridge");
+
Xap.require("xap.bridges.google.GoogleBridge");
/**
Modified: incubator/xap/trunk/src/xap/bridges/google/GoogleIconsBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/google/GoogleIconsBridge.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/google/GoogleIconsBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/google/GoogleIconsBridge.js Sun Aug 6 13:27:07 2006
@@ -22,6 +22,9 @@
*/
Xap.provide("xap.bridges.google.GoogleIconsBridge");
+// Auto-added---o.k.?
+Xap.require("xap.taghandling.AbstractTagImpl");
+
Xap.require("xap.bridges.google.GoogleBridge");
/**
Modified: incubator/xap/trunk/src/xap/bridges/google/GoogleMapBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/google/GoogleMapBridge.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/google/GoogleMapBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/google/GoogleMapBridge.js Sun Aug 6 13:27:07 2006
@@ -16,6 +16,9 @@
*/
Xap.provide("xap.bridges.google.GoogleMapBridge");
+// Auto-added---o.k.?
+Xap.require("xap.session.ClientEvent");
+
Xap.require("xap.bridges.google.GoogleBridge");
/**
Modified: incubator/xap/trunk/src/xap/bridges/google/GoogleMarkerBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/google/GoogleMarkerBridge.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/google/GoogleMarkerBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/google/GoogleMarkerBridge.js Sun Aug 6 13:27:07 2006
@@ -16,6 +16,12 @@
*/
Xap.provide("xap.bridges.google.GoogleMarkerBridge");
+// Auto-added---o.k.?
+Xap.require("xap.session.ClientEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.bridges.google.GoogleInfoWindowBridge");
+
Xap.require("xap.bridges.google.GoogleBridge");
/**
Modified: incubator/xap/trunk/src/xap/bridges/google/GoogleMarkersBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/google/GoogleMarkersBridge.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/google/GoogleMarkersBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/google/GoogleMarkersBridge.js Sun Aug 6 13:27:07 2006
@@ -16,6 +16,12 @@
*/
Xap.provide("xap.bridges.google.GoogleMarkersBridge");
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.taghandling.AbstractTagImpl");
+
Xap.require("xap.bridges.google.GoogleBridge");
/**
Modified: incubator/xap/trunk/src/xap/bridges/zimbra/DwtButtonBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/zimbra/DwtButtonBridge.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/zimbra/DwtButtonBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/zimbra/DwtButtonBridge.js Sun Aug 6 13:27:07 2006
@@ -16,6 +16,12 @@
*/
Xap.provide("xap.bridges.zimbra.DwtButtonBridge");
+// Auto-added---o.k.?
+Xap.require("xap.util.LogFactory");
+
+// Auto-added---o.k.?
+Xap.require("xap.bridges.zimbra.DwtLabelBridge");
+
Xap.require("xap.bridges.zimbra.DwtControlBridge");
/**
* @fileoverview
Modified: incubator/xap/trunk/src/xap/bridges/zimbra/DwtControlBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/zimbra/DwtControlBridge.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/zimbra/DwtControlBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/zimbra/DwtControlBridge.js Sun Aug 6 13:27:07 2006
@@ -16,6 +16,12 @@
*/
Xap.provide("xap.bridges.zimbra.DwtControlBridge");
+// Auto-added---o.k.?
+Xap.require("xap.util.LogFactory");
+
+// Auto-added---o.k.?
+Xap.require("xap.taghandling.AbstractTagImpl");
+
/**
* @fileoverview
*
Modified: incubator/xap/trunk/src/xap/bridges/zimbra/DwtHorizontalLayoutPanelBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/zimbra/DwtHorizontalLayoutPanelBridge.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/zimbra/DwtHorizontalLayoutPanelBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/zimbra/DwtHorizontalLayoutPanelBridge.js Sun Aug 6 13:27:07 2006
@@ -16,6 +16,9 @@
*/
Xap.provide("xap.bridges.zimbra.DwtHorizontalLayoutPanelBridge");
+// Auto-added---o.k.?
+Xap.require("xap.bridges.zimbra.DwtCompositeBridge");
+
/**
* @fileoverview
*
Modified: incubator/xap/trunk/src/xap/bridges/zimbra/DwtLabelBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/zimbra/DwtLabelBridge.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/zimbra/DwtLabelBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/zimbra/DwtLabelBridge.js Sun Aug 6 13:27:07 2006
@@ -16,6 +16,12 @@
*/
Xap.provide("xap.bridges.zimbra.DwtLabelBridge");
+// Auto-added---o.k.?
+Xap.require("xap.util.LogFactory");
+
+// Auto-added---o.k.?
+Xap.require("xap.bridges.zimbra.DwtCompositeBridge");
+
/**
* @fileoverview
*
Modified: incubator/xap/trunk/src/xap/bridges/zimbra/DwtSplitChildBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/zimbra/DwtSplitChildBridge.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/zimbra/DwtSplitChildBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/zimbra/DwtSplitChildBridge.js Sun Aug 6 13:27:07 2006
@@ -16,6 +16,9 @@
*/
Xap.provide("xap.bridges.zimbra.DwtSplitChildBridge");
+// Auto-added---o.k.?
+Xap.require("xap.bridges.zimbra.DwtCompositeBridge");
+
/**
* @fileoverview
*
Modified: incubator/xap/trunk/src/xap/bridges/zimbra/DwtSplitterBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/zimbra/DwtSplitterBridge.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/zimbra/DwtSplitterBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/zimbra/DwtSplitterBridge.js Sun Aug 6 13:27:07 2006
@@ -16,6 +16,9 @@
*/
Xap.provide("xap.bridges.zimbra.DwtSplitterBridge");
+// Auto-added---o.k.?
+Xap.require("xap.bridges.zimbra.DwtCompositeBridge");
+
/**
* @fileoverview
*
Modified: incubator/xap/trunk/src/xap/bridges/zimbra/DwtTabBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/zimbra/DwtTabBridge.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/zimbra/DwtTabBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/zimbra/DwtTabBridge.js Sun Aug 6 13:27:07 2006
@@ -16,6 +16,12 @@
*/
Xap.provide("xap.bridges.zimbra.DwtTabBridge");
+// Auto-added---o.k.?
+Xap.require("xap.util.LogFactory");
+
+// Auto-added---o.k.?
+Xap.require("xap.bridges.zimbra.DwtCompositeBridge");
+
/**
* @fileoverview
*
Modified: incubator/xap/trunk/src/xap/bridges/zimbra/DwtTabViewBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/zimbra/DwtTabViewBridge.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/zimbra/DwtTabViewBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/zimbra/DwtTabViewBridge.js Sun Aug 6 13:27:07 2006
@@ -16,6 +16,12 @@
*/
Xap.provide("xap.bridges.zimbra.DwtTabViewBridge");
+// Auto-added---o.k.?
+Xap.require("xap.util.LogFactory");
+
+// Auto-added---o.k.?
+Xap.require("xap.bridges.zimbra.DwtCompositeBridge");
+
/**
* @fileoverview
*
Modified: incubator/xap/trunk/src/xap/bridges/zimbra/DwtTextFieldBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/zimbra/DwtTextFieldBridge.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/zimbra/DwtTextFieldBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/zimbra/DwtTextFieldBridge.js Sun Aug 6 13:27:07 2006
@@ -16,6 +16,15 @@
*/
Xap.provide("xap.bridges.zimbra.DwtTextFieldBridge");
+// Auto-added---o.k.?
+Xap.require("xap.util.LogFactory");
+
+// Auto-added---o.k.?
+Xap.require("xap.session.ClientEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.bridges.zimbra.DwtControlBridge");
+
/**
* @fileoverview
*
Modified: incubator/xap/trunk/src/xap/bridges/zimbra/DwtTreeBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/zimbra/DwtTreeBridge.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/zimbra/DwtTreeBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/zimbra/DwtTreeBridge.js Sun Aug 6 13:27:07 2006
@@ -16,6 +16,18 @@
*/
Xap.provide("xap.bridges.zimbra.DwtTreeBridge");
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.LogFactory");
+
+// Auto-added---o.k.?
+Xap.require("xap.session.ClientEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.bridges.zimbra.DwtCompositeBridge");
+
/**
* @fileoverview
*
Modified: incubator/xap/trunk/src/xap/bridges/zimbra/DwtTreeItemBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/zimbra/DwtTreeItemBridge.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/zimbra/DwtTreeItemBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/zimbra/DwtTreeItemBridge.js Sun Aug 6 13:27:07 2006
@@ -16,6 +16,15 @@
*/
Xap.provide("xap.bridges.zimbra.DwtTreeItemBridge");
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.LogFactory");
+
+// Auto-added---o.k.?
+Xap.require("xap.bridges.zimbra.DwtCompositeBridge");
+
/**
* @fileoverview
*
Modified: incubator/xap/trunk/src/xap/bridges/zimbra/DwtVerticalLayoutPanelBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/zimbra/DwtVerticalLayoutPanelBridge.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/zimbra/DwtVerticalLayoutPanelBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/zimbra/DwtVerticalLayoutPanelBridge.js Sun Aug 6 13:27:07 2006
@@ -16,6 +16,9 @@
*/
Xap.provide("xap.bridges.zimbra.DwtVerticalLayoutPanelBridge");
+// Auto-added---o.k.?
+Xap.require("xap.bridges.zimbra.DwtCompositeBridge");
+
/**
* @fileoverview
Modified: incubator/xap/trunk/src/xap/components/zimbra/DwtHorizontalLayoutPanel.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/components/zimbra/DwtHorizontalLayoutPanel.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/components/zimbra/DwtHorizontalLayoutPanel.js (original)
+++ incubator/xap/trunk/src/xap/components/zimbra/DwtHorizontalLayoutPanel.js Sun Aug 6 13:27:07 2006
@@ -14,12 +14,18 @@
* limitations under the License.
*
*/
+
/**
* @fileoverview
*
* A test class only.
*/
+
+//Xap.provide("xap.components.zimbra.DwtHorizontalLayoutPanel") ;
+// Auto-added---o.k.?
+Xap.require("xap.util.LogFactory");
+
/**
* A test class only.
@@ -29,9 +35,6 @@
*
* @author jmargaris
*/
-
-//Xap.provide("xap.components.zimbra.DwtHorizontalLayoutPanel") ;
-
DwtHorizontalLayoutPanel = function(parent, style, className, posStyle) {
DwtTablePanel.call(this, parent, style, className, posStyle);
}
Modified: incubator/xap/trunk/src/xap/components/zimbra/DwtSplitChild.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/components/zimbra/DwtSplitChild.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/components/zimbra/DwtSplitChild.js (original)
+++ incubator/xap/trunk/src/xap/components/zimbra/DwtSplitChild.js Sun Aug 6 13:27:07 2006
@@ -21,6 +21,13 @@
* A container class that sits in the left/right/top/bottom
* of a splitter.
*/
+
+
+// Xap.provide("DwtSplitChild") ;
+
+// Auto-added---o.k.?
+Xap.require("xap.util.LogFactory");
+
/**
* Creates a new DwtSplitChild.
@@ -33,7 +40,6 @@
* @author jmargaris
*/
-// Xap.provide("DwtSplitChild") ;
DwtSplitChild = function(parent, isLeftTop) {
this._isLeftTop = isLeftTop;
Modified: incubator/xap/trunk/src/xap/components/zimbra/DwtSplitter.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/components/zimbra/DwtSplitter.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/components/zimbra/DwtSplitter.js (original)
+++ incubator/xap/trunk/src/xap/components/zimbra/DwtSplitter.js Sun Aug 6 13:27:07 2006
@@ -15,6 +15,9 @@
*
*/
//Xap.provide("xap.components.zimbra.DwtSplitter") ;
+// Auto-added---o.k.?
+Xap.require("xap.util.LogFactory");
+
/**
* @fileoverview
*
Modified: incubator/xap/trunk/src/xap/components/zimbra/DwtTablePanel.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/components/zimbra/DwtTablePanel.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/components/zimbra/DwtTablePanel.js (original)
+++ incubator/xap/trunk/src/xap/components/zimbra/DwtTablePanel.js Sun Aug 6 13:27:07 2006
@@ -15,6 +15,9 @@
*
*/
//Xap.provide("xap.components.zimbra.DwtTablePanel") ;
+// Auto-added---o.k.?
+Xap.require("xap.util.LogFactory");
+
/**
Modified: incubator/xap/trunk/src/xap/components/zimbra/DwtVerticalLayoutPanel.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/components/zimbra/DwtVerticalLayoutPanel.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/components/zimbra/DwtVerticalLayoutPanel.js (original)
+++ incubator/xap/trunk/src/xap/components/zimbra/DwtVerticalLayoutPanel.js Sun Aug 6 13:27:07 2006
@@ -16,6 +16,9 @@
*/
//Xap.provide("xap.components.zimbra.DwtVerticalLayoutPanel") ;
+// Auto-added---o.k.?
+Xap.require("xap.util.LogFactory");
+
/**
Modified: incubator/xap/trunk/src/xap/macro/Macro.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/macro/Macro.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/macro/Macro.js (original)
+++ incubator/xap/trunk/src/xap/macro/Macro.js Sun Aug 6 13:27:07 2006
@@ -15,6 +15,12 @@
*
*/
Xap.provide("xap.macro.MacroNamespaceHandler");
+// Auto-added---o.k.?
+Xap.require("xap.xml.sax.SaxContentHandler");
+
+// Auto-added---o.k.?
+Xap.require("xap.session.ClientSession");
+
Xap.require("xap.util.MessageFormat");
/**
* @fileoverview A macro is a segment of stored xml that can be run from the client
@@ -65,3 +71,9 @@
}
//Let Dojo know what to expect from this file:
Xap.provide('xap.macro.Macro');
+// Auto-added---o.k.?
+Xap.require("xap.xml.sax.SaxContentHandler");
+
+// Auto-added---o.k.?
+Xap.require("xap.session.ClientSession");
+
Modified: incubator/xap/trunk/src/xap/macro/MacroNamespaceHandler.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/macro/MacroNamespaceHandler.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/macro/MacroNamespaceHandler.js (original)
+++ incubator/xap/trunk/src/xap/macro/MacroNamespaceHandler.js Sun Aug 6 13:27:07 2006
@@ -15,6 +15,21 @@
*
*/
Xap.provide("xap.macro.MacroNamespaceHandler") ;
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.XapElement");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.NamespaceHandler");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.InvalidXmlException");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.DocumentContainer");
+
+// Auto-added---o.k.?
+Xap.require("xap.macro.Macro");
+
/**
@@ -86,3 +101,18 @@
}
//Let Dojo know what to expect from this file:
Xap.provide('xap.macro.MacroNamespaceHandler');
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.XapElement");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.NamespaceHandler");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.InvalidXmlException");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.DocumentContainer");
+
+// Auto-added---o.k.?
+Xap.require("xap.macro.Macro");
+
Modified: incubator/xap/trunk/src/xap/mco/McoInvocationException.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/mco/McoInvocationException.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/mco/McoInvocationException.js (original)
+++ incubator/xap/trunk/src/xap/mco/McoInvocationException.js Sun Aug 6 13:27:07 2006
@@ -18,6 +18,9 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.mco.McoInvocationException');
+// Auto-added---o.k.?
+Xap.require("xap.util.XapException");
+
/**
Modified: incubator/xap/trunk/src/xap/mco/McoInvocationExceptionRes.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/mco/McoInvocationExceptionRes.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/mco/McoInvocationExceptionRes.js (original)
+++ incubator/xap/trunk/src/xap/mco/McoInvocationExceptionRes.js Sun Aug 6 13:27:07 2006
@@ -17,6 +17,9 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.mco.McoInvocationExceptionRes');
+// Auto-added---o.k.?
+Xap.require("xap.mco.McoInvocationException");
+
xap.mco.McoInvocationExceptionRes = function() {
this.messages = new Object();
Modified: incubator/xap/trunk/src/xap/mco/McoNamespaceHandler.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/mco/McoNamespaceHandler.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/mco/McoNamespaceHandler.js (original)
+++ incubator/xap/trunk/src/xap/mco/McoNamespaceHandler.js Sun Aug 6 13:27:07 2006
@@ -16,6 +16,18 @@
*/
Xap.provide("xap.mco.McoNamespaceHandler") ;
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.XapElement");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.NamespaceHandler");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.InvalidXmlException");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.DocumentContainer");
+
/**
* @fileoverview The handler for the mco namespace.
@@ -110,3 +122,15 @@
}
//Let Dojo know what to expect from this file:
Xap.provide('xap.mco.McoNamespaceHandler');
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.XapElement");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.NamespaceHandler");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.InvalidXmlException");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.DocumentContainer");
+
Modified: incubator/xap/trunk/src/xap/requestservice/HttpRequest.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/requestservice/HttpRequest.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/requestservice/HttpRequest.js (original)
+++ incubator/xap/trunk/src/xap/requestservice/HttpRequest.js Sun Aug 6 13:27:07 2006
@@ -65,4 +65,4 @@
xap.requestservice.HttpRequest.prototype.getUri = function() {
return this._url;
-}
\ No newline at end of file
+}
Modified: incubator/xap/trunk/src/xap/requestservice/NetServiceListener.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/requestservice/NetServiceListener.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/requestservice/NetServiceListener.js (original)
+++ incubator/xap/trunk/src/xap/requestservice/NetServiceListener.js Sun Aug 6 13:27:07 2006
@@ -17,6 +17,9 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.requestservice.NetServiceListener');
+// Auto-added---o.k.?
+Xap.require("xap.requestservice.RequestService");
+
/**
Modified: incubator/xap/trunk/src/xap/session/ClientSession.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/session/ClientSession.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/session/ClientSession.js (original)
+++ incubator/xap/trunk/src/xap/session/ClientSession.js Sun Aug 6 13:27:07 2006
@@ -18,6 +18,51 @@
Xap.require("xap.xml.sax.SaxContentHandler") ;
Xap.require("xap.xml.sax.SaxParser") ;
Xap.provide( "xap.session.ClientSession" ) ;
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.Document");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.NamespaceHandlerManager");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.DocumentContainer");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.XapException");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.Profiler");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.LogFactory");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.Hashtable");
+
+// Auto-added---o.k.?
+Xap.require("xap.taghandling.PluginRegistryImpl");
+
+// Auto-added---o.k.?
+Xap.require("xap.taghandling.PluginDocumentHandler");
+
+// Auto-added---o.k.?
+Xap.require("xap.taghandling.AbstractTagImpl");
+
+// Auto-added---o.k.?
+Xap.require("xap.session.EventHandler");
+
+// Auto-added---o.k.?
+Xap.require("xap.session.DeclarativeArgumentParser");
+
+// Auto-added---o.k.?
+Xap.require("xap.session.Container");
+
+// Auto-added---o.k.?
+Xap.require("xap.session.ClientEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.requestservice.RequestService");
+
/**
* xap.session.ClientSession is the entry point for most client-side functionality.
@@ -270,3 +315,48 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.session.ClientSession');
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.Document");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.NamespaceHandlerManager");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.DocumentContainer");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.XapException");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.Profiler");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.LogFactory");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.Hashtable");
+
+// Auto-added---o.k.?
+Xap.require("xap.taghandling.PluginRegistryImpl");
+
+// Auto-added---o.k.?
+Xap.require("xap.taghandling.PluginDocumentHandler");
+
+// Auto-added---o.k.?
+Xap.require("xap.taghandling.AbstractTagImpl");
+
+// Auto-added---o.k.?
+Xap.require("xap.session.EventHandler");
+
+// Auto-added---o.k.?
+Xap.require("xap.session.DeclarativeArgumentParser");
+
+// Auto-added---o.k.?
+Xap.require("xap.session.Container");
+
+// Auto-added---o.k.?
+Xap.require("xap.session.ClientEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.requestservice.RequestService");
+
Modified: incubator/xap/trunk/src/xap/session/Container.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/session/Container.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/session/Container.js (original)
+++ incubator/xap/trunk/src/xap/session/Container.js Sun Aug 6 13:27:07 2006
@@ -18,12 +18,18 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.session.Container');
+// Auto-added---o.k.?
+Xap.require("xap.util.Hashtable");
+
//TODO move packages? MCO as a concept needs to be clarified
/**
* @fileoverview A repository that stores objects by name and provides
+// Auto-added---o.k.?
+Xap.require("xap.util.Hashtable");
+
* notification events when objects are added and removed.
*
* @author jmargaris
@@ -34,6 +40,9 @@
* Creates a new xap.session.Container instance.
*
* @class xap.session.Container is a repository that stores objects by name and provides
+// Auto-added---o.k.?
+Xap.require("xap.util.Hashtable");
+
* notification events when objects are added and removed.
*
*/
Modified: incubator/xap/trunk/src/xap/session/DeclarativeArgumentParser.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/session/DeclarativeArgumentParser.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/session/DeclarativeArgumentParser.js (original)
+++ incubator/xap/trunk/src/xap/session/DeclarativeArgumentParser.js Sun Aug 6 13:27:07 2006
@@ -27,6 +27,15 @@
//TODO what package does this belong in?
Xap.provide( "xap.session.DeclarativeArgumentParser" ) ;
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.XapElement");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.Exception");
+
+// Auto-added---o.k.?
+Xap.require("xap.session.ClientEvent");
+
Xap.require("xap.util.Character");
/**
@@ -577,3 +586,12 @@
ParseResult.COMMA_ENCOUNTERED = 3;
//Let Dojo know what to expect from this file:
Xap.provide('xap.session.DeclarativeArgumentParser');
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.XapElement");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.Exception");
+
+// Auto-added---o.k.?
+Xap.require("xap.session.ClientEvent");
+
Modified: incubator/xap/trunk/src/xap/taghandling/AbstractTagImpl.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/taghandling/AbstractTagImpl.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/taghandling/AbstractTagImpl.js (original)
+++ incubator/xap/trunk/src/xap/taghandling/AbstractTagImpl.js Sun Aug 6 13:27:07 2006
@@ -17,6 +17,15 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.taghandling.AbstractTagImpl');
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.AttributeChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.session.ClientEvent");
+
//TODO we need to handle qualifying URLs properly based on the request page again
@@ -58,9 +67,27 @@
* UI document that fragment may have a number of descendents. Those descendents
* do <b>not</b> automatically go through the same process. However,
* this class provides parseInitialChildren() to mimic recursive parsing of the children.
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.AttributeChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.session.ClientEvent");
+
* Similarly, an Element can be added to the UI document with attributes already in place.
* Those initial attributes will not create attributeChange events. However, this
* class provides parseInitialAttributes() to help processing in that case.
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.AttributeChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.session.ClientEvent");
+
*
* <br><br>
* To respond correctly to dynamic changes in the document, a tag handler
@@ -112,6 +139,15 @@
/**
* Subclasses should override this method to provide proper initialization
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.AttributeChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.session.ClientEvent");
+
* behavior. This is the final call in the tag-handler creation process.
*/
xap.taghandling.AbstractTagImpl.prototype.init = function() {}
@@ -144,6 +180,15 @@
/**
* This method is provided for convenience to deal with elements
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.AttributeChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.session.ClientEvent");
+
* that start with a number of attributes when they are added to the
* document. This method will run through all the initial attributes
* and construct an AttributeChangeEvent for each attribute, then
@@ -187,6 +232,15 @@
/**
* This method is provided for convenience to deal with elements
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.AttributeChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.session.ClientEvent");
+
* that start with a number of children when they are added to the
* document. For each initial child, this method will call
* UiContentHandler.parseChild() on that child element, which initiates
Modified: incubator/xap/trunk/src/xap/taghandling/PluginDocumentHandler.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/taghandling/PluginDocumentHandler.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/taghandling/PluginDocumentHandler.js (original)
+++ incubator/xap/trunk/src/xap/taghandling/PluginDocumentHandler.js Sun Aug 6 13:27:07 2006
@@ -15,6 +15,27 @@
*
*/
Xap.provide( "xap.taghandling.PluginDocumentHandler" ) ;
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeListener");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.Document");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.Hashtable");
+
+// Auto-added---o.k.?
+Xap.require("xap.taghandling.AbstractTagImpl");
+
+// Auto-added---o.k.?
+Xap.require("xap.session.ClientSession");
+
+// Auto-added---o.k.?
+Xap.require("xap.bridges.zimbra.DwtButtonBridge");
+
Xap.require("google.*");
/**
@@ -185,6 +206,27 @@
//DwtButtonBridge.
//TODO remove this attempt once we convert all the bridge
//classes over to use provide/require and fully scoped
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeListener");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.Document");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.Hashtable");
+
+// Auto-added---o.k.?
+Xap.require("xap.taghandling.AbstractTagImpl");
+
+// Auto-added---o.k.?
+Xap.require("xap.session.ClientSession");
+
+// Auto-added---o.k.?
+Xap.require("xap.bridges.zimbra.DwtButtonBridge");
+
//constructors/classes
try{
var lastPeriod = bridgeClass.lastIndexOf(".");
@@ -302,3 +344,24 @@
}
//Let Dojo know what to expect from this file:
Xap.provide('xap.taghandling.PluginDocumentHandler');
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeListener");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.Document");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.Hashtable");
+
+// Auto-added---o.k.?
+Xap.require("xap.taghandling.AbstractTagImpl");
+
+// Auto-added---o.k.?
+Xap.require("xap.session.ClientSession");
+
+// Auto-added---o.k.?
+Xap.require("xap.bridges.zimbra.DwtButtonBridge");
+
Modified: incubator/xap/trunk/src/xap/taghandling/PluginRegistry.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/taghandling/PluginRegistry.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/taghandling/PluginRegistry.js (original)
+++ incubator/xap/trunk/src/xap/taghandling/PluginRegistry.js Sun Aug 6 13:27:07 2006
@@ -23,6 +23,44 @@
* @author jmargaris
*/
+
+Xap.provide("xap.taghandling.PluginRegistry") ;
+// Auto-added---o.k.?
+Xap.require("xap.bridges.basic.TextViewBridge");
+// Auto-added---o.k.?
+Xap.require("xap.bridges.google.GoogleIconBridge");
+// Auto-added---o.k.?
+Xap.require("xap.bridges.google.GoogleIconsBridge");
+// Auto-added---o.k.?
+Xap.require("xap.bridges.google.GoogleInfoWindowBridge");
+// Auto-added---o.k.?
+Xap.require("xap.bridges.google.GoogleMapBridge");
+// Auto-added---o.k.?
+Xap.require("xap.bridges.google.GoogleMarkerBridge");
+// Auto-added---o.k.?
+Xap.require("xap.bridges.google.GoogleMarkersBridge");
+// Auto-added---o.k.?
+Xap.require("xap.bridges.zimbra.DwtButtonBridge");
+// Auto-added---o.k.?
+Xap.require("xap.bridges.zimbra.DwtCompositeBridge");
+// Auto-added---o.k.?
+Xap.require("xap.bridges.zimbra.DwtLabelBridge");
+// Auto-added---o.k.?
+Xap.require("xap.bridges.zimbra.DwtTabBridge");
+// Auto-added---o.k.?
+Xap.require("xap.bridges.zimbra.DwtTabViewBridge");
+// Auto-added---o.k.?
+Xap.require("xap.bridges.zimbra.DwtTextFieldBridge");
+// Auto-added---o.k.?
+Xap.require("xap.bridges.zimbra.DwtTreeBridge");
+// Auto-added---o.k.?
+Xap.require("xap.bridges.zimbra.DwtTreeItemBridge");
+// Auto-added---o.k.?
+Xap.require("xap.util.Hashtable");
+// Auto-added---o.k.?
+Xap.require("xap.util.LogFactory");
+
+
/**
* Creates a new xap.taghandling.PluginRegistry.
*
@@ -34,9 +72,6 @@
* the tag appears in. TODO
*
*/
-
-Xap.provide("xap.taghandling.PluginRegistry") ;
-
xap.taghandling.PluginRegistry = function() {
this._tagToBridgeClassName = new xap.util.Hashtable();
@@ -78,3 +113,4 @@
xap.taghandling.PluginRegistry.prototype.getTagMapping = function( tagName, nameSpace, documentName ) {
return this._tagToBridgeClassName.get( tagName );
}
+
Modified: incubator/xap/trunk/src/xap/taghandling/PluginRegistryImpl.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/taghandling/PluginRegistryImpl.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/taghandling/PluginRegistryImpl.js (original)
+++ incubator/xap/trunk/src/xap/taghandling/PluginRegistryImpl.js Sun Aug 6 13:27:07 2006
@@ -16,6 +16,18 @@
*/
Xap.provide( "xap.taghandling.PluginRegistryImpl" ) ;
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.XapElement");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.DocumentContainer");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.Hashtable");
+
+// Auto-added---o.k.?
+Xap.require("xap.taghandling.PluginRegistry");
+
Xap.require("google.xpath");
Xap.require("xap.xml.sax.SaxContentHandler") ;
Xap.require("xap.xml.sax.SaxParser") ;
@@ -254,3 +266,15 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.taghandling.PluginRegistryImpl');
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.XapElement");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.DocumentContainer");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.Hashtable");
+
+// Auto-added---o.k.?
+Xap.require("xap.taghandling.PluginRegistry");
+
Modified: incubator/xap/trunk/src/xap/util/ArrayHelper.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/util/ArrayHelper.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/util/ArrayHelper.js (original)
+++ incubator/xap/trunk/src/xap/util/ArrayHelper.js Sun Aug 6 13:27:07 2006
@@ -94,4 +94,4 @@
array.push( newElements[i] ) ;
}
return array ;
-}
\ No newline at end of file
+}
Modified: incubator/xap/trunk/src/xap/util/Exception.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/util/Exception.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/util/Exception.js (original)
+++ incubator/xap/trunk/src/xap/util/Exception.js Sun Aug 6 13:27:07 2006
@@ -58,4 +58,4 @@
buf += "\nCause:" + this._cause.toString();
}
return buf;
-}
\ No newline at end of file
+}
Modified: incubator/xap/trunk/src/xap/util/LogFactory.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/util/LogFactory.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/util/LogFactory.js (original)
+++ incubator/xap/trunk/src/xap/util/LogFactory.js Sun Aug 6 13:27:07 2006
@@ -163,4 +163,4 @@
var buff = "[" + id + " - " + new Date() + " (" + this._name +
"): " + message + "]";
return buff;
-}
\ No newline at end of file
+}
Modified: incubator/xap/trunk/src/xap/util/ObjectHierarchyAnalyzer.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/util/ObjectHierarchyAnalyzer.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/util/ObjectHierarchyAnalyzer.js (original)
+++ incubator/xap/trunk/src/xap/util/ObjectHierarchyAnalyzer.js Sun Aug 6 13:27:07 2006
@@ -17,6 +17,9 @@
Xap.provide("xap.util.ObjectHierarchyAnalyzer") ;
+// Auto-added---o.k.?
+Xap.require("xap.requestservice.RequestService");
+
xap.util.ObjectHierarchyAnalyzer = function () {}
Modified: incubator/xap/trunk/src/xap/util/Profiler.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/util/Profiler.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/util/Profiler.js (original)
+++ incubator/xap/trunk/src/xap/util/Profiler.js Sun Aug 6 13:27:07 2006
@@ -15,6 +15,9 @@
*
*/
Xap.provide( "xap.util.Profiler" ) ;
+// Auto-added---o.k.?
+Xap.require("xap.util.Hashtable");
+
xap.util.Profiler = function (){}
@@ -48,3 +51,6 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.util.Profiler');
+// Auto-added---o.k.?
+Xap.require("xap.util.Hashtable");
+
Modified: incubator/xap/trunk/src/xap/util/ResourceDictionary.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/util/ResourceDictionary.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/util/ResourceDictionary.js (original)
+++ incubator/xap/trunk/src/xap/util/ResourceDictionary.js Sun Aug 6 13:27:07 2006
@@ -15,6 +15,9 @@
*
*/
Xap.provide( "xap.util.ResourceDictionary" ) ;
+// Auto-added---o.k.?
+Xap.require("xap.util.Hashtable");
+
@@ -62,3 +65,6 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.util.ResourceDictionary');
+// Auto-added---o.k.?
+Xap.require("xap.util.Hashtable");
+
Modified: incubator/xap/trunk/src/xap/util/XapException.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/util/XapException.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/util/XapException.js (original)
+++ incubator/xap/trunk/src/xap/util/XapException.js Sun Aug 6 13:27:07 2006
@@ -17,6 +17,12 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.util.XapException');
+// Auto-added---o.k.?
+Xap.require("xap.util.ResourceDictionary");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.Exception");
+
Xap.require('xap.util.XapExceptionRes');
Modified: incubator/xap/trunk/src/xap/xml/DocumentContainer.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/DocumentContainer.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/DocumentContainer.js (original)
+++ incubator/xap/trunk/src/xap/xml/DocumentContainer.js Sun Aug 6 13:27:07 2006
@@ -18,6 +18,15 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.xml.DocumentContainer');
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.Document");
+
+// Auto-added---o.k.?
+Xap.require("xap.session.Container");
+
+// Auto-added---o.k.?
+Xap.require("xap.session.ClientSession");
+
/**
* @fileoverview A xap.session.Container that holds xml documents.
Modified: incubator/xap/trunk/src/xap/xml/InvalidXmlException.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/InvalidXmlException.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/InvalidXmlException.js (original)
+++ incubator/xap/trunk/src/xap/xml/InvalidXmlException.js Sun Aug 6 13:27:07 2006
@@ -17,6 +17,18 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.xml.InvalidXmlException');
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeListener");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.AttributeChangeListener");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.Document");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.XapException");
+
/**
Modified: incubator/xap/trunk/src/xap/xml/InvalidXmlExceptionRes.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/InvalidXmlExceptionRes.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/InvalidXmlExceptionRes.js (original)
+++ incubator/xap/trunk/src/xap/xml/InvalidXmlExceptionRes.js Sun Aug 6 13:27:07 2006
@@ -17,6 +17,9 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.xml.InvalidXmlExceptionRes');
+// Auto-added---o.k.?
+Xap.require("xap.xml.InvalidXmlException");
+
/**
* @fileoverview The resource file for xap.xml.InvalidXmlException.js
Modified: incubator/xap/trunk/src/xap/xml/NamespaceHandler.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/NamespaceHandler.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/NamespaceHandler.js (original)
+++ incubator/xap/trunk/src/xap/xml/NamespaceHandler.js Sun Aug 6 13:27:07 2006
@@ -16,6 +16,15 @@
*/
//Let Dojo know what to expect from this file:
Xap.provide('xap.xml.NamespaceHandler');
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.XapElement");
+
+// Auto-added---o.k.?
+Xap.require("xap.session.ClientSession");
+
+// Auto-added---o.k.?
+Xap.require("xap.requestservice.RequestService");
+
/**
* @fileoverview The base class for all xap.xml.NamespaceHandlers that handle
Modified: incubator/xap/trunk/src/xap/xml/NamespaceHandlerManager.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/NamespaceHandlerManager.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/NamespaceHandlerManager.js (original)
+++ incubator/xap/trunk/src/xap/xml/NamespaceHandlerManager.js Sun Aug 6 13:27:07 2006
@@ -15,6 +15,33 @@
*
*/
Xap.provide( "xap.xml.NamespaceHandlerManager" ) ;
+// Auto-added---o.k.?
+Xap.require("xap.xml.xmodify.XmodifyNamespaceHandler");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.sax.ParserException");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.XalNamespaceHandler");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.NamespaceHandler");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.Hashtable");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.Exception");
+
+// Auto-added---o.k.?
+Xap.require("xap.session.ClientSession");
+
+// Auto-added---o.k.?
+Xap.require("xap.mco.McoNamespaceHandler");
+
+// Auto-added---o.k.?
+Xap.require("xap.macro.MacroNamespaceHandler");
+
@@ -130,3 +157,30 @@
}
//Let Dojo know what to expect from this file:
Xap.provide('xap.xml.NamespaceHandlerManager');
+// Auto-added---o.k.?
+Xap.require("xap.xml.xmodify.XmodifyNamespaceHandler");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.sax.ParserException");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.XalNamespaceHandler");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.NamespaceHandler");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.Hashtable");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.Exception");
+
+// Auto-added---o.k.?
+Xap.require("xap.session.ClientSession");
+
+// Auto-added---o.k.?
+Xap.require("xap.mco.McoNamespaceHandler");
+
+// Auto-added---o.k.?
+Xap.require("xap.macro.MacroNamespaceHandler");
+
Modified: incubator/xap/trunk/src/xap/xml/XalNamespaceHandler.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/XalNamespaceHandler.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/XalNamespaceHandler.js (original)
+++ incubator/xap/trunk/src/xap/xml/XalNamespaceHandler.js Sun Aug 6 13:27:07 2006
@@ -16,6 +16,9 @@
*/
Xap.provide( "xap.xml.XalNamespaceHandler" ) ;
+// Auto-added---o.k.?
+Xap.require("xap.xml.NamespaceHandler");
+
/**
@@ -79,3 +82,6 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.xml.XalNamespaceHandler');
+// Auto-added---o.k.?
+Xap.require("xap.xml.NamespaceHandler");
+
Modified: incubator/xap/trunk/src/xap/xml/dom/Document.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/dom/Document.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/dom/Document.js (original)
+++ incubator/xap/trunk/src/xap/xml/dom/Document.js Sun Aug 6 13:27:07 2006
@@ -17,6 +17,24 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.xml.dom.Document');
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeListener");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.AttributeChangeListener");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.XapElement");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.InvalidXmlException");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.UidProvider");
+
Xap.require("google.dom");
Xap.require("xap.util.ArrayHelper");
@@ -24,6 +42,24 @@
/**
* @fileoverview The xap.xml.dom.Document object represents an entire XML document.
* Conceptually, it is the root of the document tree, and provides the
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeListener");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.AttributeChangeListener");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.XapElement");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.InvalidXmlException");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.UidProvider");
+
* primary access to the document's data.
*
* @author ikaplansky
@@ -37,6 +73,24 @@
* @extends google.XDocument
* @class The xap.xml.dom.Document object represents an entire XML document. Conceptually, it
* is the root of the document tree, and provides the primary access to the
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeListener");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.AttributeChangeListener");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.XapElement");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.InvalidXmlException");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.UidProvider");
+
* document's data.
*
* <br><br>
@@ -53,6 +107,24 @@
*
* The xap.xml.dom.Document has a map of id to Element for every Element. Therefore
* it is able to provide efficient hash based element lookup by id.
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeListener");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.AttributeChangeListener");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.XapElement");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.InvalidXmlException");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.UidProvider");
+
*
* @constructor
* @param rootElement The root Element for the newly created document.
Modified: incubator/xap/trunk/src/xap/xml/dom/XapElement.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/dom/XapElement.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/dom/XapElement.js (original)
+++ incubator/xap/trunk/src/xap/xml/dom/XapElement.js Sun Aug 6 13:27:07 2006
@@ -16,6 +16,33 @@
*/
Xap.provide( "xap.xml.dom.XapElement" ) ;
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeListener");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.ChangeRejectedException");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.AttributeChangeListener");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.AttributeChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.Document");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.XmlUtils");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.UidProvider");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.ResourceDictionary");
+
Xap.require("google.dom");
@@ -159,6 +186,33 @@
/**
* Creates a unique i.d., using a provider class.
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeListener");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.ChangeRejectedException");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.AttributeChangeListener");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.AttributeChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.Document");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.XmlUtils");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.UidProvider");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.ResourceDictionary");
+
* @return a unique i.d.
* @private
**/
@@ -1005,6 +1059,33 @@
// elements for use in XUpdate we need a common scheme for
// generating IDs between the client and the server. So when
// Xupdate clones an element it will provide the parser that
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeListener");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.ChangeRejectedException");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.AttributeChangeListener");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.AttributeChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.Document");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.XmlUtils");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.UidProvider");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.ResourceDictionary");
+
// originally parsed the XUpdate document, so that we can use
// its logic to synchronize the ID generation between client
// and server.
@@ -1069,3 +1150,30 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.xml.dom.XapElement');
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeListener");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.ChangeRejectedException");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.AttributeChangeListener");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.AttributeChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.Document");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.XmlUtils");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.UidProvider");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.ResourceDictionary");
+
Modified: incubator/xap/trunk/src/xap/xml/dom/XapElementRes.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/dom/XapElementRes.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/dom/XapElementRes.js (original)
+++ incubator/xap/trunk/src/xap/xml/dom/XapElementRes.js Sun Aug 6 13:27:07 2006
@@ -21,6 +21,9 @@
*/
Xap.provide("xap.xml.dom.XapElementRes") ;
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.XapElement");
+
xap.xml.dom.XapElementRes = function() {
this.messages = new Object();
Modified: incubator/xap/trunk/src/xap/xml/dom/events/AttributeChangeEvent.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/dom/events/AttributeChangeEvent.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/dom/events/AttributeChangeEvent.js (original)
+++ incubator/xap/trunk/src/xap/xml/dom/events/AttributeChangeEvent.js Sun Aug 6 13:27:07 2006
@@ -17,6 +17,12 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.xml.dom.events.AttributeChangeEvent');
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.DomChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.AttributeChangeListener");
+
/**
* @fileoverview Event object that encapsulates attribute changes.
Modified: incubator/xap/trunk/src/xap/xml/dom/events/AttributeChangeListener.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/dom/events/AttributeChangeListener.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/dom/events/AttributeChangeListener.js (original)
+++ incubator/xap/trunk/src/xap/xml/dom/events/AttributeChangeListener.js Sun Aug 6 13:27:07 2006
@@ -17,6 +17,18 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.xml.dom.events.AttributeChangeListener');
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.ChangeRejectedException");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.AttributeChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.XapElement");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.Document");
+
/**
* @fileoverview A listener that is notified of XML attribute changes.
@@ -62,6 +74,18 @@
* @param event The xap.xml.dom.events.AttributeChangeEvent representing the change.
* @exception xap.xml.dom.events.ChangeRejectedException Implementors may throw this
* if they wish to provide a reason that they rejected the change
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.ChangeRejectedException");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.AttributeChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.XapElement");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.Document");
+
* in the exception message.
*/
xap.xml.dom.events.AttributeChangeListener.prototype.beforeAttributeSet = function( event ) {}
Modified: incubator/xap/trunk/src/xap/xml/dom/events/ChangeRejectedException.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/dom/events/ChangeRejectedException.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/dom/events/ChangeRejectedException.js (original)
+++ incubator/xap/trunk/src/xap/xml/dom/events/ChangeRejectedException.js Sun Aug 6 13:27:07 2006
@@ -17,6 +17,21 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.xml.dom.events.ChangeRejectedException');
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeListener");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.DomChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.AttributeChangeListener");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.Document");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.XapException");
+
/**
* @fileoverview An exception indicating a DOM attribute or structure
Modified: incubator/xap/trunk/src/xap/xml/dom/events/ChangeRejectedExceptionRes.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/dom/events/ChangeRejectedExceptionRes.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/dom/events/ChangeRejectedExceptionRes.js (original)
+++ incubator/xap/trunk/src/xap/xml/dom/events/ChangeRejectedExceptionRes.js Sun Aug 6 13:27:07 2006
@@ -23,6 +23,11 @@
*/
Xap.provide("xap.xml.dom.events.ChangeRejectedExceptionRes") ;
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeListeners");
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.ChangeRejectedException");
+
xap.xml.dom.events.ChangeRejectedExceptionRes = function() {
this.messages = new Object();
Modified: incubator/xap/trunk/src/xap/xml/dom/events/DocumentOwnershipListener.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/dom/events/DocumentOwnershipListener.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/dom/events/DocumentOwnershipListener.js (original)
+++ incubator/xap/trunk/src/xap/xml/dom/events/DocumentOwnershipListener.js Sun Aug 6 13:27:07 2006
@@ -20,6 +20,10 @@
*
* @author jmargaris
*/
+Xap.provide("xap.xml.dom.DocumentOwnershipListener") ;
+Xap.require("xap.xml.dom.Document");
+
+
/**
* xap.xml.dom.DocumentOwnershipListener should not be instantiated directly.
@@ -30,9 +34,6 @@
* extend this object or implement that same method names.
*
*/
-
-Xap.provide("xap.xml.dom.DocumentOwnershipListener") ;
-
xap.xml.dom.DocumentOwnershipListener = function() {}
Modified: incubator/xap/trunk/src/xap/xml/dom/events/DomChangeEvent.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/dom/events/DomChangeEvent.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/dom/events/DomChangeEvent.js (original)
+++ incubator/xap/trunk/src/xap/xml/dom/events/DomChangeEvent.js Sun Aug 6 13:27:07 2006
@@ -17,6 +17,15 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.xml.dom.events.DomChangeEvent');
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.XapElement");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.Document");
+
/* @fileoverview xap.xml.dom.events.DomChangeEvent is the base class for {@link xap.xml.dom.events.AttributeChangeEvent}
* and {@link xap.xml.dom.events.StructureChangeEvent}.
Modified: incubator/xap/trunk/src/xap/xml/dom/events/StructureChangeEvent.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/dom/events/StructureChangeEvent.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/dom/events/StructureChangeEvent.js (original)
+++ incubator/xap/trunk/src/xap/xml/dom/events/StructureChangeEvent.js Sun Aug 6 13:27:07 2006
@@ -14,13 +14,26 @@
* limitations under the License.
*
*/
-
-Xap.require("google.dom");
+
/* @fileoverview xap.xml.dom.events.StructureChangeEvent objects are passed to the methods of the
* {@link xap.xml.dom.events.StructureChangeListener} class when changes in xap.xml.dom.Document
* structure occur.
*/
+
+//Let Dojo know what to expect from this file:
+Xap.provide("xap.xml.dom.events.StructureChangeEvent");
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.Document");
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.XapElement");
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.DomChangeEvent");
+
+Xap.require("google.dom");
+
+
+
/**
* Creates a new xap.xml.dom.events.StructureChangeEvent
*
@@ -145,5 +158,4 @@
this._change = newChange;
}
-//Let Dojo know what to expect from this file:
-Xap.provide('xap.xml.dom.events.StructureChangeEvent');
+
Modified: incubator/xap/trunk/src/xap/xml/dom/events/StructureChangeListener.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/dom/events/StructureChangeListener.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/dom/events/StructureChangeListener.js (original)
+++ incubator/xap/trunk/src/xap/xml/dom/events/StructureChangeListener.js Sun Aug 6 13:27:07 2006
@@ -17,6 +17,18 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.xml.dom.events.StructureChangeListener');
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.StructureChangeEvent");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.ChangeRejectedException");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.XapElement");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.Document");
+
/**
* @fileoverview A listener that is notified of XML structure changes.
Modified: incubator/xap/trunk/src/xap/xml/sax/EmptyDocumentException.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/sax/EmptyDocumentException.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/sax/EmptyDocumentException.js (original)
+++ incubator/xap/trunk/src/xap/xml/sax/EmptyDocumentException.js Sun Aug 6 13:27:07 2006
@@ -18,6 +18,9 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.xml.sax.EmptyDocumentException');
+// Auto-added---o.k.?
+Xap.require("xap.xml.sax.ParserException");
+
/**
Modified: incubator/xap/trunk/src/xap/xml/sax/EmptyDocumentExceptionRes.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/sax/EmptyDocumentExceptionRes.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/sax/EmptyDocumentExceptionRes.js (original)
+++ incubator/xap/trunk/src/xap/xml/sax/EmptyDocumentExceptionRes.js Sun Aug 6 13:27:07 2006
@@ -18,6 +18,9 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.xml.sax.EmptyDocumentExceptionRes');
+// Auto-added---o.k.?
+Xap.require("xap.xml.sax.EmptyDocumentException");
+
/**
* @fileoverview A resource file for the xap.xml.sax.EmptyDocumentException.js.
Modified: incubator/xap/trunk/src/xap/xml/sax/ParserException.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/sax/ParserException.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/sax/ParserException.js (original)
+++ incubator/xap/trunk/src/xap/xml/sax/ParserException.js Sun Aug 6 13:27:07 2006
@@ -17,6 +17,9 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.xml.sax.ParserException');
+// Auto-added---o.k.?
+Xap.require("xap.util.XapException");
+
/**
* @fileoverview An exception thrown during parsing.
Modified: incubator/xap/trunk/src/xap/xml/sax/ParserExceptionRes.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/sax/ParserExceptionRes.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/sax/ParserExceptionRes.js (original)
+++ incubator/xap/trunk/src/xap/xml/sax/ParserExceptionRes.js Sun Aug 6 13:27:07 2006
@@ -17,6 +17,12 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.xml.sax.ParserExceptionRes');
+// Auto-added---o.k.?
+Xap.require("xap.xml.sax.ParserException");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.events.ChangeRejectedException");
+
/**
* @fileoverview A resource file for the xap.xml.sax.ParserException.js.
Modified: incubator/xap/trunk/src/xap/xml/sax/SaxContentHandler.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/sax/SaxContentHandler.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/sax/SaxContentHandler.js (original)
+++ incubator/xap/trunk/src/xap/xml/sax/SaxContentHandler.js Sun Aug 6 13:27:07 2006
@@ -16,7 +16,19 @@
*/
Xap.provide("xap.xml.sax.SaxContentHandler") ;
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.Document");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.Hashtable");
+
Xap.provide("xap.xml.sax.SaxContentHandler.NamespaceStackFrame ") ;
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.Document");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.Hashtable");
+
Xap.require("xap.util.Character") ;
Modified: incubator/xap/trunk/src/xap/xml/sax/SaxParser.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/sax/SaxParser.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/sax/SaxParser.js (original)
+++ incubator/xap/trunk/src/xap/xml/sax/SaxParser.js Sun Aug 6 13:27:07 2006
@@ -16,6 +16,18 @@
*/
Xap.provide("xap.xml.sax.SaxParser")
+// Auto-added---o.k.?
+Xap.require("xap.xml.sax.ParserException");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.sax.EmptyDocumentException");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.Hashtable");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.Character");
+
Xap.require("xap.util.*");
Xap.require("xap.xml.sax.SaxContentHandler") ;
@@ -731,3 +743,15 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.xml.sax.SaxParser');
+// Auto-added---o.k.?
+Xap.require("xap.xml.sax.ParserException");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.sax.EmptyDocumentException");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.Hashtable");
+
+// Auto-added---o.k.?
+Xap.require("xap.util.Character");
+
Modified: incubator/xap/trunk/src/xap/xml/xmodify/CommandDirective.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/xmodify/CommandDirective.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/xmodify/CommandDirective.js (original)
+++ incubator/xap/trunk/src/xap/xml/xmodify/CommandDirective.js Sun Aug 6 13:27:07 2006
@@ -15,6 +15,18 @@
*
*/
Xap.provide("xap.xml.xmodify.CommandDirective") ;
+// Auto-added---o.k.?
+Xap.require("xap.xml.xmodify.XmodifyException");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.xmodify.Xmodify");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.xmodify.UpdateDirective");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.dom.Document");
+
Xap.require("google.dom");
@@ -840,25 +852,25 @@
+ this.formatDocument(parent)
) ;
} else if (this._bHtmlDocument){
- xap.xml.xmodify.Xmodify.s_log.debug(
- "Pre insertion of " + this.formatDocument(newChild)+"\nbefore\n"
- + this.formatDocument(oldChild)
- + this.formatDocument(parent)
- ) ;
+ xap.xml.xmodify.Xmodify.s_log.debug(
+ "Pre insertion of " + this.formatDocument(newChild)+"\nbefore\n"
+ + this.formatDocument(oldChild)
+ + this.formatDocument(parent)
+ ) ;
try {
- parent.insertBefore(
- this.makeNodeHTML(newChild),
- oldChild
+ parent.insertBefore(
+ this.makeNodeHTML(newChild),
+ oldChild
);
-
- // alert("parent.insertBefore(after");
- } catch (insertionException){
- throw new xap.xml.xmodify.XmodifyException(xap.xml.xmodify.XmodifyException.CANNOT_REPLACE__INSERTION,newChild.nodeName,""+insertionException);
- }
- xap.xml.xmodify.Xmodify.s_log.debug(
- "Post insertion of " + this.formatDocument(newChild) +"\nbefore\n"
- + this.formatDocument(oldChild)
- + this.formatDocument(parent)
+
+ // alert("parent.insertBefore(after");
+ } catch (insertionException){
+ throw new xap.xml.xmodify.XmodifyException(xap.xml.xmodify.XmodifyException.CANNOT_REPLACE__INSERTION,newChild.nodeName,""+insertionException);
+ }
+ xap.xml.xmodify.Xmodify.s_log.debug(
+ "Post insertion of " + this.formatDocument(newChild) +"\nbefore\n"
+ + this.formatDocument(oldChild)
+ + this.formatDocument(parent)
);
} else {
throw new xap.xml.xmodify.XmodifyException(xap.xml.xmodify.XmodifyException.CANNOT_REPLACE,oldChild.nodeName,newChild.nodeName,"unknown cause");
@@ -940,20 +952,20 @@
var htmlNode = document.createElement(node.getLocalName());
//copy over the attributes
- for( var i=0; i<node.attributes.length; i++ ) {
- var key = node.attributes[i].nodeName;
+ for( var i=0; i<node.attributes.length; i++ ) {
+ var key = node.attributes[i].nodeName;
var value = node.attributes[i].nodeValue;
htmlNode.setAttribute(key, value);
}
//clone the children.
- for ( var i = 0; i < node.childNodes.length; i++ ) {
+ for ( var i = 0; i < node.childNodes.length; i++ ) {
var child = node.childNodes[i];
- if( child.nodeType == google.DOM_TEXT_NODE && child.nodeValue) {
- htmlNode.appendChild(document.createTextNode(child.nodeValue));
+ if( child.nodeType == google.DOM_TEXT_NODE && child.nodeValue) {
+ htmlNode.appendChild(document.createTextNode(child.nodeValue));
}else{
htmlNode.appendChild(this.makeNodeHTML(child));
- }
+ }
}
//return the new html node
@@ -962,4 +974,4 @@
//End of xap.xml.xmodify.CommandDirective
-
\ No newline at end of file
+
\ No newline at end of file
Modified: incubator/xap/trunk/src/xap/xml/xmodify/DirectiveSet.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/xmodify/DirectiveSet.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/xmodify/DirectiveSet.js (original)
+++ incubator/xap/trunk/src/xap/xml/xmodify/DirectiveSet.js Sun Aug 6 13:27:07 2006
@@ -17,6 +17,9 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.xml.xmodify.DirectiveSet');
+// Auto-added---o.k.?
+Xap.require("xap.xml.xmodify.CommandDirective");
+
xap.xml.xmodify.DirectiveSet = function( modificationsElement ){
Modified: incubator/xap/trunk/src/xap/xml/xmodify/UpdateDirective.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/xmodify/UpdateDirective.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/xmodify/UpdateDirective.js (original)
+++ incubator/xap/trunk/src/xap/xml/xmodify/UpdateDirective.js Sun Aug 6 13:27:07 2006
@@ -17,6 +17,12 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.xml.xmodify.UpdateDirective');
+// Auto-added---o.k.?
+Xap.require("xap.xml.xmodify.XmodifyException");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.xmodify.CommandDirective");
+
Modified: incubator/xap/trunk/src/xap/xml/xmodify/Xmodify.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/xmodify/Xmodify.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/xmodify/Xmodify.js (original)
+++ incubator/xap/trunk/src/xap/xml/xmodify/Xmodify.js Sun Aug 6 13:27:07 2006
@@ -15,9 +15,15 @@
*
*/
Xap.provide( "xap.xml.xmodify.Xmodify" ) ;
+// Auto-added---o.k.?
+Xap.require("xap.xml.DocumentContainer");
+
/**
* XmlUpdate provides a mechanism for performing update operations on an
+// Auto-added---o.k.?
+Xap.require("xap.xml.DocumentContainer");
+
* XML document. To execute a set of updates on an XML document: <br>
*
* <ol>
Modified: incubator/xap/trunk/src/xap/xml/xmodify/XmodifyException.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/xmodify/XmodifyException.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/xmodify/XmodifyException.js (original)
+++ incubator/xap/trunk/src/xap/xml/xmodify/XmodifyException.js Sun Aug 6 13:27:07 2006
@@ -17,6 +17,9 @@
//Let Dojo know what to expect from this file:
Xap.provide('xap.xml.xmodify.XmodifyException');
+// Auto-added---o.k.?
+Xap.require("xap.xml.xmodify.Xmodify");
+
//TODO this entire class needs revamp, for the time being we will leave it as is
Modified: incubator/xap/trunk/src/xap/xml/xmodify/XmodifyNamespaceHandler.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/xmodify/XmodifyNamespaceHandler.js?rev=429193&r1=429192&r2=429193&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/xml/xmodify/XmodifyNamespaceHandler.js (original)
+++ incubator/xap/trunk/src/xap/xml/xmodify/XmodifyNamespaceHandler.js Sun Aug 6 13:27:07 2006
@@ -16,6 +16,15 @@
*/
//Let Dojo know what to expect from this file:
Xap.provide('xap.xml.xmodify.XmodifyNamespaceHandler');
+// Auto-added---o.k.?
+Xap.require("xap.xml.xmodify.Xmodify");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.NamespaceHandlerManager");
+
+// Auto-added---o.k.?
+Xap.require("xap.xml.NamespaceHandler");
+
/**