incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmarga...@apache.org
Subject svn commit: r482448 - in /incubator/xap/trunk: WebContent/examples/basic/ WebContent/examples/dataBinding/ WebContent/examples/dojo/ WebContent/examples/htmlEmbedding/ WebContent/examples/widgets/ src/xap/mco/
Date Tue, 05 Dec 2006 01:57:27 GMT
Author: jmargaris
Date: Mon Dec  4 17:57:23 2006
New Revision: 482448

URL: http://svn.apache.org/viewvc?view=rev&rev=482448
Log:
src and class now working correctly for mcos, updates
samples to load mcos in xml files instead of html launcher

Modified:
    incubator/xap/trunk/WebContent/examples/basic/dom0.html
    incubator/xap/trunk/WebContent/examples/basic/dom0.xal
    incubator/xap/trunk/WebContent/examples/dataBinding/javascriptDatasource.html
    incubator/xap/trunk/WebContent/examples/dataBinding/javascriptDatasource.xal
    incubator/xap/trunk/WebContent/examples/dataBinding/mcoAttribute.html
    incubator/xap/trunk/WebContent/examples/dataBinding/mcoAttribute.xal
    incubator/xap/trunk/WebContent/examples/dataBinding/simpleDocumentDatasource_0.html
    incubator/xap/trunk/WebContent/examples/dataBinding/simpleDocumentDatasource_0.xal
    incubator/xap/trunk/WebContent/examples/dataBinding/simpleEmployees.xal
    incubator/xap/trunk/WebContent/examples/dojo/colorPicker.html
    incubator/xap/trunk/WebContent/examples/dojo/colorPicker.xal
    incubator/xap/trunk/WebContent/examples/dojo/dateAndColorPickers.html
    incubator/xap/trunk/WebContent/examples/dojo/datePicker.xal
    incubator/xap/trunk/WebContent/examples/dojo/dojo1.html
    incubator/xap/trunk/WebContent/examples/dojo/dojo1.xal
    incubator/xap/trunk/WebContent/examples/dojo/portlet.html
    incubator/xap/trunk/WebContent/examples/dojo/portlet.xal
    incubator/xap/trunk/WebContent/examples/htmlEmbedding/cornerPalettesCentralButton.xal
    incubator/xap/trunk/WebContent/examples/widgets/borderPane.html
    incubator/xap/trunk/WebContent/examples/widgets/borderPane.xal
    incubator/xap/trunk/WebContent/examples/widgets/button.html
    incubator/xap/trunk/WebContent/examples/widgets/button.xal
    incubator/xap/trunk/WebContent/examples/widgets/checkBox.html
    incubator/xap/trunk/WebContent/examples/widgets/checkBox.xal
    incubator/xap/trunk/WebContent/examples/widgets/combobox.xal
    incubator/xap/trunk/WebContent/examples/widgets/complexExample.html
    incubator/xap/trunk/WebContent/examples/widgets/complexExample.xal
    incubator/xap/trunk/WebContent/examples/widgets/desktopPane.html
    incubator/xap/trunk/WebContent/examples/widgets/desktopPane.xal
    incubator/xap/trunk/WebContent/examples/widgets/freePane.html
    incubator/xap/trunk/WebContent/examples/widgets/freePane.xal
    incubator/xap/trunk/WebContent/examples/widgets/freePanelEvents.html
    incubator/xap/trunk/WebContent/examples/widgets/freePanelEvents.xal
    incubator/xap/trunk/WebContent/examples/widgets/gridPanel.html
    incubator/xap/trunk/WebContent/examples/widgets/gridPanel.xal
    incubator/xap/trunk/WebContent/examples/widgets/gridPanel3.html
    incubator/xap/trunk/WebContent/examples/widgets/gridPanel3.xal
    incubator/xap/trunk/WebContent/examples/widgets/gridPanel5.html
    incubator/xap/trunk/WebContent/examples/widgets/gridPanel5.xal
    incubator/xap/trunk/WebContent/examples/widgets/horizontalBoxPane.html
    incubator/xap/trunk/WebContent/examples/widgets/horizontalBoxPane.xal
    incubator/xap/trunk/WebContent/examples/widgets/horizontalFlowPane.html
    incubator/xap/trunk/WebContent/examples/widgets/horizontalFlowPane.xal
    incubator/xap/trunk/WebContent/examples/widgets/label.html
    incubator/xap/trunk/WebContent/examples/widgets/label.xal
    incubator/xap/trunk/WebContent/examples/widgets/listbox.html
    incubator/xap/trunk/WebContent/examples/widgets/listbox.xal
    incubator/xap/trunk/WebContent/examples/widgets/menu.html
    incubator/xap/trunk/WebContent/examples/widgets/menu.xal
    incubator/xap/trunk/WebContent/examples/widgets/passwordField.html
    incubator/xap/trunk/WebContent/examples/widgets/passwordField.xal
    incubator/xap/trunk/WebContent/examples/widgets/popupMenu.html
    incubator/xap/trunk/WebContent/examples/widgets/popupMenu.xal
    incubator/xap/trunk/WebContent/examples/widgets/radioButton.html
    incubator/xap/trunk/WebContent/examples/widgets/radioButton.xal
    incubator/xap/trunk/WebContent/examples/widgets/scrollPane.html
    incubator/xap/trunk/WebContent/examples/widgets/scrollPane.xal
    incubator/xap/trunk/WebContent/examples/widgets/splitPane.html
    incubator/xap/trunk/WebContent/examples/widgets/splitPane.xal
    incubator/xap/trunk/WebContent/examples/widgets/splitPaneExample.html
    incubator/xap/trunk/WebContent/examples/widgets/splitPaneExample.xal
    incubator/xap/trunk/WebContent/examples/widgets/tabPane.html
    incubator/xap/trunk/WebContent/examples/widgets/tabPane.xal
    incubator/xap/trunk/WebContent/examples/widgets/tabPaneExample.html
    incubator/xap/trunk/WebContent/examples/widgets/tabPaneExample.xal
    incubator/xap/trunk/WebContent/examples/widgets/table.html
    incubator/xap/trunk/WebContent/examples/widgets/table.xal
    incubator/xap/trunk/WebContent/examples/widgets/tableSorting.html
    incubator/xap/trunk/WebContent/examples/widgets/textArea.html
    incubator/xap/trunk/WebContent/examples/widgets/textArea.xal
    incubator/xap/trunk/WebContent/examples/widgets/textField.html
    incubator/xap/trunk/WebContent/examples/widgets/textField.xal
    incubator/xap/trunk/WebContent/examples/widgets/textFieldEvents.html
    incubator/xap/trunk/WebContent/examples/widgets/textFieldEvents.xal
    incubator/xap/trunk/WebContent/examples/widgets/tooltip.html
    incubator/xap/trunk/WebContent/examples/widgets/tooltip.xal
    incubator/xap/trunk/WebContent/examples/widgets/tree.html
    incubator/xap/trunk/WebContent/examples/widgets/tree.xal
    incubator/xap/trunk/WebContent/examples/widgets/treeTable.html
    incubator/xap/trunk/WebContent/examples/widgets/treeTable.xal
    incubator/xap/trunk/WebContent/examples/widgets/verticalBoxPane.html
    incubator/xap/trunk/WebContent/examples/widgets/verticalBoxPane.xal
    incubator/xap/trunk/WebContent/examples/widgets/verticalPanelExample.html
    incubator/xap/trunk/WebContent/examples/widgets/verticalPanelExample.xal
    incubator/xap/trunk/WebContent/examples/widgets/window.html
    incubator/xap/trunk/WebContent/examples/widgets/window.xal
    incubator/xap/trunk/src/xap/mco/McoNamespaceHandler.js

