incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmarga...@apache.org
Subject svn commit: r419999 - in /incubator/xap/trunk/src/xap: bridges/basic/ bridges/dojo/ bridges/google/ bridges/zimbra/ taghandling/
Date Fri, 07 Jul 2006 22:04:26 GMT
Author: jmargaris
Date: Fri Jul  7 15:04:24 2006
New Revision: 419999

URL: http://svn.apache.org/viewvc?rev=419999&view=rev
Log:
cleaned up some use of provide/require etc

Modified:
    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/DojoContentPaneBridge.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/DojoLayoutContainerBridge.js
    incubator/xap/trunk/src/xap/bridges/dojo/DojoLayoutPaneBridge.js
    incubator/xap/trunk/src/xap/bridges/dojo/DojoSplitPaneBridge.js
    incubator/xap/trunk/src/xap/bridges/dojo/DojoWidgetBridge.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/GoogleInfoWindowBridge.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/DwtCompositeBridge.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/taghandling/PluginDocumentHandler.js
    incubator/xap/trunk/src/xap/taghandling/PluginRegistryImpl.js
    incubator/xap/trunk/src/xap/taghandling/plugin.xml

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=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/basic/TextViewBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/basic/TextViewBridge.js Fri Jul  7 15:04:24 2006
@@ -15,7 +15,7 @@
  *
  */
  
-
+Xap.provide("xap.bridges.basic.TextViewBridge"); 
 /**
  * @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=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/dojo/DojoButtonBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/dojo/DojoButtonBridge.js Fri Jul  7 15:04:24 2006
@@ -32,7 +32,8 @@
  * @author mturyn
  */
  
- Xap.require("xap.bridges.dojo.DojoWidgetBridge"); 
+Xap.provide("xap.bridges.dojo.DojoButtonBridge"); 
+Xap.require("xap.bridges.dojo.DojoWidgetBridge"); 
  
  /**
  * @fileoverview

Modified: incubator/xap/trunk/src/xap/bridges/dojo/DojoContentPaneBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/dojo/DojoContentPaneBridge.js?rev=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/dojo/DojoContentPaneBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/dojo/DojoContentPaneBridge.js Fri Jul  7 15:04:24
2006
@@ -34,6 +34,7 @@
  * @author mturyn
  */
  
+Xap.provide("xap.bridges.dojo.DojoContentPaneBridge"); 
 Xap.require("xap.bridges.dojo.DojoWidgetBridge"); 
  
   /**

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=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/dojo/DojoFloatingPaneBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/dojo/DojoFloatingPaneBridge.js Fri Jul  7 15:04:24
2006
@@ -32,6 +32,7 @@
  * @author mturyn
  */
  
+Xap.provide("xap.bridges.dojo.DojoFloatingPaneBridge"); 
 // Xap.require("xap.bridges.dojo.DojoWidgetBridge"); 
 // Xap.provides("xap.bridges.dojo.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=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/dojo/DojoGenericWidgetBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/dojo/DojoGenericWidgetBridge.js Fri Jul  7 15:04:24
2006
@@ -15,7 +15,7 @@
  *
  */
  
- Xap.provide("xap.bridges.dojo.DojoGenericWidgetBridge"); 
+Xap.provide("xap.bridges.dojo.DojoGenericWidgetBridge"); 
 
  
  /**

Modified: incubator/xap/trunk/src/xap/bridges/dojo/DojoLayoutContainerBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/dojo/DojoLayoutContainerBridge.js?rev=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/dojo/DojoLayoutContainerBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/dojo/DojoLayoutContainerBridge.js Fri Jul  7 15:04:24
2006
@@ -32,6 +32,7 @@
  * @author mturyn
  */
  
+Xap.provide("xap.bridges.dojo.DojoLayoutContainerBridge"); 
 // Xap.require("xap.bridges.dojo.DojoWidgetBridge"); 
 // Xap.provides("xap.bridges.dojo.DojoLayoutContainerBridge"); 
  

