incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmarga...@apache.org
Subject svn commit: r465943 - in /incubator/xap/trunk: WebContent/examples/widgets/ src/xap/bridges/dojo/ src/xap/bridges/xap/ src/xap/session/ src/xap/util/ src/xap/widgets/ src/xap/widgets/dojo/
Date Fri, 20 Oct 2006 01:10:51 GMT
Author: jmargaris
Date: Thu Oct 19 18:10:47 2006
New Revision: 465943

URL: http://svn.apache.org/viewvc?view=rev&rev=465943
Log:
fixes for a bunch of problems uncovered by just-in-time
loading of bridge classes, require/provide problems, etc

Modified:
    incubator/xap/trunk/WebContent/examples/widgets/AttributeTester.js
    incubator/xap/trunk/src/xap/bridges/dojo/HorizontalSeparatorBridge.js
    incubator/xap/trunk/src/xap/bridges/dojo/MenuBarBridge.js
    incubator/xap/trunk/src/xap/bridges/dojo/MenuBarItemBridge.js
    incubator/xap/trunk/src/xap/bridges/dojo/MenuBridge.js
    incubator/xap/trunk/src/xap/bridges/dojo/MenuItemBridge.js
    incubator/xap/trunk/src/xap/bridges/dojo/WindowBridge.js
    incubator/xap/trunk/src/xap/bridges/xap/ButtonBridge.js
    incubator/xap/trunk/src/xap/bridges/xap/CheckboxBridge.js
    incubator/xap/trunk/src/xap/bridges/xap/RadioButtonBridge.js
    incubator/xap/trunk/src/xap/session/ClientSession.js
    incubator/xap/trunk/src/xap/util/MessageFormat.js
    incubator/xap/trunk/src/xap/widgets/ListBox.js
    incubator/xap/trunk/src/xap/widgets/ListItem.js
    incubator/xap/trunk/src/xap/widgets/XapComboBox.js
    incubator/xap/trunk/src/xap/widgets/dojo/BorderPanel.js
    incubator/xap/trunk/src/xap/widgets/dojo/FreePanel.js
    incubator/xap/trunk/src/xap/widgets/dojo/HorizontalFlowPane.js
    incubator/xap/trunk/src/xap/widgets/dojo/HorizontalPanel.js
    incubator/xap/trunk/src/xap/widgets/dojo/HtmlWrapper.js
    incubator/xap/trunk/src/xap/widgets/dojo/PasswordField.js
    incubator/xap/trunk/src/xap/widgets/dojo/ScrollPane.js
    incubator/xap/trunk/src/xap/widgets/dojo/TextArea.js
    incubator/xap/trunk/src/xap/widgets/dojo/TextField.js
    incubator/xap/trunk/src/xap/widgets/dojo/TreeTable.js
    incubator/xap/trunk/src/xap/widgets/dojo/VerticalPanel.js
    incubator/xap/trunk/src/xap/widgets/dojo/Window.js

Modified: incubator/xap/trunk/WebContent/examples/widgets/AttributeTester.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/AttributeTester.js?view=diff&rev=465943&r1=465942&r2=465943
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/AttributeTester.js (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/AttributeTester.js Thu Oct 19 18:10:47
2006
@@ -43,8 +43,8 @@
 	
 	text = text.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g,
'&gt;');
 	text = text.replace(/\n/g,'<br>');
-	this._logDiv.innerHTML = this._logDiv.innerHTML.replace(/<[/]*b>/g,"")
-		 + "<br/><br/><b>" + text+"</b>";
+	this._logDiv.innerHTML = this._logDiv.innerHTML.replace(/<[\/]*b>/g,"") +
+		 "<br/><br/><b>" + text+"</b>";
 	if (this._logDiv.innerHTML.length>5000){
       	this._logDiv.innerHTML = this._logDiv.innerHTML.substring(this._logDiv.innerHTML.length-5000);
 	}

Modified: incubator/xap/trunk/src/xap/bridges/dojo/HorizontalSeparatorBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/dojo/HorizontalSeparatorBridge.js?view=diff&rev=465943&r1=465942&r2=465943
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/dojo/HorizontalSeparatorBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/dojo/HorizontalSeparatorBridge.js Thu Oct 19 18:10:47
2006
@@ -25,6 +25,7 @@
 
 Xap.require("dojo.widget.MenuBar2");
 Xap.require("xap.session.ClientEvent"); 