Modified: incubator/xap/trunk/WebContent/examples/basic/dom0.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/basic/dom0.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/basic/dom0.html (original)
+++ incubator/xap/trunk/WebContent/examples/basic/dom0.html Mon Dec  4 17:57:23 2006
@@ -36,7 +36,6 @@
 
 
 	<script language="JavaScript" src="dom0.js"> </script>
-	<script language="JavaScript" src="dom0Handler.js"> </script>	
 
 	<!-- must do this before we load the actual application: -->
 	<script language="JavaScript">						

Modified: incubator/xap/trunk/WebContent/examples/basic/dom0.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/basic/dom0.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/basic/dom0.xal (original)
+++ incubator/xap/trunk/WebContent/examples/basic/dom0.xal Mon Dec  4 17:57:23 2006
@@ -4,7 +4,8 @@
 	<mco:mco 
 		xmlns:mco="http://openxal.org/core/mco" 
 		id="handler" 
-		src="dom0Handler"
+		src="dom0Handler.js"
+		class="dom0Handler"
 	/>
 
 

Modified: incubator/xap/trunk/WebContent/examples/dataBinding/javascriptDatasource.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dataBinding/javascriptDatasource.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dataBinding/javascriptDatasource.html (original)
+++ incubator/xap/trunk/WebContent/examples/dataBinding/javascriptDatasource.html Mon Dec  4 17:57:23 2006
@@ -17,7 +17,6 @@
 		</script>
 
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-		<script language="JavaScript" type="text/javascript" src="Layout.js"></script>		
 	</head>
 
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/dataBinding/javascriptDatasource.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dataBinding/javascriptDatasource.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dataBinding/javascriptDatasource.xal (original)
+++ incubator/xap/trunk/WebContent/examples/dataBinding/javascriptDatasource.xal Mon Dec  4 17:57:23 2006
@@ -22,7 +22,8 @@
 	<!-- For colors: -->
 	<mco:mco 
 		xmlns:mco="http://openxal.org/core/mco" 
-		src="Layout"
+		class="Layout"
+		src="Layout.js"
 		id="layout" 
 	/>
 

Modified: incubator/xap/trunk/WebContent/examples/dataBinding/mcoAttribute.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dataBinding/mcoAttribute.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dataBinding/mcoAttribute.html (original)
+++ incubator/xap/trunk/WebContent/examples/dataBinding/mcoAttribute.html Mon Dec  4 17:57:23 2006
@@ -17,7 +17,6 @@
 		</script>    
 		
 	   	<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	   	<script language="JavaScript" type="text/javascript" src="AttributeGetter.js"></script>   
 	</head>
 	  
  	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/dataBinding/mcoAttribute.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dataBinding/mcoAttribute.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dataBinding/mcoAttribute.xal (original)
+++ incubator/xap/trunk/WebContent/examples/dataBinding/mcoAttribute.xal Mon Dec  4 17:57:23 2006
@@ -4,7 +4,8 @@
 	<mco:mco 
 		xmlns:mco="http://openxal.org/core/mco" 
 		id="attributeGetter" 
-		src="AttributeGetter"
+		class="AttributeGetter"
+		src="AttributeGetter.js"
 	/>
 
 