Modified: incubator/xap/trunk/src/xap/bridges/dojo/DojoLayoutPaneBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/dojo/DojoLayoutPaneBridge.js?rev=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/dojo/DojoLayoutPaneBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/dojo/DojoLayoutPaneBridge.js Fri Jul  7 15:04:24 2006
@@ -32,6 +32,7 @@
  * @author mturyn
  */
  
+Xap.provide("xap.bridges.dojo.DojoLayoutPaneBridge"); 
 // Xap.require("xap.bridges.dojo.DojoWidgetBridge"); 
 // Xap.provides("xap.bridges.dojo.DojoLayoutPaneBridge"); 
  

Modified: incubator/xap/trunk/src/xap/bridges/dojo/DojoSplitPaneBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/dojo/DojoSplitPaneBridge.js?rev=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/dojo/DojoSplitPaneBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/dojo/DojoSplitPaneBridge.js Fri Jul  7 15:04:24 2006
@@ -32,6 +32,7 @@
  * @author mturyn
  */
  
+Xap.provide("xap.bridges.dojo.DojoSplitPaneBridge"); 
  //Xap.require("xap.bridges.dojo.DojoPaneBridge");
 // Xap.require("dojo.widget.SplitPane"); 
  

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=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/dojo/DojoWidgetBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/dojo/DojoWidgetBridge.js Fri Jul  7 15:04:24 2006
@@ -15,7 +15,7 @@
  *
  */
  
- Xap.provide("xap.bridges.dojo.DojoWidgetBridge"); 
+Xap.provide("xap.bridges.dojo.DojoWidgetBridge"); 
  
  /**
  * @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=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/google/GoogleIconBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/google/GoogleIconBridge.js Fri Jul  7 15:04:24 2006
@@ -22,6 +22,7 @@
  */
 
 
+Xap.provide("xap.bridges.google.GoogleIconBridge"); 
 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=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/google/GoogleIconsBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/google/GoogleIconsBridge.js Fri Jul  7 15:04:24 2006
@@ -21,6 +21,7 @@
  * A bridge class that controls a Google object peer.
  */
 
+Xap.provide("xap.bridges.google.GoogleIconsBridge"); 
 Xap.require("xap.bridges.google.GoogleBridge"); 
 
 /**

Modified: incubator/xap/trunk/src/xap/bridges/google/GoogleInfoWindowBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/google/GoogleInfoWindowBridge.js?rev=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/google/GoogleInfoWindowBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/google/GoogleInfoWindowBridge.js Fri Jul  7 15:04:24
2006
@@ -15,6 +15,7 @@
  *
  */
 
+Xap.provide("xap.bridges.google.GoogleInfoWindowBridge"); 
 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=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/google/GoogleMapBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/google/GoogleMapBridge.js Fri Jul  7 15:04:24 2006
@@ -15,6 +15,7 @@
  *
  */
 
+Xap.provide("xap.bridges.google.GoogleMapBridge"); 
 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=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/google/GoogleMarkerBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/google/GoogleMarkerBridge.js Fri Jul  7 15:04:24 2006
@@ -15,6 +15,7 @@
  *
  */
 
+Xap.provide("xap.bridges.google.GoogleMarkerBridge"); 
 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=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/google/GoogleMarkersBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/google/GoogleMarkersBridge.js Fri Jul  7 15:04:24
2006
@@ -14,6 +14,8 @@
  *  limitations under the License.
  *
  */
+ 
+Xap.provide("xap.bridges.google.GoogleMarkersBridge"); 
 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=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/zimbra/DwtButtonBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/zimbra/DwtButtonBridge.js Fri Jul  7 15:04:24 2006
@@ -15,6 +15,7 @@
  *
  */
  
+Xap.provide("xap.bridges.zimbra.DwtButtonBridge"); 
  /**
  * @fileoverview
  * 

Modified: incubator/xap/trunk/src/xap/bridges/zimbra/DwtCompositeBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/zimbra/DwtCompositeBridge.js?rev=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/zimbra/DwtCompositeBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/zimbra/DwtCompositeBridge.js Fri Jul  7 15:04:24 2006
@@ -15,6 +15,7 @@
  *
  */
  