+Xap.require("xap.bridges.dojo.DojoWidgetBridge"); 
 
  /**
  * @fileoverview

Modified: incubator/xap/trunk/src/xap/bridges/dojo/MenuBarBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/dojo/MenuBarBridge.js?view=diff&rev=465943&r1=465942&r2=465943
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/dojo/MenuBarBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/dojo/MenuBarBridge.js Thu Oct 19 18:10:47 2006
@@ -25,6 +25,7 @@
 
 Xap.require("dojo.widget.Menu2");
 Xap.require("xap.session.ClientEvent"); 
+Xap.require('xap.bridges.dojo.DojoWidgetBridge');
 
  /**
  * @fileoverview

Modified: incubator/xap/trunk/src/xap/bridges/dojo/MenuBarItemBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/dojo/MenuBarItemBridge.js?view=diff&rev=465943&r1=465942&r2=465943
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/dojo/MenuBarItemBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/dojo/MenuBarItemBridge.js Thu Oct 19 18:10:47 2006
@@ -25,6 +25,7 @@
 
 Xap.require("dojo.widget.Menu2");
 Xap.require("xap.session.ClientEvent"); 
+Xap.require('xap.bridges.dojo.DojoWidgetBridge');
 
  /**
  * @fileoverview

Modified: incubator/xap/trunk/src/xap/bridges/dojo/MenuBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/dojo/MenuBridge.js?view=diff&rev=465943&r1=465942&r2=465943
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/dojo/MenuBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/dojo/MenuBridge.js Thu Oct 19 18:10:47 2006
@@ -25,6 +25,7 @@
 
 Xap.require("dojo.widget.Menu2");
 Xap.require("xap.session.ClientEvent"); 
+Xap.require('xap.bridges.dojo.DojoWidgetBridge');
 
  /**
  * @fileoverview

Modified: incubator/xap/trunk/src/xap/bridges/dojo/MenuItemBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/dojo/MenuItemBridge.js?view=diff&rev=465943&r1=465942&r2=465943
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/dojo/MenuItemBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/dojo/MenuItemBridge.js Thu Oct 19 18:10:47 2006
@@ -25,6 +25,7 @@
 
 Xap.require("dojo.widget.Menu2");
 Xap.require("xap.session.ClientEvent"); 
+Xap.require('xap.bridges.dojo.DojoWidgetBridge');
 
  /**
  * @fileoverview

Modified: incubator/xap/trunk/src/xap/bridges/dojo/WindowBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/dojo/WindowBridge.js?view=diff&rev=465943&r1=465942&r2=465943
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/dojo/WindowBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/dojo/WindowBridge.js Thu Oct 19 18:10:47 2006
@@ -26,6 +26,7 @@
 Xap.require("xap.widgets.dojo.Window");
 Xap.require("xap.session.ClientEvent"); 
 Xap.require("xap.util.Event");
+Xap.require('xap.bridges.dojo.DojoWidgetBridge');
 
  /**
  * @fileoverview

Modified: incubator/xap/trunk/src/xap/bridges/xap/ButtonBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/xap/ButtonBridge.js?view=diff&rev=465943&r1=465942&r2=465943
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/xap/ButtonBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/xap/ButtonBridge.js Thu Oct 19 18:10:47 2006
@@ -16,17 +16,15 @@
  */
 
 Xap.provide("xap.bridges.xap.ButtonBridge"); 
-Xap.require("xap.bridges.basic.AbstractWidgetBridge");
+Xap.require("xap.bridges.xap.LabelBridge"); 
 Xap.require("xap.widgets.Button");
 
 xap.bridges.xap.ButtonBridge = function() {
-	xap.bridges.basic.AbstractWidgetBridge.call(this);
+	xap.bridges.xap.LabelBridge.call(this);
 }
 
-Xap.setupClassAsSubclassOf("xap.bridges.xap.ButtonBridge", "xap.bridges.basic.AbstractWidgetBridge");
+Xap.setupClassAsSubclassOf("xap.bridges.xap.ButtonBridge", "xap.bridges.xap.LabelBridge");
 