Modified: incubator/xap/trunk/WebContent/examples/dataBinding/simpleDocumentDatasource_0.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dataBinding/simpleDocumentDatasource_0.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dataBinding/simpleDocumentDatasource_0.html (original)
+++ incubator/xap/trunk/WebContent/examples/dataBinding/simpleDocumentDatasource_0.html Mon Dec  4 17:57:23 2006
@@ -14,7 +14,6 @@
 			};
 		</script>
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-		<script language="JavaScript" src="Layout.js"> </script>
 	</head>
 	<body onload="Xap.createEmbeddedApplications();">
 		(See <a href="simpleDocumentDatasource.xal">simpleDocumentDatasource_0.xal</a>, <a href="employees.xml">translator.xml</a>.)

Modified: incubator/xap/trunk/WebContent/examples/dataBinding/simpleDocumentDatasource_0.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dataBinding/simpleDocumentDatasource_0.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dataBinding/simpleDocumentDatasource_0.xal (original)
+++ incubator/xap/trunk/WebContent/examples/dataBinding/simpleDocumentDatasource_0.xal Mon Dec  4 17:57:23 2006
@@ -6,7 +6,8 @@
 	-->
 	<mco:mco 
 		xmlns:mco="http://openxal.org/core/mco" 
-		src="Layout"
+		src="Layout.js"
+		class="Layout"
 		id="layout" 
 	/>
 	

Modified: incubator/xap/trunk/WebContent/examples/dataBinding/simpleEmployees.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dataBinding/simpleEmployees.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dataBinding/simpleEmployees.xal (original)
+++ incubator/xap/trunk/WebContent/examples/dataBinding/simpleEmployees.xal Mon Dec  4 17:57:23 2006
@@ -5,14 +5,6 @@
 		id="myDataSource" 
 		source="employees.xml"
 	/>
-
-
-	<binding 
-		xmlns="http://openxal.org/core/data" 
-		dataSource="myDataSource" 
-		select="//" 
-		id="WHOLE_DOC"
-	/>
 	
 	<binding 	
 		xmlns="http://openxal.org/core/data" 
@@ -28,7 +20,7 @@
 
 			<xal:table id="testComponent" width="750px" height="400px">
 			
-				<xal:column>
+				<xal:column dataType="number">
 					<xal:header width="60px" text="i.d." fontWeight="bolder" fontFamily="Garamond" fontSize="11pt"/>
 				</xal:column>
 				<xal:column>

Modified: incubator/xap/trunk/WebContent/examples/dojo/colorPicker.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dojo/colorPicker.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dojo/colorPicker.html (original)
+++ incubator/xap/trunk/WebContent/examples/dojo/colorPicker.html Mon Dec  4 17:57:23 2006
@@ -47,11 +47,7 @@
 		dojo.require("dojo.widget.ColorPalette");  			                                          
  	</script>
 
-	<script language="JavaScript" src="xapStatus.js"> </script>
-	<script language="JavaScript" src="colorPickerHandler.js"> </script>	
-
-
- 
+	<script language="JavaScript" src="xapStatus.js"> </script> 
  
  </head>
   

Modified: incubator/xap/trunk/WebContent/examples/dojo/colorPicker.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dojo/colorPicker.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dojo/colorPicker.xal (original)
+++ incubator/xap/trunk/WebContent/examples/dojo/colorPicker.xal Mon Dec  4 17:57:23 2006
@@ -4,7 +4,8 @@
 	<mco:mco 
 		xmlns:mco="http://openxal.org/core/mco" 
 		id="handler" 
-		src="colorPickerHandler"
+		src="colorPickerHandler.js"
+		class="colorPickerHandler"
 	/>
 
 

Modified: incubator/xap/trunk/WebContent/examples/dojo/dateAndColorPickers.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dojo/dateAndColorPickers.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dojo/dateAndColorPickers.html (original)
+++ incubator/xap/trunk/WebContent/examples/dojo/dateAndColorPickers.html Mon Dec  4 17:57:23 2006
@@ -59,12 +59,7 @@
 		dojo.require("dojo.widget.ColorPalette");  			                                       
  	</script>
 
-	<script language="JavaScript" src="xapStatus.js"> </script>
-	<script language="JavaScript" src="datePickerHandler.js"> </script>	
-	<script language="JavaScript" src="colorPickerHandler.js"> </script>		
-
-
- 
+	<script language="JavaScript" src="xapStatus.js"> </script> 
  
  </head>
   

Modified: incubator/xap/trunk/WebContent/examples/dojo/datePicker.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dojo/datePicker.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dojo/datePicker.xal (original)
+++ incubator/xap/trunk/WebContent/examples/dojo/datePicker.xal Mon Dec  4 17:57:23 2006
@@ -4,7 +4,8 @@
 	<mco:mco 
 		xmlns:mco="http://openxal.org/core/mco" 
 		id="handler" 
-		src="datePickerHandler"
+		class="datePickerHandler"
+		src="datePickerHandler.js"
 	/>
 
 

Modified: incubator/xap/trunk/WebContent/examples/dojo/dojo1.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dojo/dojo1.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dojo/dojo1.html (original)
+++ incubator/xap/trunk/WebContent/examples/dojo/dojo1.html Mon Dec  4 17:57:23 2006
@@ -52,8 +52,6 @@
  	</script>
 
 	<script language="JavaScript" src="xapStatus.js"> </script>
-	<script language="JavaScript" src="dojo1Handler.js"> </script>	
-	
  </head>
  
 

Modified: incubator/xap/trunk/WebContent/examples/dojo/dojo1.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dojo/dojo1.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dojo/dojo1.xal (original)
+++ incubator/xap/trunk/WebContent/examples/dojo/dojo1.xal Mon Dec  4 17:57:23 2006
@@ -4,7 +4,8 @@
 	<mco:mco 
 		xmlns:mco="http://openxal.org/core/mco" 
 		id="handler" 