+Xap.provide("xap.bridges.zimbra.DwtCompositeBridge"); 
 Xap.require("xap.bridges.zimbra.DwtControlBridge"); 
  
 /**

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=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/zimbra/DwtHorizontalLayoutPanelBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/zimbra/DwtHorizontalLayoutPanelBridge.js Fri Jul 
7 15:04:24 2006
@@ -15,6 +15,7 @@
  *
  */
  
+Xap.provide("xap.bridges.zimbra.DwtHorizontalLayoutPanelBridge"); 
  /**
  * @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=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/zimbra/DwtLabelBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/zimbra/DwtLabelBridge.js Fri Jul  7 15:04:24 2006
@@ -15,6 +15,7 @@
  *
  */
  
+Xap.provide("xap.bridges.zimbra.DwtLabelBridge"); 
  /**
  * @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=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/zimbra/DwtSplitChildBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/zimbra/DwtSplitChildBridge.js Fri Jul  7 15:04:24
2006
@@ -15,6 +15,7 @@
  *
  */
  
+Xap.provide("xap.bridges.zimbra.DwtSplitChildBridge"); 
  /**
  * @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=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/zimbra/DwtSplitterBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/zimbra/DwtSplitterBridge.js Fri Jul  7 15:04:24 2006
@@ -15,6 +15,7 @@
  *
  */
  
+Xap.provide("xap.bridges.zimbra.DwtSplitterBridge"); 
  /**
  * @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=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/zimbra/DwtTabBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/zimbra/DwtTabBridge.js Fri Jul  7 15:04:24 2006
@@ -15,6 +15,7 @@
  *
  */
  
+Xap.provide("xap.bridges.zimbra.DwtTabBridge"); 
  /**
  * @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=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/zimbra/DwtTabViewBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/zimbra/DwtTabViewBridge.js Fri Jul  7 15:04:24 2006
@@ -15,6 +15,7 @@
  *
  */
  
+Xap.provide("xap.bridges.zimbra.DwtTabViewBridge"); 
  /**
  * @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=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/zimbra/DwtTextFieldBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/zimbra/DwtTextFieldBridge.js Fri Jul  7 15:04:24 2006
@@ -15,6 +15,7 @@
  *
  */
  
+Xap.provide("xap.bridges.zimbra.DwtTextFieldBridge"); 
  /**
  * @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=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/zimbra/DwtTreeBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/zimbra/DwtTreeBridge.js Fri Jul  7 15:04:24 2006
@@ -15,6 +15,7 @@
  *
  */
  
+Xap.provide("xap.bridges.zimbra.DwtTreeBridge"); 
  /**
  * @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=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/zimbra/DwtTreeItemBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/zimbra/DwtTreeItemBridge.js Fri Jul  7 15:04:24 2006
@@ -15,6 +15,7 @@
  *
  */
  
+Xap.provide("xap.bridges.zimbra.DwtTreeItemBridge"); 
  /**
  * @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=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/zimbra/DwtVerticalLayoutPanelBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/zimbra/DwtVerticalLayoutPanelBridge.js Fri Jul  7
15:04:24 2006
@@ -15,6 +15,8 @@
  *
  */
  