-
-xap.bridges.xap.ButtonBridge.prototype = new xap.bridges.xap.LabelBridge();
 
 xap.bridges.xap.ButtonBridge.prototype.obtainPeer = function() {
 

Modified: incubator/xap/trunk/src/xap/bridges/xap/CheckboxBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/xap/CheckboxBridge.js?view=diff&rev=465943&r1=465942&r2=465943
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/xap/CheckboxBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/xap/CheckboxBridge.js Thu Oct 19 18:10:47 2006
@@ -16,17 +16,14 @@
  */
 
 Xap.provide("xap.bridges.xap.CheckboxBridge"); 
-Xap.require("xap.bridges.basic.AbstractWidgetBridge");
+Xap.require("xap.bridges.xap.ButtonBridge");
 Xap.require("xap.widgets.Checkbox");
 
 xap.bridges.xap.CheckboxBridge = function() {
-	xap.bridges.basic.AbstractWidgetBridge.call(this);
+	xap.bridges.xap.ButtonBridge(this);
 }
 
-Xap.setupClassAsSubclassOf("xap.bridges.xap.CheckboxBridge", "xap.bridges.basic.AbstractWidgetBridge");
-
-
-xap.bridges.xap.CheckboxBridge.prototype = new xap.bridges.xap.LabelBridge();
+Xap.setupClassAsSubclassOf("xap.bridges.xap.CheckboxBridge", "xap.bridges.xap.ButtonBridge");
 
 xap.bridges.xap.CheckboxBridge.prototype.obtainPeer = function() {
 	this._peer = new xap.widgets.Checkbox(this.getSession()._webappContext);

Modified: incubator/xap/trunk/src/xap/bridges/xap/RadioButtonBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/xap/RadioButtonBridge.js?view=diff&rev=465943&r1=465942&r2=465943
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/xap/RadioButtonBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/xap/RadioButtonBridge.js Thu Oct 19 18:10:47 2006
@@ -16,17 +16,14 @@
  */
 
 Xap.provide("xap.bridges.xap.RadioButtonBridge"); 
-Xap.require("xap.bridges.basic.AbstractWidgetBridge");
-Xap.require("xap.bridges.xap.LabelBridge");
+Xap.require("xap.bridges.xap.ButtonBridge");
 Xap.require("xap.widgets.RadioButton");
 
 xap.bridges.xap.RadioButtonBridge = function() {
-	xap.bridges.basic.AbstractWidgetBridge.call(this);
+	xap.bridges.xap.ButtonBridge.call(this);
 }
 
-Xap.setupClassAsSubclassOf("xap.bridges.xap.RadioButtonBridge", "xap.bridges.basic.AbstractWidgetBridge");
-
-xap.bridges.xap.RadioButtonBridge.prototype = new xap.bridges.xap.LabelBridge();
+Xap.setupClassAsSubclassOf("xap.bridges.xap.RadioButtonBridge", "xap.bridges.xap.ButtonBridge");
 
 xap.bridges.xap.RadioButtonBridge.prototype.obtainPeer = function() {
 

Modified: incubator/xap/trunk/src/xap/session/ClientSession.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/session/ClientSession.js?view=diff&rev=465943&r1=465942&r2=465943
==============================================================================
--- incubator/xap/trunk/src/xap/session/ClientSession.js (original)
+++ incubator/xap/trunk/src/xap/session/ClientSession.js Thu Oct 19 18:10:47 2006
@@ -59,6 +59,9 @@
 	this._documentContainer = new xap.xml.DocumentContainer(this);
 	this.addContainer("document", this._documentContainer);
 	
+	
+	//IMPORTANT all the system services like NetService should
+	//be added to this container!
 	this._systemContainer = new xap.session.Container(this);
 	
 	

Modified: incubator/xap/trunk/src/xap/util/MessageFormat.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/util/MessageFormat.js?view=diff&rev=465943&r1=465942&r2=465943
==============================================================================
--- incubator/xap/trunk/src/xap/util/MessageFormat.js (original)
+++ incubator/xap/trunk/src/xap/util/MessageFormat.js Thu Oct 19 18:10:47 2006
@@ -45,7 +45,7 @@
 		return null;
 	}
 	
-	//TODO escaping syntax?? And if we replace something
+	//IMPORTANT escaping syntax?? And if we replace something
 	//and it has a {1} we are in trouble...
 	for (var i =0; args && i<args.length; i++){	
 		var replacementString = "\\{" + i + "\\}";

Modified: incubator/xap/trunk/src/xap/widgets/ListBox.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/widgets/ListBox.js?view=diff&rev=465943&r1=465942&r2=465943
==============================================================================
--- incubator/xap/trunk/src/xap/widgets/ListBox.js (original)
+++ incubator/xap/trunk/src/xap/widgets/ListBox.js Thu Oct 19 18:10:47 2006
@@ -1,10 +1,11 @@
-//IMPORTANT move this to some shared area
-dojo.widget.manager.registerWidgetPackage("xap.widgets");
+
 
 Xap.provide("xap.widgets.ListBox");
 
 Xap.require("dojo.widget.HtmlWidget");
 
+//IMPORTANT move this to some shared area
+dojo.widget.manager.registerWidgetPackage("xap.widgets");
 dojo.widget.tags.addParseTreeHandler("dojo:ListBox");
 
 xap.widgets.ListBox = function(){

Modified: incubator/xap/trunk/src/xap/widgets/ListItem.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/widgets/ListItem.js?view=diff&rev=465943&r1=465942&r2=465943
==============================================================================
--- incubator/xap/trunk/src/xap/widgets/ListItem.js (original)
+++ incubator/xap/trunk/src/xap/widgets/ListItem.js Thu Oct 19 18:10:47 2006
@@ -1,9 +1,8 @@
-//IMPORTANT move this to some shared area
-dojo.widget.manager.registerWidgetPackage("xap.widgets");
-
 Xap.provide("xap.widgets.ListItem");
 Xap.require("dojo.widget.HtmlWidget");
 
+//IMPORTANT move this to some shared area
+dojo.widget.manager.registerWidgetPackage("xap.widgets");
 dojo.widget.tags.addParseTreeHandler("dojo:ListItem");
 
 xap.widgets.ListItem = function(){

Modified: incubator/xap/trunk/src/xap/widgets/XapComboBox.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/widgets/XapComboBox.js?view=diff&rev=465943&r1=465942&r2=465943
==============================================================================
--- incubator/xap/trunk/src/xap/widgets/XapComboBox.js (original)
+++ incubator/xap/trunk/src/xap/widgets/XapComboBox.js Thu Oct 19 18:10:47 2006
@@ -1,5 +1,4 @@
-//IMPORTANT move this to some shared area
-dojo.widget.manager.registerWidgetPackage("xap.widgets");
+
 Xap.provide("xap.widgets.XapComboBox");
 
 dojo.require("dojo.widget.*");
@@ -8,6 +7,10 @@
 dojo.require("dojo.html");
 dojo.require("dojo.style");
 dojo.require("dojo.event");
+
+
+//IMPORTANT move this to some shared area
+dojo.widget.manager.registerWidgetPackage("xap.widgets");
 
 xap.widgets.XapComboBox = function(){
 

Modified: incubator/xap/trunk/src/xap/widgets/dojo/BorderPanel.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/widgets/dojo/BorderPanel.js?view=diff&rev=465943&r1=465942&r2=465943
==============================================================================
--- incubator/xap/trunk/src/xap/widgets/dojo/BorderPanel.js (original)
+++ incubator/xap/trunk/src/xap/widgets/dojo/BorderPanel.js Thu Oct 19 18:10:47 2006
@@ -15,10 +15,9 @@
  *
  */
  
- //IMPORTANT move this to some shared area
-dojo.widget.manager.registerWidgetPackage("xap.widgets.dojo");
 
-Xap.provide("xap.widgets.dojo.VerticalPanel");
+
+Xap.provide("xap.widgets.dojo.BorderPanel");
 
 dojo.require("dojo.widget.*");
 dojo.require("dojo.widget.HtmlWidget");
@@ -27,6 +26,8 @@
 dojo.require("dojo.style");
 dojo.require("dojo.event");
 
+ //IMPORTANT move this to some shared area
+dojo.widget.manager.registerWidgetPackage("xap.widgets.dojo");
 dojo.widget.tags.addParseTreeHandler("dojo:BorderPanel");
 
 xap.widgets.dojo.BorderPanel = function(){

Modified: incubator/xap/trunk/src/xap/widgets/dojo/FreePanel.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/widgets/dojo/FreePanel.js?view=diff&rev=465943&r1=465942&r2=465943
==============================================================================
--- incubator/xap/trunk/src/xap/widgets/dojo/FreePanel.js (original)
+++ incubator/xap/trunk/src/xap/widgets/dojo/FreePanel.js Thu Oct 19 18:10:47 2006
@@ -15,8 +15,7 @@
  *
  */
  
- //IMPORTANT move this to some shared area
-dojo.widget.manager.registerWidgetPackage("xap.widgets.dojo");
+
 
 Xap.provide("xap.widgets.dojo.FreePanel");
 
@@ -27,6 +26,8 @@
 dojo.require("dojo.style");
 dojo.require("dojo.event");
 
+ //IMPORTANT move this to some shared area
+dojo.widget.manager.registerWidgetPackage("xap.widgets.dojo");
 dojo.widget.tags.addParseTreeHandler("dojo:FreePanel");
 
 xap.widgets.dojo.FreePanel = function(){
@@ -40,7 +41,7 @@
 	//If you set absolute position on a div then it creates a block in the box
 	//model but then the div is absolute which we don't want.
 	//so we put stuff in a table which DOES define a block in the box model
-	templateString: '<table cellPadding="0" cellSpacing="0"><tr><td><div
dojoAttachPoint="containerNode" style="width: 100%; height: 100%; position:relative"></td></tr></table>',
+	templateString: '<table cellPadding="0" cellSpacing="0"><tr><td style="width:100%;height:100%"><div
dojoAttachPoint="containerNode" style="width: 100%; height: 100%; position:relative"></td></tr></table>',
 	templateCssPath: null ,
 	widgetType: "FreePanel",
 	isContainer: true,

Modified: incubator/xap/trunk/src/xap/widgets/dojo/HorizontalFlowPane.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/widgets/dojo/HorizontalFlowPane.js?view=diff&rev=465943&r1=465942&r2=465943
==============================================================================
--- incubator/xap/trunk/src/xap/widgets/dojo/HorizontalFlowPane.js (original)
+++ incubator/xap/trunk/src/xap/widgets/dojo/HorizontalFlowPane.js Thu Oct 19 18:10:47 2006
@@ -15,8 +15,7 @@
  *
  */
  
- //IMPORTANT move this to some shared area
-dojo.widget.manager.registerWidgetPackage("xap.widgets.dojo");
+
 
 Xap.provide("xap.widgets.dojo.HorizontalFlowPane");
 
@@ -27,6 +26,8 @@
 dojo.require("dojo.style");
 dojo.require("dojo.event");
 
+ //IMPORTANT move this to some shared area
+dojo.widget.manager.registerWidgetPackage("xap.widgets.dojo");
 dojo.widget.tags.addParseTreeHandler("dojo:HorizontalFlowPane");
 
 xap.widgets.dojo.HorizontalFlowPane = function(){

Modified: incubator/xap/trunk/src/xap/widgets/dojo/HorizontalPanel.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/widgets/dojo/HorizontalPanel.js?view=diff&rev=465943&r1=465942&r2=465943
==============================================================================
--- incubator/xap/trunk/src/xap/widgets/dojo/HorizontalPanel.js (original)
+++ incubator/xap/trunk/src/xap/widgets/dojo/HorizontalPanel.js Thu Oct 19 18:10:47 2006
@@ -15,8 +15,7 @@
  *
  */
  
- //IMPORTANT move this to some shared area
-dojo.widget.manager.registerWidgetPackage("xap.widgets.dojo");
+
 
 Xap.provide("xap.widgets.dojo.HorizontalPanel");
 
@@ -27,6 +26,8 @@
 dojo.require("dojo.style");
 dojo.require("dojo.event");
 
+ //IMPORTANT move this to some shared area
+dojo.widget.manager.registerWidgetPackage("xap.widgets.dojo");
 dojo.widget.tags.addParseTreeHandler("dojo:HorizontalPanel");
 
 xap.widgets.dojo.HorizontalPanel = function(){

Modified: incubator/xap/trunk/src/xap/widgets/dojo/HtmlWrapper.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/widgets/dojo/HtmlWrapper.js?view=diff&rev=465943&r1=465942&r2=465943
==============================================================================
--- incubator/xap/trunk/src/xap/widgets/dojo/HtmlWrapper.js (original)
+++ incubator/xap/trunk/src/xap/widgets/dojo/HtmlWrapper.js Thu Oct 19 18:10:47 2006
@@ -15,8 +15,7 @@
  *
  */
  
- //IMPORTANT move this to some shared area
-dojo.widget.manager.registerWidgetPackage("xap.widgets.dojo");
+
 
 Xap.provide("xap.widgets.dojo.HtmlWrapper");
 
@@ -27,6 +26,8 @@
 dojo.require("dojo.style");
 dojo.require("dojo.event");
 
+ //IMPORTANT move this to some shared area
+dojo.widget.manager.registerWidgetPackage("xap.widgets.dojo");
 dojo.widget.tags.addParseTreeHandler("dojo:HtmlWrapper");
 
 xap.widgets.dojo.HtmlWrapper = function(){

Modified: incubator/xap/trunk/src/xap/widgets/dojo/PasswordField.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/widgets/dojo/PasswordField.js?view=diff&rev=465943&r1=465942&r2=465943
==============================================================================
--- incubator/xap/trunk/src/xap/widgets/dojo/PasswordField.js (original)
+++ incubator/xap/trunk/src/xap/widgets/dojo/PasswordField.js Thu Oct 19 18:10:47 2006
@@ -15,8 +15,7 @@
  *
  */
  
- //IMPORTANT move this to some shared area
-dojo.widget.manager.registerWidgetPackage("xap.widgets.dojo");
+
 
 Xap.provide("xap.widgets.dojo.PasswordField");
 
@@ -27,7 +26,8 @@
 dojo.require("dojo.style");
 dojo.require("dojo.event");
 
-
+ //IMPORTANT move this to some shared area
+dojo.widget.manager.registerWidgetPackage("xap.widgets.dojo");
 dojo.widget.tags.addParseTreeHandler("dojo:PasswordField");
 
 xap.widgets.dojo.PasswordField = function(){

Modified: incubator/xap/trunk/src/xap/widgets/dojo/ScrollPane.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/widgets/dojo/ScrollPane.js?view=diff&rev=465943&r1=465942&r2=465943
==============================================================================
--- incubator/xap/trunk/src/xap/widgets/dojo/ScrollPane.js (original)
+++ incubator/xap/trunk/src/xap/widgets/dojo/ScrollPane.js Thu Oct 19 18:10:47 2006
@@ -15,14 +15,15 @@
  *
  */
  
- //IMPORTANT move this to some shared area
-dojo.widget.manager.registerWidgetPackage("xap.widgets.dojo");
+
 
 Xap.provide("xap.widgets.dojo.ScrollPane");
 
 dojo.require("dojo.widget.*");
 dojo.require("dojo.widget.HtmlWidget");
 
+//IMPORTANT move this to some shared area
+dojo.widget.manager.registerWidgetPackage("xap.widgets.dojo");
 dojo.widget.tags.addParseTreeHandler("dojo:ScrollPane");
 
 xap.widgets.dojo.ScrollPane = function(){

Modified: incubator/xap/trunk/src/xap/widgets/dojo/TextArea.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/widgets/dojo/TextArea.js?view=diff&rev=465943&r1=465942&r2=465943
==============================================================================
--- incubator/xap/trunk/src/xap/widgets/dojo/TextArea.js (original)
+++ incubator/xap/trunk/src/xap/widgets/dojo/TextArea.js Thu Oct 19 18:10:47 2006
@@ -15,8 +15,7 @@
  *
  */
  
- //IMPORTANT move this to some shared area
-dojo.widget.manager.registerWidgetPackage("xap.widgets.dojo");
+
 
 Xap.provide("xap.widgets.dojo.TextArea");
 
@@ -28,6 +27,8 @@
 dojo.require("dojo.event");
 
 
+//IMPORTANT move this to some shared area
+dojo.widget.manager.registerWidgetPackage("xap.widgets.dojo");
 dojo.widget.tags.addParseTreeHandler("dojo:TextArea");
 
 xap.widgets.dojo.TextArea = function(){

Modified: incubator/xap/trunk/src/xap/widgets/dojo/TextField.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/widgets/dojo/TextField.js?view=diff&rev=465943&r1=465942&r2=465943
==============================================================================
--- incubator/xap/trunk/src/xap/widgets/dojo/TextField.js (original)
+++ incubator/xap/trunk/src/xap/widgets/dojo/TextField.js Thu Oct 19 18:10:47 2006
@@ -15,8 +15,7 @@
  *
  */
  
- //IMPORTANT move this to some shared area
-dojo.widget.manager.registerWidgetPackage("xap.widgets.dojo");
+
 
 dojo.provide("xap.widgets.dojo.TextField");
 
@@ -27,6 +26,8 @@
 dojo.require("dojo.style");
 dojo.require("dojo.event");
 
+//IMPORTANT move this to some shared area
+dojo.widget.manager.registerWidgetPackage("xap.widgets.dojo");
 dojo.widget.tags.addParseTreeHandler("dojo:TextField");
 
 xap.widgets.dojo.TextField = function(){

Modified: incubator/xap/trunk/src/xap/widgets/dojo/TreeTable.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/widgets/dojo/TreeTable.js?view=diff&rev=465943&r1=465942&r2=465943
==============================================================================
--- incubator/xap/trunk/src/xap/widgets/dojo/TreeTable.js (original)
+++ incubator/xap/trunk/src/xap/widgets/dojo/TreeTable.js Thu Oct 19 18:10:47 2006
@@ -15,8 +15,7 @@
  *
  */
  
- //IMPORTANT move this to some shared area
-dojo.widget.manager.registerWidgetPackage("xap.widgets.dojo");
+
 
 Xap.provide("xap.widgets.dojo.TreeTable");
 Xap.provide("xap.widgets.dojo.TableColumn");
@@ -33,6 +32,8 @@
 Xap.require("xap.widgets.dojo.ScrollPane");
 Xap.require("xap.util.ArrayHelper");
 
+//IMPORTANT move this to some shared area
+dojo.widget.manager.registerWidgetPackage("xap.widgets.dojo");
 dojo.widget.tags.addParseTreeHandler("dojo:TreeTable");
 dojo.widget.tags.addParseTreeHandler("dojo:TableColumn");
 dojo.widget.tags.addParseTreeHandler("dojo:TableRow");

Modified: incubator/xap/trunk/src/xap/widgets/dojo/VerticalPanel.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/widgets/dojo/VerticalPanel.js?view=diff&rev=465943&r1=465942&r2=465943
==============================================================================
--- incubator/xap/trunk/src/xap/widgets/dojo/VerticalPanel.js (original)
+++ incubator/xap/trunk/src/xap/widgets/dojo/VerticalPanel.js Thu Oct 19 18:10:47 2006
@@ -15,8 +15,7 @@
  *
  */
  
- //IMPORTANT move this to some shared area
-dojo.widget.manager.registerWidgetPackage("xap.widgets.dojo");
+
 
 Xap.provide("xap.widgets.dojo.VerticalPanel");
 
@@ -27,6 +26,8 @@
 dojo.require("dojo.style");
 dojo.require("dojo.event");
 
+//IMPORTANT move this to some shared area
+dojo.widget.manager.registerWidgetPackage("xap.widgets.dojo");
 dojo.widget.tags.addParseTreeHandler("dojo:VerticalPanel");
 
 xap.widgets.dojo.VerticalPanel = function(){

Modified: incubator/xap/trunk/src/xap/widgets/dojo/Window.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/widgets/dojo/Window.js?view=diff&rev=465943&r1=465942&r2=465943
==============================================================================
--- incubator/xap/trunk/src/xap/widgets/dojo/Window.js (original)
+++ incubator/xap/trunk/src/xap/widgets/dojo/Window.js Thu Oct 19 18:10:47 2006
@@ -15,9 +15,6 @@
  *
  */
  
- //IMPORTANT move this to some shared area
-dojo.widget.manager.registerWidgetPackage("xap.widgets.dojo");
-
 Xap.provide("xap.widgets.dojo.Window");
 
 Xap.require('xap.util.Event');
@@ -28,6 +25,9 @@
 dojo.require("dojo.style");
 dojo.require("dojo.event");
 
+
+//IMPORTANT move this to some shared area
+dojo.widget.manager.registerWidgetPackage("xap.widgets.dojo");
 dojo.widget.tags.addParseTreeHandler("dojo:Window");
 
 /**



Mime
View raw message