-		src="dojo1Handler"
+		src="dojo1Handler.js"
+		class="dojo1Handler"
 	/>
 
 

Modified: incubator/xap/trunk/WebContent/examples/dojo/portlet.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dojo/portlet.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dojo/portlet.html (original)
+++ incubator/xap/trunk/WebContent/examples/dojo/portlet.html Mon Dec  4 17:57:23 2006
@@ -51,8 +51,6 @@
 		dojo.require("dojo.widget.ColorPalette");  			                                          
  	</script>
 
-	<script language="JavaScript" src="portletHandler.js"> </script>	
-
 	<script language="JavaScript">
      		Xap.defineSession("portlet.xal", "ThreeSquare","xapHome","../../","dojo") ; 
  	</script>

Modified: incubator/xap/trunk/WebContent/examples/dojo/portlet.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dojo/portlet.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dojo/portlet.xal (original)
+++ incubator/xap/trunk/WebContent/examples/dojo/portlet.xal Mon Dec  4 17:57:23 2006
@@ -4,7 +4,8 @@
 	<mco:mco 
 		xmlns:mco="http://openxal.org/core/mco" 
 		id="handler" 
-		src="portletHandler"
+		src="portletHandler.js"
+		class="portletHandler"
 	/>
 
 

Modified: incubator/xap/trunk/WebContent/examples/htmlEmbedding/cornerPalettesCentralButton.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/htmlEmbedding/cornerPalettesCentralButton.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/htmlEmbedding/cornerPalettesCentralButton.xal (original)
+++ incubator/xap/trunk/WebContent/examples/htmlEmbedding/cornerPalettesCentralButton.xal Mon Dec  4 17:57:23 2006
@@ -7,7 +7,8 @@
 	<mco:mco 
 		xmlns:mco="http://openxal.org/core/mco" 
 		id="handler" 
-		src="palettesAndButtonHandlers"
+		src="palettesAndButtonHandlers.js"
+		class="palettesAndButtonHandlers"
 	/>
 
 

Modified: incubator/xap/trunk/WebContent/examples/widgets/borderPane.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/borderPane.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/borderPane.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/borderPane.html Mon Dec  4 17:57:23 2006
@@ -19,7 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/borderPane.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/borderPane.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/borderPane.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/borderPane.xal Mon Dec  4 17:57:23 2006
@@ -3,7 +3,8 @@
 
 	<mco:mco 
 		id="attributeSetter" 
-		src="AttributeTester"
+		class="AttributeTester"
+		src="AttributeTester.js"
 		onLoad="javascript:alert('called onload from mco')"
 	/>
 

Modified: incubator/xap/trunk/WebContent/examples/widgets/button.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/button.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/button.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/button.html Mon Dec  4 17:57:23 2006
@@ -62,8 +62,7 @@
 						};
 		</script -->	
 		
-		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    	
+		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>	
 							
         <script language="JavaScript" type="text/javascript">						
 			xap.util.Debug.loadDebuggables();

Modified: incubator/xap/trunk/WebContent/examples/widgets/button.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/button.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/button.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/button.xal Mon Dec  4 17:57:23 2006
@@ -1,6 +1,11 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
 
-	<mco:mco xmlns:mco="http://openxal.org/core/mco" id="attributeSetter" src="AttributeTester" /> 
+	<mco
+		xmlns="http://openxal.org/core/mco" 
+		id="attributeSetter" 
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
 	
 	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
 		<xm:append select="/ui">

Modified: incubator/xap/trunk/WebContent/examples/widgets/checkBox.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/checkBox.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/checkBox.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/checkBox.html Mon Dec  4 17:57:23 2006
@@ -19,7 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/checkBox.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/checkBox.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/checkBox.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/checkBox.xal Mon Dec  4 17:57:23 2006
@@ -1,12 +1,12 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
 
 
-	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		src="AttributeTester"
-	/>
-
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
 
 
 	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">

Modified: incubator/xap/trunk/WebContent/examples/widgets/combobox.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/combobox.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/combobox.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/combobox.xal Mon Dec  4 17:57:23 2006
@@ -2,10 +2,10 @@
 
 
 	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		src="AttributeTesterAlias" 
-		path="../widgets/AttributeTester.js"
+		class="AttributeTesterAlias"
+		src="../widgets/AttributeTester.js"
 	/>
 
 

Modified: incubator/xap/trunk/WebContent/examples/widgets/complexExample.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/complexExample.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/complexExample.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/complexExample.html Mon Dec  4 17:57:23 2006
@@ -19,7 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/complexExample.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/complexExample.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/complexExample.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/complexExample.xal Mon Dec  4 17:57:23 2006
@@ -1,12 +1,12 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
 
 
-	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		src="AttributeTester"
-	/>
-
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
 
 
 	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">

Modified: incubator/xap/trunk/WebContent/examples/widgets/desktopPane.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/desktopPane.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/desktopPane.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/desktopPane.html Mon Dec  4 17:57:23 2006
@@ -18,9 +18,7 @@
 		};
 	</script>    
 	
-	<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-   <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>
-    
+	<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>   
  </head>
   
  <body  onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/desktopPane.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/desktopPane.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/desktopPane.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/desktopPane.xal Mon Dec  4 17:57:23 2006
@@ -1,13 +1,11 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
 
-
-	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		src="AttributeTester"
-	/>
-
-
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
 
 	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
 	<xm:append select="/ui">