+Xap.provide("xap.bridges.zimbra.DwtVerticalLayoutPanelBridge"); 
+
  /**
  * @fileoverview
  * 

Modified: incubator/xap/trunk/src/xap/taghandling/PluginDocumentHandler.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/taghandling/PluginDocumentHandler.js?rev=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/taghandling/PluginDocumentHandler.js (original)
+++ incubator/xap/trunk/src/xap/taghandling/PluginDocumentHandler.js Fri Jul  7 15:04:24 2006
@@ -177,13 +177,33 @@
 		} 
 		catch( ex ) {
 			PluginDocumentHandler.s_log.exception( "Exception during eval:" + 
-												   ex.toString() );
-			// If we didn't create a new handler just now,
-			// handler==null, so this.setHandlerForElement below
-			// will bomb on the Hashtable.put(aKey,handler) that 
-			// it calls, and handler.setSession() below will also
-			// fail, so we might as well end it here:
-			throw ex ;													   
+				ex.toString() );
+				
+			//if that fails, try again with just the stuff after the 
+			//last period. For example if we tried:
+			//xap.bridges.zimbra.DwtButtonBridge now just try:
+			//DwtButtonBridge.
+			//TODO remove this attempt once we convert all the bridge
+			//classes over to use provide/require and fully scoped
+			//constructors/classes
+			try{
+				var lastPeriod = bridgeClass.lastIndexOf(".");
+				if (lastPeriod>0){
+					bridgeClass = bridgeClass.substring(lastPeriod+1);
+				}
+				handler = eval( "new " + bridgeClass + "()" );
+			}
+			catch(ex2){
+				PluginDocumentHandler.s_log.exception( "Exception during eval:" + 	
+											   ex.toString() );
+											   
+				// If we didn't create a new handler just now,
+				// handler==null, so this.setHandlerForElement below
+				// will bomb on the Hashtable.put(aKey,handler) that 
+				// it calls, and handler.setSession() below will also
+				// fail, so we might as well end it here:
+				throw ex ;		
+			}										   
 		}	
 		
 

Modified: incubator/xap/trunk/src/xap/taghandling/PluginRegistryImpl.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/taghandling/PluginRegistryImpl.js?rev=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/taghandling/PluginRegistryImpl.js (original)
+++ incubator/xap/trunk/src/xap/taghandling/PluginRegistryImpl.js Fri Jul  7 15:04:24 2006
@@ -186,23 +186,7 @@
 						continue;
 					}
 					try{
-						//TODO we should really use
-						////Xap.require(className);
-						//but that involves changing all the bridge classes,
-						//which I don't want to do right now as most of them are
-						//placeholder anyway so we use loadPath instead and truncate
-						//the classname from xap.bridges.zimbra.DwtButton
-						//to just DwtButton because that is what the file
-						//uses right now.
-						
-						var pathName = className.replace(/\./gm,"/");
-						pathName += ".js";
-						dojo.hostenv.loadUri(Xap._sourceRootDir + "/src/" + pathName);
-						
-						var lastPeriod = className.lastIndexOf(".");
-						if (lastPeriod>0){
-							className = className.substring(lastPeriod+1);
-						}
+						Xap.require(className);						
 					}
 					catch(exception){
 						if (this._session){

Modified: incubator/xap/trunk/src/xap/taghandling/plugin.xml
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/taghandling/plugin.xml?rev=419999&r1=419998&r2=419999&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/taghandling/plugin.xml (original)
+++ incubator/xap/trunk/src/xap/taghandling/plugin.xml Fri Jul  7 15:04:24 2006
@@ -1,5 +1,4 @@
 <plugin>
-	<!-- mappings that apply to the document named "dataSources" -->
 	<tag-mappings namespace="http://www.openxal.org/xal" document="xal">
 		<mapping class="xap.bridges.zimbra.DwtCompositeBridge" name="panel"/>
 		<mapping class="xap.bridges.zimbra.DwtLabelBridge" name="label"/>
@@ -25,8 +24,7 @@
 		<mapping class="xap.bridges.dojo.DojoContentPaneBridge" name="contentPane"/>	
 		<mapping class="xap.bridges.dojo.DojoFloatingPaneBridge" name="floatingPane"/>	
 		<mapping class="xap.bridges.dojo.DojoGenericWidgetBridge" name="generic"/>
-		<mapping class="xap.bridges.dojo.DojoLayoutPaneBridge" name="layoutPane"/>				
-								
+		<mapping class="xap.bridges.dojo.DojoLayoutPaneBridge" name="layoutPane"/>						
		
 	</tag-mappings>	
 	
 	



Mime
View raw message