Modified: incubator/xap/trunk/WebContent/examples/widgets/freePane.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/freePane.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/freePane.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/freePane.html Mon Dec  4 17:57:23 2006
@@ -19,7 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/freePane.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/freePane.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/freePane.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/freePane.xal Mon Dec  4 17:57:23 2006
@@ -1,12 +1,12 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
 
 
-	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		src="AttributeTester"
-	/>
-
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
 
 
 	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">

Modified: incubator/xap/trunk/WebContent/examples/widgets/freePanelEvents.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/freePanelEvents.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/freePanelEvents.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/freePanelEvents.html Mon Dec  4 17:57:23 2006
@@ -19,7 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/freePanelEvents.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/freePanelEvents.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/freePanelEvents.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/freePanelEvents.xal Mon Dec  4 17:57:23 2006
@@ -1,12 +1,12 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
 
 
-	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		src="AttributeTester"
-	/>
-
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
 
 
 	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">

Modified: incubator/xap/trunk/WebContent/examples/widgets/gridPanel.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/gridPanel.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/gridPanel.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/gridPanel.html Mon Dec  4 17:57:23 2006
@@ -19,7 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/gridPanel.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/gridPanel.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/gridPanel.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/gridPanel.xal Mon Dec  4 17:57:23 2006
@@ -1,12 +1,11 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
 
-
-	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		src="AttributeTester"
-	/>
-
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
 
 
 	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">

Modified: incubator/xap/trunk/WebContent/examples/widgets/gridPanel3.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/gridPanel3.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/gridPanel3.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/gridPanel3.html Mon Dec  4 17:57:23 2006
@@ -19,7 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/gridPanel3.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/gridPanel3.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/gridPanel3.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/gridPanel3.xal Mon Dec  4 17:57:23 2006
@@ -1,12 +1,12 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
 
 
-	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		src="AttributeTester"
-	/>
-
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
 
 
 	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">

Modified: incubator/xap/trunk/WebContent/examples/widgets/gridPanel5.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/gridPanel5.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/gridPanel5.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/gridPanel5.html Mon Dec  4 17:57:23 2006
@@ -19,7 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/gridPanel5.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/gridPanel5.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/gridPanel5.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/gridPanel5.xal Mon Dec  4 17:57:23 2006
@@ -1,13 +1,12 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
 
 
-	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		src="AttributeTester"
-	/>
-
-
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
 
 	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
 	<xm:append select="/ui">

Modified: incubator/xap/trunk/WebContent/examples/widgets/horizontalBoxPane.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/horizontalBoxPane.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/horizontalBoxPane.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/horizontalBoxPane.html Mon Dec  4 17:57:23 2006
@@ -19,7 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/horizontalBoxPane.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/horizontalBoxPane.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/horizontalBoxPane.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/horizontalBoxPane.xal Mon Dec  4 17:57:23 2006
@@ -1,12 +1,12 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
 
 
-	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		src="AttributeTester"
-	/>
-
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
 
 
 	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">

Modified: incubator/xap/trunk/WebContent/examples/widgets/horizontalFlowPane.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/horizontalFlowPane.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/horizontalFlowPane.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/horizontalFlowPane.html Mon Dec  4 17:57:23 2006
@@ -19,7 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/horizontalFlowPane.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/horizontalFlowPane.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/horizontalFlowPane.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/horizontalFlowPane.xal Mon Dec  4 17:57:23 2006
@@ -2,8 +2,12 @@
 	xmlns:xm="http://openxal.org/core/xmodify">
 	
 	
-	<mco:mco xmlns:mco="http://openxal.org/core/mco" id="attributeSetter" src="AttributeTester"/>
-	
+	<mco
+		xmlns="http://openxal.org/core/mco" 
+		id="attributeSetter" 
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>		
 	
 	<!-- Page title -->
 	<xm:modifications document="html"> 

Modified: incubator/xap/trunk/WebContent/examples/widgets/label.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/label.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/label.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/label.html Mon Dec  4 17:57:23 2006
@@ -19,7 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/label.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/label.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/label.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/label.xal Mon Dec  4 17:57:23 2006
@@ -1,10 +1,10 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
-	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		src="AttributeTester"
-	/>
-
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
 	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
 		<xm:append select="/ui">
 			<label id="testComponent" width="400px" height="100px"

Modified: incubator/xap/trunk/WebContent/examples/widgets/listbox.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/listbox.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/listbox.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/listbox.html Mon Dec  4 17:57:23 2006
@@ -27,7 +27,6 @@
 	
 
 	<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-  	<script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script> 
     
     <script language="JavaScript">  
 	<!-- must do this before we load the actual application: -->    

Modified: incubator/xap/trunk/WebContent/examples/widgets/listbox.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/listbox.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/listbox.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/listbox.xal Mon Dec  4 17:57:23 2006
@@ -1,8 +1,12 @@
 <xal xmlns="http://openxal.org/ui" xmlns:dojo="http://www.dojotoolkit.org/">
 
 
-	<mco:mco xmlns:mco="http://openxal.org/core/mco" id="attributeSetter" src="AttributeTester" />
-
+	<mco
+		xmlns="http://openxal.org/core/mco" 
+		id="attributeSetter" 
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
 
 
 	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">

Modified: incubator/xap/trunk/WebContent/examples/widgets/menu.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/menu.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/menu.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/menu.html Mon Dec  4 17:57:23 2006
@@ -19,7 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/menu.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/menu.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/menu.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/menu.xal Mon Dec  4 17:57:23 2006
@@ -1,12 +1,12 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
 
 
-	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		src="AttributeTester"
-	/>
-
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
 
 
 	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">

Modified: incubator/xap/trunk/WebContent/examples/widgets/passwordField.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/passwordField.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/passwordField.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/passwordField.html Mon Dec  4 17:57:23 2006
@@ -19,7 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/passwordField.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/passwordField.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/passwordField.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/passwordField.xal Mon Dec  4 17:57:23 2006
@@ -1,12 +1,12 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
 
 
-	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		src="AttributeTester"
-	/>
-
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
 
 
 	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">

Modified: incubator/xap/trunk/WebContent/examples/widgets/popupMenu.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/popupMenu.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/popupMenu.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/popupMenu.html Mon Dec  4 17:57:23 2006
@@ -19,7 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/popupMenu.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/popupMenu.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/popupMenu.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/popupMenu.xal Mon Dec  4 17:57:23 2006
@@ -1,12 +1,12 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
 
 
-	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		src="AttributeTester"
-	/>
-
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
 
 
 	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">

Modified: incubator/xap/trunk/WebContent/examples/widgets/radioButton.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/radioButton.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/radioButton.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/radioButton.html Mon Dec  4 17:57:23 2006
@@ -19,7 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/radioButton.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/radioButton.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/radioButton.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/radioButton.xal Mon Dec  4 17:57:23 2006
@@ -1,11 +1,12 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
 
 
-	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		src="AttributeTester"
-	/>
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
 
 
 

Modified: incubator/xap/trunk/WebContent/examples/widgets/scrollPane.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/scrollPane.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/scrollPane.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/scrollPane.html Mon Dec  4 17:57:23 2006
@@ -19,7 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/scrollPane.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/scrollPane.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/scrollPane.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/scrollPane.xal Mon Dec  4 17:57:23 2006
@@ -1,8 +1,11 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui">
 	
-	
-	<mco:mco xmlns:mco="http://openxal.org/core/mco" id="attributeSetter" src="AttributeTester"/>
-	
+	<mco
+		xmlns="http://openxal.org/core/mco" 
+		id="attributeSetter" 
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>		
 	
 	
 	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">

Modified: incubator/xap/trunk/WebContent/examples/widgets/splitPane.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/splitPane.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/splitPane.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/splitPane.html Mon Dec  4 17:57:23 2006
@@ -19,7 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/splitPane.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/splitPane.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/splitPane.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/splitPane.xal Mon Dec  4 17:57:23 2006
@@ -1,11 +1,12 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
 	
 	
-	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		src="AttributeTester"
-	/>
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
 	
 	
 	

Modified: incubator/xap/trunk/WebContent/examples/widgets/splitPaneExample.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/splitPaneExample.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/splitPaneExample.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/splitPaneExample.html Mon Dec  4 17:57:23 2006
@@ -19,7 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/splitPaneExample.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/splitPaneExample.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/splitPaneExample.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/splitPaneExample.xal Mon Dec  4 17:57:23 2006
@@ -1,8 +1,12 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
-	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+	
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		src="AttributeTester"/>		
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
+	
 	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
 		<xm:append select="/ui">
 			<xal:splitPane width="100%" height="400px" orientation="horizontal">

Modified: incubator/xap/trunk/WebContent/examples/widgets/tabPane.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/tabPane.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/tabPane.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/tabPane.html Mon Dec  4 17:57:23 2006
@@ -19,7 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/tabPane.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/tabPane.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/tabPane.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/tabPane.xal Mon Dec  4 17:57:23 2006
@@ -1,11 +1,12 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
 
 
-	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		src="AttributeTester"
-	/>
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
 
 
 

Modified: incubator/xap/trunk/WebContent/examples/widgets/tabPaneExample.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/tabPaneExample.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/tabPaneExample.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/tabPaneExample.html Mon Dec  4 17:57:23 2006
@@ -19,7 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/tabPaneExample.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/tabPaneExample.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/tabPaneExample.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/tabPaneExample.xal Mon Dec  4 17:57:23 2006
@@ -1,12 +1,12 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
 
 
-	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		src="AttributeTester"
-	/>
-
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
 
 
 	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">

Modified: incubator/xap/trunk/WebContent/examples/widgets/table.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/table.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/table.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/table.html Mon Dec  4 17:57:23 2006
@@ -19,8 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
-	    <script language="JavaScript" type="text/javascript" src="TableMco.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/table.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/table.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/table.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/table.xal Mon Dec  4 17:57:23 2006
@@ -1,16 +1,18 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
 
 
-	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		src="AttributeTester"
-	/>
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
 	
 	<mco:mco 
 		xmlns:mco="http://openxal.org/core/mco" 
 		id="tableMco" 
-		src="TableMco"
+		class="TableMco"
+		src="TableMco.js"
 	/>
 	<macro:macro id="addRow" xmlns:macro="http://openxal.org/core/macro">
 		<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">

Modified: incubator/xap/trunk/WebContent/examples/widgets/tableSorting.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/tableSorting.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/tableSorting.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/tableSorting.html Mon Dec  4 17:57:23 2006
@@ -19,8 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
-	    <script language="JavaScript" type="text/javascript" src="TableMco.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/textArea.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/textArea.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/textArea.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/textArea.html Mon Dec  4 17:57:23 2006
@@ -19,7 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/textArea.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/textArea.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/textArea.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/textArea.xal Mon Dec  4 17:57:23 2006
@@ -1,9 +1,12 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"
 	xmlns:xm="http://openxal.org/core/xmodify">
 	
-	
-	<mco:mco xmlns:mco="http://openxal.org/core/mco" 
-	id="attributeSetter" src="AttributeTester" path="AttributeTester" />
+	<mco
+		xmlns="http://openxal.org/core/mco" 
+		id="attributeSetter" 
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
 	
 	
 	<!-- Page title -->

Modified: incubator/xap/trunk/WebContent/examples/widgets/textField.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/textField.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/textField.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/textField.html Mon Dec  4 17:57:23 2006
@@ -19,7 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/textField.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/textField.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/textField.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/textField.xal Mon Dec  4 17:57:23 2006
@@ -1,12 +1,12 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
 
 
-	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		src="AttributeTester"
-	/>
-
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
 
 
 	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">

Modified: incubator/xap/trunk/WebContent/examples/widgets/textFieldEvents.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/textFieldEvents.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/textFieldEvents.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/textFieldEvents.html Mon Dec  4 17:57:23 2006
@@ -19,7 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/textFieldEvents.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/textFieldEvents.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/textFieldEvents.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/textFieldEvents.xal Mon Dec  4 17:57:23 2006
@@ -1,12 +1,11 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
 
-
-	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		src="AttributeTester"
-	/>
-
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
 
 
 	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">

Modified: incubator/xap/trunk/WebContent/examples/widgets/tooltip.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/tooltip.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/tooltip.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/tooltip.html Mon Dec  4 17:57:23 2006
@@ -19,7 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/tooltip.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/tooltip.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/tooltip.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/tooltip.xal Mon Dec  4 17:57:23 2006
@@ -1,12 +1,12 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
 
 
-	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		src="AttributeTester"
-	/>
-
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
 
 
 	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">

Modified: incubator/xap/trunk/WebContent/examples/widgets/tree.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/tree.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/tree.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/tree.html Mon Dec  4 17:57:23 2006
@@ -19,8 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
-	    <script language="JavaScript" type="text/javascript" src="TableMco.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/tree.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/tree.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/tree.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/tree.xal Mon Dec  4 17:57:23 2006
@@ -1,16 +1,19 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
 
 
-	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		src="AttributeTester"
-	/>
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
+	
 	
 	<mco:mco 
 		xmlns:mco="http://openxal.org/core/mco" 
 		id="tableMco" 
-		src="TableMco"
+		class="TableMco"
+		src="TableMco.js"
 	/>
 	<macro:macro id="addRow" xmlns:macro="http://openxal.org/core/macro">
 		<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">

Modified: incubator/xap/trunk/WebContent/examples/widgets/treeTable.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/treeTable.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/treeTable.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/treeTable.html Mon Dec  4 17:57:23 2006
@@ -19,8 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
-	    <script language="JavaScript" type="text/javascript" src="TableMco.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/treeTable.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/treeTable.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/treeTable.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/treeTable.xal Mon Dec  4 17:57:23 2006
@@ -1,16 +1,18 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
 
 
-	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		src="AttributeTester"
-	/>
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
 	
 	<mco:mco 
 		xmlns:mco="http://openxal.org/core/mco" 
 		id="tableMco" 
-		src="TableMco"
+		class="TableMco"
+		src="TableMco.js"
 	/>
 	<macro:macro id="addRow" xmlns:macro="http://openxal.org/core/macro">
 		<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">

Modified: incubator/xap/trunk/WebContent/examples/widgets/verticalBoxPane.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/verticalBoxPane.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/verticalBoxPane.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/verticalBoxPane.html Mon Dec  4 17:57:23 2006
@@ -19,7 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/verticalBoxPane.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/verticalBoxPane.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/verticalBoxPane.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/verticalBoxPane.xal Mon Dec  4 17:57:23 2006
@@ -1,11 +1,11 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
 
-
-	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		src="AttributeTester"
-	/>
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
 
 
 

Modified: incubator/xap/trunk/WebContent/examples/widgets/verticalPanelExample.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/verticalPanelExample.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/verticalPanelExample.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/verticalPanelExample.html Mon Dec  4 17:57:23 2006
@@ -19,7 +19,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
 	</head>
 	  
 	<body onload="Xap.createEmbeddedApplications();">

Modified: incubator/xap/trunk/WebContent/examples/widgets/verticalPanelExample.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/verticalPanelExample.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/verticalPanelExample.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/verticalPanelExample.xal Mon Dec  4 17:57:23 2006
@@ -1,12 +1,12 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
 
 
-	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		src="AttributeTester"
-	/>
-
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
 
 
 	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">

Modified: incubator/xap/trunk/WebContent/examples/widgets/window.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/window.html?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/window.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/window.html Mon Dec  4 17:57:23 2006
@@ -30,7 +30,6 @@
 		</script>    
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
-	    <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>    
 
 	    <script language="JavaScript">  
 		<!-- must do this before we load the actual application: -->    

Modified: incubator/xap/trunk/WebContent/examples/widgets/window.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/window.xal?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/window.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/window.xal Mon Dec  4 17:57:23 2006
@@ -1,11 +1,12 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
 
 
-	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		src="AttributeTester"
-	/>
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
 
 
 

Modified: incubator/xap/trunk/src/xap/mco/McoNamespaceHandler.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/mco/McoNamespaceHandler.js?view=diff&rev=482448&r1=482447&r2=482448
==============================================================================
--- incubator/xap/trunk/src/xap/mco/McoNamespaceHandler.js (original)
+++ incubator/xap/trunk/src/xap/mco/McoNamespaceHandler.js Mon Dec  4 17:57:23 2006
@@ -30,15 +30,6 @@
 xap.mco.McoNamespaceHandler = function(){}
 
 //-----------------------------------------------------------------------
-// Constants.
-//-----------------------------------------------------------------------
-xap.mco.McoNamespaceHandler.EXECUTE = "execute";
-xap.mco.McoNamespaceHandler.ID = "id";
-xap.mco.McoNamespaceHandler.SOURCE = "src";
-xap.mco.McoNamespaceHandler.ON_LOAD = "onLoad";
-xap.mco.McoNamespaceHandler.MCO = "mco";
-
-//-----------------------------------------------------------------------
 // Class Variables.
 //-----------------------------------------------------------------------
 xap.mco.McoNamespaceHandler.s_log = xap.util.LogFactory.getLog( "xap.mco.McoNamespaceHandler" );
@@ -65,9 +56,9 @@
 
 //TODO unit test this stuff better!
 	var name = element.getLocalName();
-	if ( name == xap.mco.McoNamespaceHandler.EXECUTE ) {
+	if ( name == 'execute' ) {
 		this._handleExecute( element );
-	} else if ( name == xap.mco.McoNamespaceHandler.MCO ) {
+	} else if ( name == 'mco' ) {
 		this._handleMcoDeclaration( element );
 	}
 }
@@ -77,53 +68,56 @@
 	var textNode = element.firstChild;
 	if (!textNode || textNode.nodeType != google.DOM_TEXT_NODE) return;
 	var mcoString = textNode.nodeValue;
-	session.getEventHandler().fireEvent(xap.mco.McoNamespaceHandler.EXECUTE,mcoString,element,null);
+	session.getEventHandler().fireEvent('execute',mcoString,element,null);
 }
 
 xap.mco.McoNamespaceHandler.prototype._handleMcoDeclaration = function( element ) {
 	var session = this._session;
+	
+	//check that ID exists, it is a requirement
 	var id = element.getAttribute( "id" );
-	if ( id == null || 
-		 id == "" ||
-		 xap.xml.dom.XapElement.isGeneratedId( id )) {
+	if ( !id || id == "" || xap.xml.dom.XapElement.isGeneratedId( id )) {
 		 session.handleException(
 		 	new xap.xml.InvalidXmlException( 
 		 		xap.xml.InvalidXmlException.MISSING_ATTRIBUTE_MSGID,
-				new Array( xap.mco.McoNamespaceHandler.ID, 
-					   	   element.toXml( true ))));
+				new Array( 'id', element.toXml( true ))));
 	}
-	var src = element.getAttribute( "src" );
-	if ( src == null || src == "" ) {
+	
+	
+	var src = element.getAttribute( 'src' );
+	var className = element.getAttribute( 'class' );
+	
+	if (!className || className==""){
 		session.handleException(
 		 	new xap.xml.InvalidXmlException( 
 		 		xap.xml.InvalidXmlException.MISSING_ATTRIBUTE_MSGID,
-				new Array( xap.mco.McoNamespaceHandler.SOURCE, 
-					   	   element.toXml( true ))));
+				new Array( 'class', element.toXml( true ))));
 	}
 	
-	// See if the 'src' describes a valid constructor:
-	var mcoConstructor = Xap.resolveConstructor(src) ;
-	// ...returned an object if it's there, else null.
-	// If there is no constructor, try the path---do it this
-	// way because we don't want to reload the source file
-	// every time we define an mco using the constructor:
+	
+	// See if the 'class' describes a valid constructor:
+	var mcoConstructor = Xap.resolveConstructor(className) ;
+	
+	
+	//if it didn't try to load the src file which should
+	//have that constructor in it. We should probably be more careful
+	//about only loading the source file once..
 	if( !mcoConstructor ){
-		// If there's a path to code to evaluate first---if there is, evaluate it:
-		var path = element.getAttribute( "path" );
-		if( path ){
+		if( src ){
 			var sourceString = null ;
 			try {
 				var theRetriever = this._session.getRequestService() ;
-				sourceString = theRetriever.retrieve( path ).responseText;
+				sourceString = theRetriever.retrieve( src ).responseText;
 			} catch (eRetrieve){
 				throw new xap.util.Exception(
 											"Problem getting data from location "
-											+ path
+											+ src
 											+";\n"+eRetrieve
 												) ;
 			}
 			try {
 				dj_global.eval(sourceString) ;
+				mcoConstructor = Xap.resolveConstructor(className) ;
 			} catch ( eEvaluation ){
 				throw new xap.util.Exception(
 											"Problem evaluating data from location "
@@ -136,28 +130,29 @@
 		}
 	}
 	
-	xap.mco.McoNamespaceHandler.s_log.debug( "Creating mco id: ["+ id + "] from source: [" 
-									 + src + "]");
+	xap.mco.McoNamespaceHandler.s_log.debug( "Creating mco id: ["+ id + "] from class: [" 
+									 + className + "]");
 									 
-	mcoConstructor = Xap.resolveConstructor(src) ;
-	if( mcoConstructor == null ){
+	//we STILL don't have an MCO constructor, try require() on the class name
+	if( !mcoConstructor ){
 		//Last-ditch:
 		// (Doesn't even seem to work well yet---some
 		// problem getting the proper path for the require()
 		// statement, doesn't get right root for (at least)
 		// "xap"
 		// TODO:  Get this right.
-		var success = Xap.require(src) ;
+		//right now it will look in src/dojo for stuff
+		var success = Xap.require(className) ;
 		if( !success ){
 			throw new xap.util.Exception("Cannot load constructor for "
 										+ " MCO object"
-										+ " using Xap.require('"+src+"')"
+										+ " using Xap.require('"+className+"')"
 										+ "'.") ;
 		}	
 	
 		throw new xap.util.Exception("Cannot create an MCO object"
 										+ " from the constructor '"
-										+ src
+										+ className
 										+ "'.") ;	
 	
 	}									 



Mime
View raw message