You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by bb...@apache.org on 2007/01/10 15:46:04 UTC

svn commit: r494859 [1/4] - in /incubator/xap/trunk/WebContent/examples/widgets: ./ images/

Author: bbuffone
Date: Wed Jan 10 07:46:01 2007
New Revision: 494859

URL: http://svn.apache.org/viewvc?view=rev&rev=494859
Log:
On behalf of Trevor: New widget tests.

Added:
    incubator/xap/trunk/WebContent/examples/widgets/SmokeTests.js
    incubator/xap/trunk/WebContent/examples/widgets/boxPaneTests.xal
    incubator/xap/trunk/WebContent/examples/widgets/containerChildManipulation0.xal
    incubator/xap/trunk/WebContent/examples/widgets/containerChildManipulation1.xal
    incubator/xap/trunk/WebContent/examples/widgets/editableFieldTests.xal
    incubator/xap/trunk/WebContent/examples/widgets/formElementTests.xal
    incubator/xap/trunk/WebContent/examples/widgets/imageAttributeTests.xal
    incubator/xap/trunk/WebContent/examples/widgets/images/
    incubator/xap/trunk/WebContent/examples/widgets/images/background.JPG   (with props)
    incubator/xap/trunk/WebContent/examples/widgets/images/disabled.JPG   (with props)
    incubator/xap/trunk/WebContent/examples/widgets/images/error_16x16.gif   (with props)
    incubator/xap/trunk/WebContent/examples/widgets/images/foreground.JPG   (with props)
    incubator/xap/trunk/WebContent/examples/widgets/images/loading.gif   (with props)
    incubator/xap/trunk/WebContent/examples/widgets/images/lock_16x16.gif   (with props)
    incubator/xap/trunk/WebContent/examples/widgets/images/ok_16x16.gif   (with props)
    incubator/xap/trunk/WebContent/examples/widgets/images/smiley.jpg   (with props)
    incubator/xap/trunk/WebContent/examples/widgets/listItemSmokeTests0.xal
    incubator/xap/trunk/WebContent/examples/widgets/listItemSmokeTests1.xal
    incubator/xap/trunk/WebContent/examples/widgets/textAttributeTests.xal
    incubator/xap/trunk/WebContent/examples/widgets/toggledFormElementTests.xal
    incubator/xap/trunk/WebContent/examples/widgets/widget_loader.html
Modified:
    incubator/xap/trunk/WebContent/examples/widgets/AttributeTester.js
    incubator/xap/trunk/WebContent/examples/widgets/CyclingMco.js
    incubator/xap/trunk/WebContent/examples/widgets/borderPane.xal
    incubator/xap/trunk/WebContent/examples/widgets/checkBox.xal
    incubator/xap/trunk/WebContent/examples/widgets/combobox.xal
    incubator/xap/trunk/WebContent/examples/widgets/desktopPane.xal
    incubator/xap/trunk/WebContent/examples/widgets/editableCombobox.xal
    incubator/xap/trunk/WebContent/examples/widgets/freePane.xal
    incubator/xap/trunk/WebContent/examples/widgets/gridPanel3.xal
    incubator/xap/trunk/WebContent/examples/widgets/gridPanel5.xal
    incubator/xap/trunk/WebContent/examples/widgets/horizontalBoxPane.xal
    incubator/xap/trunk/WebContent/examples/widgets/horizontalFlowPane.xal
    incubator/xap/trunk/WebContent/examples/widgets/horizontalSplitPane.xal
    incubator/xap/trunk/WebContent/examples/widgets/horizontalToolBar.xal
    incubator/xap/trunk/WebContent/examples/widgets/htmlView.xal
    incubator/xap/trunk/WebContent/examples/widgets/label.xal
    incubator/xap/trunk/WebContent/examples/widgets/listbox.xal
    incubator/xap/trunk/WebContent/examples/widgets/menu.xal
    incubator/xap/trunk/WebContent/examples/widgets/passwordField.xal
    incubator/xap/trunk/WebContent/examples/widgets/popupMenu.xal
    incubator/xap/trunk/WebContent/examples/widgets/radioButton.xal
    incubator/xap/trunk/WebContent/examples/widgets/rowCycling.xal
    incubator/xap/trunk/WebContent/examples/widgets/scrollPane.xal
    incubator/xap/trunk/WebContent/examples/widgets/standardButtons.xal
    incubator/xap/trunk/WebContent/examples/widgets/tabPane.xal
    incubator/xap/trunk/WebContent/examples/widgets/table.xal
    incubator/xap/trunk/WebContent/examples/widgets/textArea.xal
    incubator/xap/trunk/WebContent/examples/widgets/textField.xal
    incubator/xap/trunk/WebContent/examples/widgets/tree.xal
    incubator/xap/trunk/WebContent/examples/widgets/treeTable.xal
    incubator/xap/trunk/WebContent/examples/widgets/verticalBoxPane.xal
    incubator/xap/trunk/WebContent/examples/widgets/verticalPanelExample.xal
    incubator/xap/trunk/WebContent/examples/widgets/verticalSplitPane.xal
    incubator/xap/trunk/WebContent/examples/widgets/verticalToolBar.xal
    incubator/xap/trunk/WebContent/examples/widgets/window.xal

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=494859&r1=494858&r2=494859
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/AttributeTester.js (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/AttributeTester.js Wed Jan 10 07:46:01 2007
@@ -1,15 +1,39 @@
-AttributeTester = function(){}
+AttributeTester = function(){AttributeTesterObj = this;}
 
 // Used in checking MCO resolution:
-AttributeTesterAlias = AttributeTester ;
+AttributeTesterAlias = AttributeTester;
 
 
+var AttributeTesterObj;
+
+
+//Makes the scrollpane take up the remainder of the screen
+//Some issues with IE and FF differences
+AttributeTester.prototype.resizeScrollPane = function(scrollPane, tcfp){
+	var tcHeight = tcfp.getAttribute("height");
+	if(window.innerHeight){
+		scrollPane.setAttribute("height", (window.innerHeight - parseInt(tcHeight.replace("px",""))) + "px");
+	}
+	else if(document.documentElement.clientHeight){
+		scrollPane.setAttribute("height", (document.documentElement.clientHeight - parseInt(tcHeight.replace("px",""))) + "px");
+	}
+	else scrollPane.setAttribute("height", "500px");
+}
+	
+
 AttributeTester.prototype.setAttribute = function(element, name, value){
 	if( name && name.length>0 ){
 		element.setAttribute(name, value);
 		this._lastElement = element ;
 	} else {
-		alert(eval(value)) ;
+		eval(value) ;
+	}
+}
+
+AttributeTester.prototype.removeAttribute = function(element, name){
+	if( name && name.length>0 ){
+		element.removeAttribute(name);
+		this._lastElement = element ;
 	}
 }
 
@@ -20,6 +44,18 @@
 	}
 }
 
+AttributeTester.prototype.evalCodeOnCR = function(event,code){
+	if(event.keyChar=='\r'){
+		this.evalCode(code) ;
+	}
+}
+
+AttributeTester.prototype.evalCode = function(code){
+	eval(code);
+}
+
+
+
 
 AttributeTester.prototype.getAttribute = function(element, name){
 	return element.getAttribute(name);
@@ -60,7 +96,7 @@
 }
 
 
-AttributeTester.prototype.log = function(text){
+AttributeTester.prototype.log = function(text, pp){
 	if (!this._logDiv){
 		var l = document.createElement('div');
 		l.style.position = 'absolute';
@@ -76,36 +112,41 @@
 	    document.body.appendChild(l);   
 	    this._logDiv = l;
 		dojo.event.connect(this._logDiv, "ondblclick",this,"clearLog");		  	    
-	    this._logDiv.innerHTML="[Double-click to clear.]<br/><br/>" ;        
 	}
-	dojo.event.connect(this.body, "ondblclick",this,"transportWidget");	
+	if(this._logDiv.innerHTML == "") this._logDiv.innerHTML="[Double-click to clear.]<br/><br/><A HREF=\"javascript:AttributeTesterObj.resizeOutput(true)\">Bigger</A> | <A HREF=\"javascript:AttributeTesterObj.resizeOutput(false)\">Smaller</A>";        
 	
+	//dojo.event.connect(this.body, "ondblclick",this,"transportWidget");	
+
 	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>";
-	if (this._logDiv.innerHTML.length>5000){
-      		this._logDiv.innerHTML = this._logDiv.innerHTML.substring(this._logDiv.innerHTML.length-5000);
+	if(pp == null || !pp){
+		this._logDiv.innerHTML = this._logDiv.innerHTML.replace(/<[\/]*b>/g,"") +
+			 "<br/><br/><b>" + text+"</b>";
+	}
+	else{
+	 	this._logDiv.innerHTML = this._logDiv.innerHTML.replace(/<[\/]*b>/g,"") + "<br/><br/><b><pre>" + this.prettyPrint(text)+"</pre></b>";
 	}
 	this._logDiv.scrollTop = this._logDiv.scrollHeight;
+	this._logDiv.style.display = "block";
 	
 }
 
+AttributeTester.prototype.resizeOutput = function(bigger){
+	if(bigger){
+		this._logDiv.style.width = (parseInt(this._logDiv.style.width) + 100) + "px";
+		this._logDiv.style.height = (parseInt(this._logDiv.style.height) + 100) + "px";
+	}
+	else{
+		this._logDiv.style.width = Math.max(parseInt(this._logDiv.style.width) - 100, 150) + "px";
+		this._logDiv.style.height = Math.max(parseInt(this._logDiv.style.height) - 100, 100) + "px";
+	}
+}
 
-AttributeTester.prototype.clearLog = function(event){
-	this._dblClickedLogLast = true ;
-	if( event.layerY && (event.layerY - this._logDiv.scrollTop) < 125){
-
-		if( this._logDiv.style.height=="350px" ){
-			this._logDiv.style.height = "25px" ;
-		} else {
-			this._logDiv.style.height = "350px" ;	
-		}
 
-		return ;
-	}
+AttributeTester.prototype.clearLog = function(){
 
 	if (this._logDiv){
+		this._logDiv.style.display = "none";
 		this._logDiv.innerHTML = "" ;	
 	}
 }
@@ -130,8 +171,46 @@
 }
 
 AttributeTester.prototype.printElement = function( element ){
-	alert(element.toXml());
+	//this.log(element.toXml());
+	this.log(element.toXml(), true);
+	
+}
+
+
+// I was having some weird issues before that meant indexOf wasn't working, so sorry for the bastardized code.
+AttributeTester.prototype.prettyPrint = function(str){
+	var indentCount = 0;
+	for(var i = 0; i < str.length; i++){
+		//unindent on </
+		if(str.substring(i, i+5) == "&lt;/"){
+			indentCount--;
+			str = str.substring(0, i) + "\n" + this.spaceString(indentCount*2) + str.substring(i);
+			i += 3 + (indentCount*2);
+		}
+		//indent on <
+		else if(str.substring(i, i+4) == "&lt;"){
+			str = str.substring(0, i) + "\n" + this.spaceString(indentCount*2) + str.substring(i);
+			i += 3 + (indentCount*2);
+			indentCount++;
+		}
+		//unindent on />
+		else if(str.substring(i, i+5) == "/&gt;"){
+			i += 1;
+			indentCount--;
+		}
+	
+	}
+	return str;
+}
+
+AttributeTester.prototype.spaceString = function(size){
+	var str = "";
+	for(i = 0; i < size; i++){
+		str += " ";
+	}
+	return str;
 }
+		
 
 AttributeTester.prototype.addBorderComponent = function( parent, borderPosition ){
 alert("add border component");
@@ -197,24 +276,4 @@
 	element.setAttribute("onSort","mco:attributeSetter.reportEvent(event)");
 	element.setAttribute("onStateChange","mco:attributeSetter.reportEvent(event)");
 	element.setAttribute("onTextChange","mco:attributeSetter.reportEvent(event)"); 
-}
-
-
-AttributeTester.prototype.transportWidget = function(event){
-
-	var testComponent = 
-		event.session.getDocumentContainer().getUiDocument().getElementById("testComponent") ;
-
-
-	var x = event.clickX ;
-	var y = event.clickY ;//- this._logDiv.scrollTop ;
-	this.setAttribute(testComponent,"x",""+ x +"px") ;
-	this.setAttribute(testComponent,"y",""+ y +"px") ;
-	
-//	for( var xx=0; xx<800; xx += 40 ){
-//		this.setAttribute(testComponent,"x",""+ (xx) +"px") ;
-//		this.setAttribute(testComponent,"y",""+ (xx/20) +"px") ;			
-//	}
-	
-		
 }

Modified: incubator/xap/trunk/WebContent/examples/widgets/CyclingMco.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/CyclingMco.js?view=diff&rev=494859&r1=494858&r2=494859
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/CyclingMco.js (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/CyclingMco.js Wed Jan 10 07:46:01 2007
@@ -1,6 +1,5 @@
 CyclingMco = function(){
-	window.rowCount = 0;
-	window.cellCount = 0;
+	
 };
 
 
@@ -12,15 +11,6 @@
 
 }
 
-
-CyclingMco.prototype.startTextCycling = function( tableElement, macro ){
-	window.tableElement = tableElement;
-	window.cycling = true;
-	window.intervalId = window.setInterval('replaceCells()',1);
-	window.cellCount = 0;
-	window.macro = macro;
-}
-
 CyclingMco.prototype.cycleOnce = function( tableElement ){
 	window.tableElement = tableElement;
 	window.cycling = false;
@@ -38,43 +28,16 @@
 	}	
 }
 
-CyclingMco.prototype.cycleInMemoryRows= function( tableElement ){
-	for (var i = 0; i<1000; i++){
-		var tmp = document.createElement('div');
-		var tmp2 = document.createElement('div');
-		tmp2.appendChild(tmp);
-		var peer = dojo.widget.createWidget("TableRow",{},tmp); 
-		xap.bridges.basic.AbstractWidgetBridge.cleanNode(peer.domNode);
-		peer.destroy();	
-	}
-	dojo.widget.manager.destroyAll();
-}
-
-		
-
 CyclingMco.prototype.printStats= function( event ){
 	var docHandler = event.session.getUiDocumentHandler();
 	alert("Elements->bridges: " + docHandler._elementsToBridges);
 	alert("Peers->bridges: " + docHandler._peersToBridges);
-	alert("Dojo widget manager widgets = " + dojo.widget.manager.widgets);
-	alert("Dojo widget manager widget IDs = " + dojo.widget.manager.widgetIds);
-	alert("Nodes saved for clobbering = " + dojo_ie_clobber.clobberNodes );
 }
 
 CyclingMco.prototype.stopCycling= function( ){
 	window.cycling = false;
 }
 
-
-replaceCells = function(){
-	window.macro.execute("Cell" + window.cellCount);
-	window.cellCount++;
-	
-//	if (window.cycling){
-//		window.intervalId = window.setTimeout('replaceCells()',1);
-//	}
-}
-
 replaceRows = function(){
 	var tableElement = window.tableElement;
 	for (var i = 0; i<tableElement.childNodes.length; i++){
@@ -95,7 +58,7 @@
 		newCell.setAttribute("text","cell:" + window.rowCount);
 		newRow.appendChild(newCell);
 		
-		newCell = ownerDocument.createElement("cell" , "http://openxal.org/ui");
+		newCell = ownerDocument.createElement("cell", "http://openxal.org/ui");
 		newCell.setAttribute("text","cell:" + window.rowCount);
 		newRow.appendChild(newCell);
 		

Added: incubator/xap/trunk/WebContent/examples/widgets/SmokeTests.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/SmokeTests.js?view=auto&rev=494859
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/SmokeTests.js (added)
+++ incubator/xap/trunk/WebContent/examples/widgets/SmokeTests.js Wed Jan 10 07:46:01 2007
@@ -0,0 +1,88 @@
+var tempGlobals = [];
+
+SmokeTests = function(){}
+
+
+SmokeTests.prototype.buttonLongTextWithImage = function(element, comparer){
+	element.setAttribute("image", "./images/foreground.JPG");
+	element.setAttribute("text", "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nulla sed enim et lectus blandit aliquam. Ut dignissim aliquet diam. In feugiat, quam eget vehicula sagittis, mi metus fringilla ipsum, non elementum quam odio ut nisl. Aliquam sed orci quis felis laoreet dignissim.");
+	element.setAttribute("autoWrap", "true");
+	element.setAttribute("horizontalTextToImagePlacement", "left");
+	comparer.setAttribute("visible", "false");
+}
+
+SmokeTests.prototype.buttonImageResizing = function(element, comparer){
+
+	element.setAttribute("image", "./images/foreground.JPG");
+	element.setAttribute("width", "300px");
+	element.setAttribute("height", "100px");
+	element.setAttribute("imageWidth", "50px");
+	element.setAttribute("imageHeight", "50px");
+	element.setAttribute("horizontalAlign", "center");
+	element.setAttribute("fontSize", "12px");
+	comparer.setAttribute("visible", "true");
+	comparer.setAttribute("image", "./images/foreground.JPG");
+	comparer.setAttribute("width", "300px");
+	comparer.setAttribute("height", "100px");
+	comparer.setAttribute("imageWidth", "50px");
+	comparer.setAttribute("imageHeight", "50px");
+	comparer.setAttribute("fontSize", "12px");
+	comparer.setAttribute("horizontalAlign", "center");
+	tempGlobals['buttonImageResizing'] = element;
+	setTimeout("tempGlobals['buttonImageResizing'].setAttribute('imageWidth', '500px')", 1000);
+	setTimeout("tempGlobals['buttonImageResizing'].setAttribute('imageHeight', '500px')", 1000);
+	setTimeout("tempGlobals['buttonImageResizing'].setAttribute('fontSize', '128px')", 1000);
+	setTimeout("tempGlobals['buttonImageResizing'].setAttribute('borderWidth', '30px')", 1000);
+	setTimeout("tempGlobals['buttonImageResizing'].setAttribute('horizontalAlign', 'right')", 1000);
+	setTimeout("tempGlobals['buttonImageResizing'].setAttribute('verticalAlign', 'bottom')", 1000);
+	setTimeout("tempGlobals['buttonImageResizing'].setAttribute('horizontalTextToImagePlacement', 'left')", 1000);
+	
+	setTimeout("tempGlobals['buttonImageResizing'].setAttribute('imageWidth', '50px')", 2500);
+	setTimeout("tempGlobals['buttonImageResizing'].setAttribute('imageHeight', '50px')", 2500);
+	setTimeout("tempGlobals['buttonImageResizing'].setAttribute('fontSize', '12px')", 2500);
+	setTimeout("tempGlobals['buttonImageResizing'].setAttribute('borderWidth', '1px')", 2500);
+	setTimeout("tempGlobals['buttonImageResizing'].setAttribute('horizontalAlign', 'center')", 2500);
+	setTimeout("tempGlobals['buttonImageResizing'].setAttribute('verticalAlign', 'center')", 2500);
+	setTimeout("tempGlobals['buttonImageResizing'].setAttribute('horizontalTextToImagePlacement', 'right')", 2500);
+}
+
+//The lookup is the index in the tempGlobals array
+SmokeTests.prototype.makeTimedChanges = function(lookup, attribute, startValue, increment, endValue, timeInterval, startPause, suffix){
+		//If it's a timed increment thing for animating changes slowly, do the for loop.
+		if(increment != 0){
+			for(var i = startValue, j = 0; (increment > 0 && i <= endValue) || (increment < 0 && i >= endValue); i += increment, j++){
+				setTimeout("tempGlobals['" + lookup + "'].setAttribute('" + attribute + "', '" + i+suffix + "')", (j * timeInterval) + startPause);
+			}
+		}
+}
+
+SmokeTests.prototype.textPlacement = function(element, comparer){
+	element.setAttribute("image", "./images/foreground.JPG");
+	element.setAttribute("width", "300px");
+	element.setAttribute("height", "100px");
+	element.setAttribute("imageWidth", "50px");
+	element.setAttribute("imageHeight", "50px");
+	element.setAttribute("horizontalTextToImagePlacement", "left");
+	element.setAttribute("verticalTextToImagePlacement", "bottom");
+	comparer.setAttribute("visible", "false");
+}
+
+SmokeTests.prototype.images = function(element){
+	element.setAttribute("image", "./images/foreground.JPG");
+	element.setAttribute("width", "300px");
+	element.setAttribute("height", "100px");
+	element.setAttribute("imageWidth", "50px");
+	element.setAttribute("imageHeight", "50px");
+	element.setAttribute("pressedImage", "./images/loading.gif");
+	element.setAttribute("mouseOverImage", "./images/smiley.jpg");
+	element.setAttribute("disabledImage", "./images/disabled.JPG");
+	element.setAttribute("backgroundImage", "./images/background.JPG");
+}
+
+
+SmokeTests.prototype.radioSelectDeselect = function(radio1, radio2){
+	radio2.setAttribute("selected", "true");
+	radio1.setAttribute("selected", "false");
+	radio2.setAttribute("selected", "false");	
+}
+	
\ No newline at end of file

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=494859&r1=494858&r2=494859
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/borderPane.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/borderPane.xal Wed Jan 10 07:46:01 2007
@@ -1,102 +1,119 @@
-<xal xmlns="http://openxal.org/ui" xmlns:mco="http://openxal.org/core/mco" xmlns:xal="http://openxal.org/ui"> 
-
-
-	<mco:mco 
+<xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
+	
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
 		class="AttributeTester"
 		src="AttributeTester.js"
-		onLoad="javascript:alert('called onload from mco')"
-	/>
-
-	<mco:execute>javascript:alert('called execute')</mco:execute>
+	/>	
+	
+	<mco
+		xmlns="http://openxal.org/core/mco" 
+		id="SmokeTests" 
+		class="SmokeTests"
+		src="SmokeTests.js"
+	/>	
 	
-		<horizontalBoxPane>
-
-		
-		<verticalBoxPane>
-		<xal:button width="200px" height="25px" 
-			text="remove north"
-			onCommand="mco:attributeSetter.remove(north)"/>
-			
-		<xal:button width="200px" height="25px" 
-			text="remove south"
-			onCommand="mco:attributeSetter.remove(south)"/>
-			
-		<xal:button width="200px" height="25px" 
-			text="remove east"
-			onCommand="mco:attributeSetter.remove(east)"/>
-			
-		<xal:button width="200px" height="25px" 
-			text="remove west"
-			onCommand="mco:attributeSetter.remove(west)"/>
-			
-		<xal:button width="200px" height="25px" 
-			text="remove center"
-			onCommand="mco:attributeSetter.remove(center)"/>
-			
-		<xal:button width="200px" height="25px" 
-			text="add north"
-			onCommand="mco:attributeSetter.addBorderComponent(testComponent, 'north')"/>
-			
-		<xal:button width="200px" height="25px" 
-			text="add south"
-			onCommand="mco:attributeSetter.addBorderComponent(testComponent, 'south')"/>
-			
-		<xal:button width="200px" height="25px" 
-			text="add east"
-			onCommand="mco:attributeSetter.addBorderComponent(testComponent, 'east')"/>
-			
-		<xal:button width="200px" height="25px" 
-			text="add west"
-			onCommand="mco:attributeSetter.addBorderComponent(testComponent, 'west')"/>
-			
-		<xal:button width="200px" height="25px" 
-			text="add center"
-			onCommand="mco:attributeSetter.addBorderComponent(testComponent, 'center')"/>
-		
-					
-		<xal:button width="200px" height="25px" 
-			text="horizontalGap -> 6px"
-			onCommand="mco:attributeSetter.setAttribute(testComponent,
-				'horizontalGap' ,'6px')"/>
-				
-		<xal:button width="200px" height="25px" 
-			text="verticalGap -> 2px"
-			onCommand="mco:attributeSetter.setAttribute(testComponent,
-				'verticalGap' ,'2px')"/>
 	
-			<xal:button width="200px" height="25px" 
-			text="width -> 30px"
-			onCommand="mco:attributeSetter.setAttribute(testComponent,
-				'width' ,'30px')"/>
-		
-		<xal:button width="200px" height="25px" 
-			text="height -> 30px"
-			onCommand="mco:attributeSetter.setAttribute(testComponent,
-				'height' ,'30px')"/>
-						
-		</verticalBoxPane>
-		<!--standard test things -->
-		<verticalBoxPane>
-		<include href="standardButtons.xal" xmlns="http://openxal.org/core/xinclude"/>
-		</verticalBoxPane>
-			<xal:borderPane width="200px" height="200px" backgroundColor="black"
-				id="testComponent" orientation="horizontal">
-				<xal:freePane backgroundColor="red" width="20px" height="20px" id="north" borderPosition="north">
-					<label text="foo" x="0" y="0"/>
-				</xal:freePane>
-				<xal:freePane backgroundColor="green" width="20px" height="20px"  id="south" borderPosition="south">
-					<label text="foo" x="0" y="0"/>
-				</xal:freePane>
-				<xal:freePane backgroundColor="blue" width="20px" height="20px"  id="east" borderPosition="east">
-					<label text="foo" x="0" y="0"/>
-				</xal:freePane>
-				<xal:freePane backgroundColor="yellow" width="20px" height="20px" id="west" borderPosition="west">
-					<label text="foo" x="0" y="0"/>
-				</xal:freePane>
-				<xal:freePane backgroundColor="orange" width="20px" height="20px"  id="center" borderPosition="center">
-					<label text="foo" x="0" y="0"/>
-				</xal:freePane>
-			</xal:borderPane>
-		</horizontalBoxPane>
+	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
+		<xm:append select="/ui">
+			<freePane width="500px" height="300px" backgroundColor="#F0F0F0" id="testComponentFreePane">
+				<xal:borderPane id="testComponent" width="300px" height="300px">
+					<xal:freePane backgroundColor="red" width="20px" height="20px" id="north" borderPosition="north">
+						<label text="foo" x="0" y="0"/>
+					</xal:freePane>
+					<xal:freePane backgroundColor="green" width="20px" height="20px"  id="south" borderPosition="south">
+						<label text="foo" x="0" y="0"/>
+					</xal:freePane>
+					<xal:freePane backgroundColor="blue" width="20px" height="20px"  id="east" borderPosition="east">
+						<label text="foo" x="0" y="0"/>
+					</xal:freePane>
+					<xal:freePane backgroundColor="yellow" width="20px" height="20px" id="west" borderPosition="west">
+						<label text="foo" x="0" y="0"/>
+					</xal:freePane>
+					<xal:freePane backgroundColor="orange" width="20px" height="20px"  id="center" borderPosition="center">
+						<label text="foo" x="0" y="0"/>
+					</xal:freePane>
+				</xal:borderPane>				
+			</freePane>	
+			<scrollPane width="1100px" height="500px" onCreate="mco:attributeSetter.resizeScrollPane(this, testComponentFreePane)">
+				<verticalBoxPane>
+					<horizontalBoxPane borderStyle="solid" borderWidth="2px" borderColor="#000">
+						<verticalBoxPane width="500px">
+							<label fontStyle="italic" autoWrap="true" text="Note: Due to a bug, the height for this component has been pre-set in this component test. It can be changed without a problem, but its current displayed height is not its default"/>							
+							<label height="25px" text="Specific tests:" fontWeight="bold"/>	
+							<horizontalBoxPane width="500px">
+								<label width="100px" text="gapHorizontal:"/>
+								<radioButton group="gapHorizontal" width="75px" text="0px" onSelect="mco:attributeSetter.setAttribute(testComponent, this.group ,this.text)"/>
+								<radioButton group="gapHorizontal" width="75px" text="2px" onSelect="mco:attributeSetter.setAttribute(testComponent, this.group ,this.text)"/>
+								<radioButton group="gapHorizontal" width="75px" text="6px" onSelect="mco:attributeSetter.setAttribute(testComponent, this.group ,this.text)"/>
+								<radioButton group="gapHorizontal" width="75px" text="(none)" onSelect="mco:attributeSetter.removeAttribute(testComponent, this.group)"/>
+							</horizontalBoxPane>
+							<horizontalBoxPane width="500px">
+								<label width="100px" text="gapVertical:"/>
+								<radioButton group="gapVertical" width="75px" text="0px" onSelect="mco:attributeSetter.setAttribute(testComponent, this.group ,this.text)"/>
+								<radioButton group="gapVertical" width="75px" text="2px" onSelect="mco:attributeSetter.setAttribute(testComponent, this.group ,this.text)"/>
+								<radioButton group="gapVertical" width="75px" text="6px" onSelect="mco:attributeSetter.setAttribute(testComponent, this.group ,this.text)"/>
+								<radioButton group="gapVertical" width="75px" text="(none)" onSelect="mco:attributeSetter.removeAttribute(testComponent, this.group)"/>
+							</horizontalBoxPane>
+							<horizontalBoxPane width="500px">
+								<label width="100px" text="orientation:"/>
+								<radioButton group="orientation" width="75px" text="horizontal" onSelect="mco:attributeSetter.setAttribute(testComponent, this.group ,this.text)"/>
+								<radioButton group="orientation" width="75px" text="vertical" onSelect="mco:attributeSetter.setAttribute(testComponent, this.group ,this.text)"/>
+								<radioButton group="orientation" width="75px" text="(none)" onSelect="mco:attributeSetter.removeAttribute(testComponent, this.group)"/>
+							</horizontalBoxPane>
+						</verticalBoxPane>
+						<!--standard test things -->		
+						<include href="standardButtons.xal" xmlns="http://openxal.org/core/xinclude"/>
+					</horizontalBoxPane>
+					<horizontalBoxPane>
+						<verticalBoxPane>
+							<label height="25px" text="Smoke tests:" fontWeight="bold"/>
+							<xal:button width="200px" height="25px" 
+								text="remove north"
+								onCommand="mco:attributeSetter.remove(north)"/>
+							
+							<xal:button width="200px" height="25px" 
+								text="remove south"
+								onCommand="mco:attributeSetter.remove(south)"/>
+							
+							<xal:button width="200px" height="25px" 
+								text="remove east"
+								onCommand="mco:attributeSetter.remove(east)"/>
+							
+							<xal:button width="200px" height="25px" 
+								text="remove west"
+								onCommand="mco:attributeSetter.remove(west)"/>
+							
+							<xal:button width="200px" height="25px" 
+								text="remove center"
+								onCommand="mco:attributeSetter.remove(center)"/>
+						</verticalBoxPane>
+						<verticalBoxPane>
+							<label height="25px" text=" " fontWeight="bold"/>
+							<xal:button width="200px" height="25px" 
+								text="add north"
+								onCommand="mco:attributeSetter.addBorderComponent(testComponent, 'north')"/>
+							
+							<xal:button width="200px" height="25px" 
+								text="add south"
+								onCommand="mco:attributeSetter.addBorderComponent(testComponent, 'south')"/>
+							
+							<xal:button width="200px" height="25px" 
+								text="add east"
+								onCommand="mco:attributeSetter.addBorderComponent(testComponent, 'east')"/>
+							
+							<xal:button width="200px" height="25px" 
+								text="add west"
+								onCommand="mco:attributeSetter.addBorderComponent(testComponent, 'west')"/>
+							
+							<xal:button width="200px" height="25px" 
+								text="add center"
+								onCommand="mco:attributeSetter.addBorderComponent(testComponent, 'center')"/>
+						</verticalBoxPane>
+					</horizontalBoxPane>
+				</verticalBoxPane>
+			</scrollPane>
+		</xm:append> 	  		
+	</xm:modifications>
 </xal>

Added: incubator/xap/trunk/WebContent/examples/widgets/boxPaneTests.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/boxPaneTests.xal?view=auto&rev=494859
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/boxPaneTests.xal (added)
+++ incubator/xap/trunk/WebContent/examples/widgets/boxPaneTests.xal Wed Jan 10 07:46:01 2007
@@ -0,0 +1,17 @@
+<verticalBoxPane xmlns="http://openxal.org/ui">
+    <horizontalBoxPane width="500px">
+        <label width="100px" text="pack:"/>
+        <radioButton group="pack" width="75px" text="start" onSelect="mco:attributeSetter.setAttribute(testComponent, this.group ,this.text)"/>
+        <radioButton group="pack" width="75px" text="center" onSelect="mco:attributeSetter.setAttribute(testComponent, this.group ,this.text)"/>
+        <radioButton group="pack" width="75px" text="end" onSelect="mco:attributeSetter.setAttribute(testComponent, this.group ,this.text)"/>
+        <radioButton group="pack" width="75px" text="(none)" onSelect="mco:attributeSetter.removeAttribute(testComponent, this.group)"/>
+    </horizontalBoxPane>
+    <horizontalBoxPane width="500px">
+        <label width="100px" text="alignment:"/>
+        <radioButton group="alignment" width="75px" text="start" onSelect="mco:attributeSetter.setAttribute(testComponent, this.group ,this.text)"/>
+        <radioButton group="alignment" width="75px" text="center" onSelect="mco:attributeSetter.setAttribute(testComponent, this.group ,this.text)"/>
+        <radioButton group="alignment" width="75px" text="end" onSelect="mco:attributeSetter.setAttribute(testComponent, this.group ,this.text)"/>
+        <radioButton group="alignment" width="75px" text="stretch" onSelect="mco:attributeSetter.setAttribute(testComponent, this.group ,this.text)"/>						
+        <radioButton group="alignment" width="75px" text="(none)" onSelect="mco:attributeSetter.removeAttribute(testComponent, this.group)"/>
+    </horizontalBoxPane>
+</verticalBoxPane>
\ No newline at end of file

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=494859&r1=494858&r2=494859
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/checkBox.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/checkBox.xal Wed Jan 10 07:46:01 2007
@@ -1,185 +1,67 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
-
-
+	
 	<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">
-	
-
-	<freePane width="400px" height="150px">	
-	<label x="0px" y="0px"/>
-	  <checkBox id="testComponent" x="80px" y="0px" width="200px" height="30px" text="My Checkbox" onStateChange="mco:attributeSetter.reportEvent(event)"  onSelect="mco:attributeSetter.reportEvent(event)" />
-
-	  <checkBox id="testComponent2" x="100px" y="45px" width="200px" height="30px" text="Checkbox 1 group 1" group="group1" onStateChange="mco:attributeSetter.reportEvent(event)"  onSelect="mco:attributeSetter.reportEvent(event)" />
-	  <checkBox id="testComponent3"  x="100px" y="75px" width="200px" height="30px" text="Checkbox 2 group 1" group="group1" onStateChange="mco:attributeSetter.reportEvent(event)"  onSelect="mco:attributeSetter.reportEvent(event)" />
-	  <checkBox id="testComponent4"  x="100px" y="105px" width="200px" height="30px" text="Checkbox 3 group 1" group="group1" onStateChange="mco:attributeSetter.reportEvent(event)"  onSelect="mco:attributeSetter.reportEvent(event)" />	  
-	</freePane>
-	
-	<horizontalFlowPane width="825px">	
-
-			<button width="200px" height="25px" text="print groupless checkbox"
-				onCommand="mco:attributeSetter.printElement(testComponent)"/>
-
-	
-			<button width="200px" height="40px" text="print group checkbox 1"
-				onCommand="mco:attributeSetter.printElement(testComponent2)"/>
-
-			<button width="200px" height="40px" text="print group checkbox 2"
-				onCommand="mco:attributeSetter.printElement(testComponent3)"/>
-
-			<button width="200px" height="40px" text="print group checkbox 3"
-				onCommand="mco:attributeSetter.printElement(testComponent4)"/>
-					
-	
-		<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="&lt;b&gt;Hear me roar!&lt;/b&gt;>" 
-			onCommand="mco:attributeSetter.setAttribute(testComponent, 'text', '&lt;b&gt;Hear me roar!!!&lt;/b&gt;')" />
-			 
-			<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="Hear me roar!" 
-			 onCommand="mco:attributeSetter.setAttribute(testComponent, 'text', 'Hear me roar!!!')" />		 
-			 
-			<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="verticalTextToImagePlacement = top" 
-			 onCommand="mco:attributeSetter.setAttribute(testComponent, 'verticalTextToImagePlacement', 'top')" />	
-	
-			<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="verticalTextToImagePlacement = bottom" 
-			 onCommand="mco:attributeSetter.setAttribute(testComponent, 'verticalTextToImagePlacement', 'bottom')" />
-			 
-	
-			<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="horizontalTextToImagePlacement = left" 
-				onCommand="mco:attributeSetter.setAttribute(testComponent, 'horizontalTextToImagePlacement', 'left')" />	
-	
-			<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="horizontalTextToImagePlacement = right" 
-				onCommand="mco:attributeSetter.setAttribute(testComponent, 'horizontalTextToImagePlacement', 'right')" />	 
-				
-			<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="horizontalAlignment = left" 
-			 onCommand="mco:attributeSetter.setAttribute(testComponent, 'horizontalAlignment', 'left')" />	
-	
-			<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="horizontalAlignment = center" 
-			 onCommand="mco:attributeSetter.setAttribute(testComponent, 'horizontalAlignment', 'center')" />	
-	
-			<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="horizontalAlignment = right" 
-			 onCommand="mco:attributeSetter.setAttribute(testComponent, 'horizontalAlignment', 'right')" />
-			 
-			<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="verticalAlignment = top" 
-			 onCommand="mco:attributeSetter.setAttribute(testComponent, 'verticalAlignment', 'top')" />	
-	
-			<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="verticalAlignment = center" 
-			 onCommand="mco:attributeSetter.setAttribute(testComponent, 'verticalAlignment', 'center')" />	
-	
-			<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="verticalAlignment = bottom" 
-			 onCommand="mco:attributeSetter.setAttribute(testComponent, 'verticalAlignment', 'bottom')" />
-			 
-			<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="richText = true" 
-			 onCommand="mco:attributeSetter.setAttribute(testComponent, 'richText', 'true')" />		 
-			 
-			<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="set image over" 
-			 onCommand="mco:attributeSetter.setAttribute(testComponent, 'mouseOverImage', '../background.JPG')" />	 
-			 		 
-			<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="set image over selected" 
-			 onCommand="mco:attributeSetter.setAttribute(testComponent, 'mouseOverSelectedImage', '../background.JPG')" />	 
-			 
-			<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="set image pressed selected" 
-			 onCommand="mco:attributeSetter.setAttribute(testComponent, 'pressedSelectedImage', '../background.JPG')" />	 
 	
-			<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="set image pressed" 
-			 onCommand="mco:attributeSetter.setAttribute(testComponent, 'pressedImage', '../background.JPG')" />	 
-			 
-			<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="set image selected" 
-			 onCommand="mco:attributeSetter.setAttribute(testComponent, 'selectedImage', '../background.JPG')" />	
-	
-			<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="set image" 
-			 onCommand="mco:attributeSetter.setAttribute(testComponent, 'image', '../background.JPG')" />				 		 
-	
-			<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="richText = true" 
-			 onCommand="mco:attributeSetter.setAttribute(testComponent, 'richText', 'true')" />			 
-	
-			<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="disabled = false" 
-			 onCommand="mco:attributeSetter.setAttribute(testComponent, 'disabled', 'false')" />	
-	
-			<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="disabled = true" 
-			 onCommand="mco:attributeSetter.setAttribute(testComponent, 'disabled', 'true')" />				 
-	
-		
-			<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="selected = true" 
-			 onCommand="mco:attributeSetter.setAttribute(testComponent, 'selected', 'true')" />	
+	<mco
+		xmlns="http://openxal.org/core/mco" 
+		id="SmokeTests" 
+		class="SmokeTests"
+		src="SmokeTests.js"
+	/>	
 	
-			<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="selected = false" 
-			 onCommand="mco:attributeSetter.setAttribute(testComponent, 'selected', 'false')" />	 
-			 
-		 
 	
-		</horizontalFlowPane>		
-		 
-		<include href="standardButtons.xal" xmlns="http://openxal.org/core/xinclude"/>
+	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
+		<xm:append select="/ui">
+<horizontalBoxPane>
+		<freePane width="500px" height="200px" backgroundColor="#F0F0F0" id="testComponentFreePane">
+	  <checkBox id="testComponent" text="My Checkbox"/>
+	</freePane>
+	<freePane width="500px" height="200px" backgroundColor="#CCCCCC" id="testComponentFreePane2">
+	  <checkBox id="testComponent2" x="0px" y="0px" width="200px" height="30px" text="Checkbox 1 group 1" group="group1" onStateChange="mco:attributeSetter.reportEvent(event)"  onSelect="mco:attributeSetter.reportEvent(event)" />
+	  <checkBox id="testComponent3"  x="0px" y="30px" width="200px" height="30px" text="Checkbox 2 group 1" group="group1" onStateChange="mco:attributeSetter.reportEvent(event)"  onSelect="mco:attributeSetter.reportEvent(event)" />
+	  <checkBox id="testComponent4"  x="0px" y="60px" width="200px" height="30px" text="Checkbox 3 group 1" group="group1" onStateChange="mco:attributeSetter.reportEvent(event)"  onSelect="mco:attributeSetter.reportEvent(event)" />	  
+	</freePane>
+</horizontalBoxPane>
+			<scrollPane width="1100px" height="500px" onCreate="mco:attributeSetter.resizeScrollPane(this, testComponentFreePane)">
+				<verticalBoxPane>
+					<horizontalBoxPane borderStyle="solid" borderWidth="2px" borderColor="#000">
+						<verticalBoxPane width="500px">
+							<label height="25px" text="Specific tests:" fontWeight="bold"/>
+							<include href="textAttributeTests.xal" xmlns="http://openxal.org/core/xinclude"/>
+							<label text=" " height="25px"/>
+							<include href="imageAttributeTests.xal" xmlns="http://openxal.org/core/xinclude"/>
+							<include href="toggledFormElementTests.xal" xmlns="http://openxal.org/core/xinclude"/>
+							<include href="formElementTests.xal" xmlns="http://openxal.org/core/xinclude"/>
+							<label text=" " height="50px"/>
 		 
-		
-<!--
-	  <label width="400px" height="100px" horizontalAlignment="center" verticalAlignment="top" text="HCenterVTop" horizontalTextToImagePlacement="right" verticalTextToImagePlacement="bottom" />
-	  <label width="400px" height="100px" horizontalAlignment="center" verticalAlignment="top" text="HCenterVTop" horizontalTextToImagePlacement="left" verticalTextToImagePlacement="top" />		
-	  <label width="400px" height="100px" horizontalAlignment="center" verticalAlignment="top" text="HCenterVTop" horizontalTextToImagePlacement="left" verticalTextToImagePlacement="bottom" />		
-		
-		
-	  <label width="700px" height="100px" horizontalAlignment="center" verticalAlignment="bottom" text="HCenter VBottom" />
-	  <label width="700px" height="100px" horizontalAlignment="center" verticalAlignment="bottom" text="HCenter VBottom" horizontalTextToImagePlacement="right" verticalTextToImagePlacement="top" />
-	  <label width="700px" height="100px" horizontalAlignment="center" verticalAlignment="bottom" text="HCenter VBottom" horizontalTextToImagePlacement="right" verticalTextToImagePlacement="bottom" />
-	  <label width="700px" height="100px" horizontalAlignment="center" verticalAlignment="bottom" text="HCenter VBottom" horizontalTextToImagePlacement="left" verticalTextToImagePlacement="top" />
-	  <label width="700px" height="100px" horizontalAlignment="center" verticalAlignment="bottom" text="HCenter VBottom" horizontalTextToImagePlacement="left" verticalTextToImagePlacement="bottom" />		
-	
-	  <label width="700px" height="100px" horizontalAlignment="center" verticalAlignment="center" text="HCenter VCenter" />	  
-		<label width="700px" height="100px" horizontalAlignment="center" verticalAlignment="center" text="HCenter VCenter" horizontalTextToImagePlacement="right" verticalTextToImagePlacement="top" />
-	  <label width="700px" height="100px" horizontalAlignment="center" verticalAlignment="center" text="HCenter VCenter" horizontalTextToImagePlacement="right" verticalTextToImagePlacement="bottom" />
-	  <label width="700px" height="100px" horizontalAlignment="center" verticalAlignment="center" text="HCenter VCenter" horizontalTextToImagePlacement="left" verticalTextToImagePlacement="top" />
-	  <label width="700px" height="100px" horizontalAlignment="center" verticalAlignment="center" text="HCenter VCenter" horizontalTextToImagePlacement="left" verticalTextToImagePlacement="bottom" />		
-		
-	  <label width="400px" height="100px" horizontalAlignment="right" verticalAlignment="top" text="HRight VTop" />		
-	  <label width="400px" height="100px" horizontalAlignment="right" verticalAlignment="top" text="HRight VTop" horizontalTextToImagePlacement="right" verticalTextToImagePlacement="top" />
-	  <label width="400px" height="100px" horizontalAlignment="right" verticalAlignment="top" text="HRight VTop" horizontalTextToImagePlacement="right" verticalTextToImagePlacement="bottom" />
-	  <label width="400px" height="100px" horizontalAlignment="right" verticalAlignment="top" text="HRight VTop" horizontalTextToImagePlacement="left" verticalTextToImagePlacement="top" />
-	  <label width="400px" height="100px" horizontalAlignment="right" verticalAlignment="top" text="HRight VTop" horizontalTextToImagePlacement="left" verticalTextToImagePlacement="bottom" />
-		
-		
-	  <label width="400px" height="100px" horizontalAlignment="right" verticalAlignment="bottom" text="HRight VBottom" />
-	  <label width="400px" height="100px" horizontalAlignment="right" verticalAlignment="bottom" text="HRight VBottom" horizontalTextToImagePlacement="right" verticalTextToImagePlacement="top" />
-	  <label width="400px" height="100px" horizontalAlignment="right" verticalAlignment="bottom" text="HRight VBottom" horizontalTextToImagePlacement="right" verticalTextToImagePlacement="bottom" />
-	  <label width="400px" height="100px" horizontalAlignment="right" verticalAlignment="bottom" text="HRight VBottom" horizontalTextToImagePlacement="left" verticalTextToImagePlacement="top" />
-	  <label width="400px" height="100px" horizontalAlignment="right" verticalAlignment="bottom" text="HRight VBottom" horizontalTextToImagePlacement="left" verticalTextToImagePlacement="bottom" />		
-
-	  <label width="400px" height="100px" horizontalAlignment="right" verticalAlignment="center" text="HRight VCenter" />
-	  <label width="400px" height="100px" horizontalAlignment="right" verticalAlignment="center" text="HRight VCenter" horizontalTextToImagePlacement="right" verticalTextToImagePlacement="top" />
-	  <label width="400px" height="100px" horizontalAlignment="right" verticalAlignment="center" text="HRight VCenter" horizontalTextToImagePlacement="right" verticalTextToImagePlacement="bottom" />
-	  <label width="400px" height="100px" horizontalAlignment="right" verticalAlignment="center" text="HRight VCenter" horizontalTextToImagePlacement="left" verticalTextToImagePlacement="top" />
-	  <label width="400px" height="100px" horizontalAlignment="right" verticalAlignment="center" text="HRight VCenter" horizontalTextToImagePlacement="left" verticalTextToImagePlacement="bottom" />		
-		
-		
-	  <label width="400px" height="100px" horizontalAlignment="left" verticalAlignment="top" text="HLeft VTop" />	
-	  <label width="400px" height="100px" horizontalAlignment="left" verticalAlignment="top" text="HLeft VTop" horizontalTextToImagePlacement="right" verticalTextToImagePlacement="top" />
-	  <label width="400px" height="100px" horizontalAlignment="left" verticalAlignment="top" text="HLeft VTop" horizontalTextToImagePlacement="right" verticalTextToImagePlacement="bottom" />
-	  <label width="400px" height="100px" horizontalAlignment="left" verticalAlignment="top" text="HLeft VTop" horizontalTextToImagePlacement="left" verticalTextToImagePlacement="top" />
-	  <label width="400px" height="100px" horizontalAlignment="left" verticalAlignment="top" text="HLeft VTop" horizontalTextToImagePlacement="left" verticalTextToImagePlacement="bottom" />		
-
-	  <label width="400px" height="100px" horizontalAlignment="left" verticalAlignment="bottom" text="HLeft VBottom" />		
-	  <label width="400px" height="100px" horizontalAlignment="left" verticalAlignment="bottom" text="HLeft VBottom" horizontalTextToImagePlacement="right" verticalTextToImagePlacement="top" />
-	  <label width="400px" height="100px" horizontalAlignment="left" verticalAlignment="bottom" text="HLeft VBottom" horizontalTextToImagePlacement="right" verticalTextToImagePlacement="bottom" />
-	  <label width="400px" height="100px" horizontalAlignment="left" verticalAlignment="bottom" text="HLeft VBottom" horizontalTextToImagePlacement="left" verticalTextToImagePlacement="top" />
-	  <label width="400px" height="100px" horizontalAlignment="left" verticalAlignment="bottom" text="HLeft VBottom" horizontalTextToImagePlacement="left" verticalTextToImagePlacement="bottom" />		
-
-	  <label width="400px" height="100px" horizontalAlignment="left" verticalAlignment="center" text="HLeft VCenter"/>		
-	  <label width="400px" height="100px" horizontalAlignment="left" verticalAlignment="center" text="HLeft VCenter" horizontalTextToImagePlacement="right" verticalTextToImagePlacement="top" />
-	  <label width="400px" height="100px" horizontalAlignment="left" verticalAlignment="center" text="HLeft VCenter" horizontalTextToImagePlacement="right" verticalTextToImagePlacement="bottom" />
-	  <label width="400px" height="100px" horizontalAlignment="left" verticalAlignment="center" text="HLeft VCenter" horizontalTextToImagePlacement="left" verticalTextToImagePlacement="top" />
-	  <label width="400px" height="100px" horizontalAlignment="left" verticalAlignment="center" text="HLeft VCenter" horizontalTextToImagePlacement="left" verticalTextToImagePlacement="bottom" />		
-
-	  <label width="400px" height="100px" horizontalAlignment="left" verticalAlignment="center" text="HLeft VCenter" horizontalTextToImagePlacement="right"/>
-	  <label width="400px" height="100px" horizontalAlignment="left" verticalAlignment="center" text="HLeft VCenter" horizontalTextToImagePlacement="left"/>	
-		
--->
-		
-	</xm:append> 	  		
-  	</xm:modifications>
+						</verticalBoxPane>
+						<!--standard test things -->		
+						<include href="standardButtons.xal" xmlns="http://openxal.org/core/xinclude"/>
+					</horizontalBoxPane>
+					<horizontalBoxPane>
+						<verticalBoxPane>
+							<label height="25px" text="Smoke tests:" fontWeight="bold"/>
+							<button text="Autowrapped Long text with image" onCommand="mco:SmokeTests.buttonLongTextWithImage(testComponent, smokeTestCompareButton)"/>
+							<label text="The text should all be to the left of the image."/>
+							<button text="Changer" onCommand="mco:SmokeTests.buttonImageResizing(testComponent, smokeTestCompareButton)"/>
+							<label autoWrap="true" width="500px" text="Changes the component around. It should always return to its original state and resemble the bottom button in the end. Things changed: image size, border size, text alignment, image alignment, font size"/>
+							<button width="200px" height="25px" text="Print Dark Grey Right-Hand Frame XAL" onCommand="mco:attributeSetter.printElement(testComponentFreePane2)"/>									
+						</verticalBoxPane>	
+						<verticalBoxPane>
+							<label height="25px" text=" " fontWeight="bold"/>
+							<button text="TextPlacement" onCommand="mco:SmokeTests.textPlacement(testComponent, smokeTestCompareButton)"/>
+							<label autoWrap="true" width="500px" text="Sets horizontalTextToImagePlacement to left, verticalTextToImagePlacement to bottom, so the text should be to the bottom left of the image"/>	
+							<button text="images" onCommand="mco:SmokeTests.images(testComponent, smokeTestCompareButton)"/>
+							<label autoWrap="true" width="500px" text="Sets images for the label for background, foreground"/>				
+						</verticalBoxPane>
+					</horizontalBoxPane>
+				</verticalBoxPane>
+			</scrollPane>
+		</xm:append> 	  		
+	</xm:modifications>
 </xal>

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=494859&r1=494858&r2=494859
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/combobox.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/combobox.xal Wed Jan 10 07:46:01 2007
@@ -1,75 +1,65 @@
-<xal xmlns="http://openxal.org/ui" xmlns:dojo="http://www.dojotoolkit.org/">
-
-
+<xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
+	
 	<mco
 		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
 		class="AttributeTester"
 		src="AttributeTester.js"
-	/>		
-
-
-
+	/>	
+	
+	<mco
+		xmlns="http://openxal.org/core/mco" 
+		id="SmokeTests" 
+		class="SmokeTests"
+		src="SmokeTests.js"
+	/>	
+	
+	
 	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
 		<xm:append select="/ui">
-			<verticalBoxPane>
-				<freePane backgroundColor="rgb(255,255,245)"
-					width="1000px" height="200px" 
-						onDoubleClick="mco:attributeSetter.transportWidget(event)"
-				>
-					
-					<label x="2px" y="2px" backgroundColor="rgb(255,245,255)"
-						text="double-click around in this pane to move the widget"
-					/>
-					
-		<comboBox x="10px" y="20px" height="25px" text="ComboBox" width="200px">
-			<listBox>
-				<listItem text="listItem #1"/>
-				<listItem text="listItem (selected)" selected="true"/>
-				<listItem text="listItem #3"/>
-			</listBox>
-		</comboBox>
-
-		<comboBox 
-					
-						x="350px" y="20px"
-					
-						id="testComponent" selectionMode="singleRow" height="100px" onActiveGained="mco:attributeSetter.reportEvent(event)" onActiveLost="mco:attributeSetter.reportEvent(event)"
-						onBeforeActiveLost="mco:attributeSetter.reportEvent(event)" onCommand="mco:attributeSetter.reportEvent(event)" onContextMenu="mco:attributeSetter.reportEvent(event)" onDoubleClick="mco:attributeSetter.reportEvent(event)"
-						onDragDrop="mco:attributeSetter.reportEvent(event)" onDragEnd="mco:attributeSetter.reportEvent(event)" onDragStart="mco:attributeSetter.reportEvent(event)" onKeyChar="mco:attributeSetter.reportEvent(event)"
-						onEdit="mco:attributeSetter.reportEvent(event)" onKeyDown="mco:attributeSetter.reportEvent(event)" onKeyUp="mco:attributeSetter.reportEvent(event)" onMouseDown="mco:attributeSetter.reportEvent(event)"
-						onMouseDrag="mco:attributeSetter.reportEvent(event)" onMouseMove="mco:attributeSetter.reportEvent(event)" onMouseOut="mco:attributeSetter.reportEvent(event)" onMouseOver="mco:attributeSetter.reportEvent(event)"
-						onMouseUp="mco:attributeSetter.reportEvent(event)" onTextChange="mco:attributeSetter.reportEvent(event)">
-						<listBox id="testComponentListBox" selectionMode="singleRow" color="#ccccff" width="300px" fontWeight="bold" fontSize="24px" onActiveGained="mco:attributeSetter.reportEvent(event)"
-							onActiveLost="mco:attributeSetter.reportEvent(event)" onBeforeActiveLost="mco:attributeSetter.reportEvent(event)" onContextMenu="mco:attributeSetter.reportEvent(event)" onDoubleClick="mco:attributeSetter.reportEvent(event)"
-							onDragDrop="mco:attributeSetter.reportEvent(event)" onDragEnd="mco:attributeSetter.reportEvent(event)" onDragStart="mco:attributeSetter.reportEvent(event)" onMouseDown="mco:attributeSetter.reportEvent(event)"
-							onMouseDrag="mco:attributeSetter.reportEvent(event)" onMouseMove="mco:attributeSetter.reportEvent(event)" onMouseOut="mco:attributeSetter.reportEvent(event)" onMouseOver="mco:attributeSetter.reportEvent(event)"
-							onMouseUp="mco:attributeSetter.reportEvent(event)" onPositionChange="mco:attributeSetter.reportEvent(event)" onSelect="mco:attributeSetter.reportEvent(event)" onStateChange="mco:attributeSetter.reportEvent(event)">
-							<listItem text="Option 1" value="Value 1" onDoubleClick="mco:attributeSetter.reportEvent(event)" onDragDrop="mco:attributeSetter.reportEvent(event)" onDragEnd="mco:attributeSetter.reportEvent(event)"
-								onDragStart="mco:attributeSetter.reportEvent(event)" onMouseDown="mco:attributeSetter.reportEvent(event)" onMouseUp="mco:attributeSetter.reportEvent(event)" />
+			<horizontalBoxPane>
+				<freePane width="500px" height="200px" backgroundColor="#F0F0F0" id="testComponentFreePane">
+					<comboBox id="testComponent">
+						<listBox id="testComponentListBox">
+							<listItem text="Option 1" value="Value 1"/>
 							<listItem id="testOption2" text="Option 2" value="Value 2" />
-							<listItem text="Option 3" value="Value 3"  selected="true"/>
+							<listItem text="Option 3" value="Value 3"/>
 							<listItem text="Option 4" value="Value 4"/>							
 						</listBox>
 					</comboBox>
 				</freePane>
-				<horizontalBoxPane>
-					<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="Remove Option 2 of ListBox via XAL DOM" onCommand="mco:attributeSetter.remove(testOption2)" />
-
-					<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="Insert a new option" onCommand="mco:attributeSetter.appendListItem(testComponentListBox,false)" />
-
-					<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="Insert a new, selected, option" onCommand="mco:attributeSetter.appendListItem(testComponentListBox,true)" />
+				<freePane width="500px" height="200px" backgroundColor="#CCCCCC">
+					<comboBox height="25px" text="ComboBox" width="200px">
+						<listBox>
+							<listItem text="listItem #1"/>
+							<listItem text="listItem (selected)" selected="true"/>
+							<listItem text="listItem #3"/>
+						</listBox>
+					</comboBox>
 
-					<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="Selected text/value" onCommand="mco:attributeSetter.reportTextValueAttributes(testComponent)" />
-					
-				</horizontalBoxPane>
 
-				<!--standard test things -->
-				<horizontalBoxPane>
-					<include href="standardButtons.xal" xmlns="http://openxal.org/core/xinclude" />
-				</horizontalBoxPane>				
-				
-			</verticalBoxPane>
-		</xm:append>
+				</freePane>
+			</horizontalBoxPane>
+			<scrollPane width="1100px" height="500px" onCreate="mco:attributeSetter.resizeScrollPane(this, testComponentFreePane)">
+				<verticalBoxPane>
+					<horizontalBoxPane borderStyle="solid" borderWidth="2px" borderColor="#000">
+						<verticalBoxPane width="50%">
+							<label height="25px" text="Specific tests:" fontWeight="bold"/>
+								
+							<include href="formElementTests.xal" xmlns="http://openxal.org/core/xinclude"/>		
+							<label text=" " height="50px"/>
+							
+						</verticalBoxPane>
+						<!--standard test things -->		
+						<include href="standardButtons.xal" xmlns="http://openxal.org/core/xinclude"/>
+					</horizontalBoxPane>
+					<horizontalBoxPane>
+						<include href="listItemSmokeTests0.xal" xmlns="http://openxal.org/core/xinclude"/>
+						<!-- separated so they can be in different columns -->
+						<include href="listItemSmokeTests1.xal" xmlns="http://openxal.org/core/xinclude"/>
+					</horizontalBoxPane>
+				</verticalBoxPane>
+			</scrollPane>
+		</xm:append> 	  		
 	</xm:modifications>
 </xal>

Added: incubator/xap/trunk/WebContent/examples/widgets/containerChildManipulation0.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/containerChildManipulation0.xal?view=auto&rev=494859
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/containerChildManipulation0.xal (added)
+++ incubator/xap/trunk/WebContent/examples/widgets/containerChildManipulation0.xal Wed Jan 10 07:46:01 2007
@@ -0,0 +1,6 @@
+								<verticalBoxPane xmlns="http://openxal.org/ui">					
+								    <button width="200px" height="25px" text="insert before red" onCommand="mco:attributeSetter.insertBefore(redComponent)"/>
+								    <label text="Should insert a node before red"/>
+								    <button width="200px" height="25px" text="insert before blue" onCommand="mco:attributeSetter.insertBefore(blueComponent)"/>
+								    <button width="200px" height="25px" text="insert before yellow" onCommand="mco:attributeSetter.insertBefore(yellowComponent)"/>
+								</verticalBoxPane>
\ No newline at end of file

Added: incubator/xap/trunk/WebContent/examples/widgets/containerChildManipulation1.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/containerChildManipulation1.xal?view=auto&rev=494859
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/containerChildManipulation1.xal (added)
+++ incubator/xap/trunk/WebContent/examples/widgets/containerChildManipulation1.xal Wed Jan 10 07:46:01 2007
@@ -0,0 +1,5 @@
+							<verticalBoxPane xmlns="http://openxal.org/ui">
+							    <button width="200px" height="25px" text="insert before green" onCommand="mco:attributeSetter.insertBefore(greenComponent)"/>
+							    <button width="200px" height="25px" text="remove green" onCommand="mco:attributeSetter.remove(greenComponent)"/>
+							    <label text="Removes green. This will break 'insert before green'"/>
+							</verticalBoxPane>
\ No newline at end of file

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=494859&r1=494858&r2=494859
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/desktopPane.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/desktopPane.xal Wed Jan 10 07:46:01 2007
@@ -73,10 +73,22 @@
 		
 		</xal:window>
 		
-		<xal:verticalBoxPane>
-			<!--standard test things -->
-			<include href="standardButtons.xal" xmlns="http://openxal.org/core/xinclude"/>
-		</xal:verticalBoxPane>
+		<verticalBoxPane>
+			<horizontalBoxPane borderStyle="solid" borderWidth="2px" borderColor="#000">
+				<verticalBoxPane width="500px">
+					<label height="25px" text="Specific tests:" fontWeight="bold"/>
+					<label text="None right now"/>					
+				</verticalBoxPane>
+				<!--standard test things -->		
+				<include href="standardButtons.xal" xmlns="http://openxal.org/core/xinclude"/>
+			</horizontalBoxPane>
+			<horizontalBoxPane>
+				<verticalBoxPane>
+					<label height="25px" text="Smoke tests:" fontWeight="bold"/>
+					<label text="None right now"/>
+				</verticalBoxPane>
+			</horizontalBoxPane>
+		</verticalBoxPane>
 	
 	</xal:desktopPane>
 	

Modified: incubator/xap/trunk/WebContent/examples/widgets/editableCombobox.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/editableCombobox.xal?view=diff&rev=494859&r1=494858&r2=494859
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/editableCombobox.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/editableCombobox.xal Wed Jan 10 07:46:01 2007
@@ -1,77 +1,60 @@
-<xal xmlns="http://openxal.org/ui" xmlns:dojo="http://www.dojotoolkit.org/">
-
-
-	<mco:mco 
-		xmlns:mco="http://openxal.org/core/mco" 
+<xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
+	
+	<mco
+		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
-		class="AttributeTesterAlias" 
-		src="../widgets/AttributeTester.js"
-	/>
-
-
+		class="AttributeTester"
+		src="AttributeTester.js"
+	/>	
+	
+	<mco
+		xmlns="http://openxal.org/core/mco" 
+		id="SmokeTests" 
+		class="SmokeTests"
+		src="SmokeTests.js"
+	/>	
+	
+	
 	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
 		<xm:append select="/ui">
-			<verticalBoxPane>
-				<freePane width="800px" height="100px">
-					<editableComboBox 
-							x="250px" y="15px"  width="500px"
-							backgroundColor="#FFFFF0" 
-						id="testComponent" selectionMode="singleRow" height="50px" onActiveGained="mco:attributeSetter.reportEvent(event)" onActiveLost="mco:attributeSetter.reportEvent(event)"
-						onBeforeActiveLost="mco:attributeSetter.reportEvent(event)" onCommand="mco:attributeSetter.reportEvent(event)" onContextMenu="mco:attributeSetter.reportEvent(event)" onDoubleClick="mco:attributeSetter.reportEvent(event)"
-						onDragDrop="mco:attributeSetter.reportEvent(event)" onDragEnd="mco:attributeSetter.reportEvent(event)" onDragStart="mco:attributeSetter.reportEvent(event)" onKeyChar="mco:attributeSetter.reportEvent(event)"
-						onEdit="mco:attributeSetter.reportEvent(event)" onKeyDown="mco:attributeSetter.reportEvent(event)" onKeyUp="mco:attributeSetter.reportEvent(event)" onMouseDown="mco:attributeSetter.reportEvent(event)"
-						onMouseDrag="mco:attributeSetter.reportEvent(event)" onMouseMove="mco:attributeSetter.reportEvent(event)" onMouseOut="mco:attributeSetter.reportEvent(event)" onMouseOver="mco:attributeSetter.reportEvent(event)"
-						onMouseUp="mco:attributeSetter.reportEvent(event)" onTextChange="mco:attributeSetter.reportEvent(event)">
-						<listBox size="1" id="testComponentListBox" selectionMode="singleRow" color="#ccccff" width="300px" fontWeight="bold" fontSize="24px" onActiveGained="mco:attributeSetter.reportEvent(event)"
-							onActiveLost="mco:attributeSetter.reportEvent(event)" onBeforeActiveLost="mco:attributeSetter.reportEvent(event)" onContextMenu="mco:attributeSetter.reportEvent(event)" onDoubleClick="mco:attributeSetter.reportEvent(event)"
-							onDragDrop="mco:attributeSetter.reportEvent(event)" onDragEnd="mco:attributeSetter.reportEvent(event)" onDragStart="mco:attributeSetter.reportEvent(event)" onMouseDown="mco:attributeSetter.reportEvent(event)"
-							onMouseDrag="mco:attributeSetter.reportEvent(event)" onMouseMove="mco:attributeSetter.reportEvent(event)" onMouseOut="mco:attributeSetter.reportEvent(event)" onMouseOver="mco:attributeSetter.reportEvent(event)"
-							onMouseUp="mco:attributeSetter.reportEvent(event)" onPositionChange="mco:attributeSetter.reportEvent(event)" onSelect="mco:attributeSetter.reportEvent(event)" onStateChange="mco:attributeSetter.reportEvent(event)">
-							<listItem text="ba: Option 1" value="Value 1" id="optionItem1" onDoubleClick="mco:attributeSetter.reportEvent(event)" onDragDrop="mco:attributeSetter.reportEvent(event)" onDragEnd="mco:attributeSetter.reportEvent(event)"
-								onDragStart="mco:attributeSetter.reportEvent(event)" onMouseDown="mco:attributeSetter.reportEvent(event)" onMouseUp="mco:attributeSetter.reportEvent(event)" />
-							<listItem text="aa: Option 2" id="optionItem2" value="Value 2" selected="true" />
+			<horizontalBoxPane>
+				<freePane width="500px" height="300px" id="testComponentFreePane" backgroundColor="#F0F0F0">
+					<editableComboBox id="testComponent">
+						<listBox id="testComponentListBox">
+							<listItem text="ba: Option 1" value="Value 1" id="optionItem1"/>
+							<listItem text="aa: Option 2" id="optionItem2" value="Value 2"/>
 							<listItem text="ab: Option 3" value="Value 3" id="optionItem3"/>
 							<listItem text="bb: Option 4" value="Value 4" id="optionItem4"/>
 						</listBox>
 					</editableComboBox>
-					
-					<editableComboBox id="testComponent2" selectionMode="singleRow" height="100px" 
-						backgroundColor="white"
-						onActiveGained="mco:attributeSetter.reportEvent(event)" onActiveLost="mco:attributeSetter.reportEvent(event)"
-						onBeforeActiveLost="mco:attributeSetter.reportEvent(event)" onCommand="mco:attributeSetter.reportEvent(event)" onContextMenu="mco:attributeSetter.reportEvent(event)" onDoubleClick="mco:attributeSetter.reportEvent(event)"
-						onDragDrop="mco:attributeSetter.reportEvent(event)" onDragEnd="mco:attributeSetter.reportEvent(event)" onDragStart="mco:attributeSetter.reportEvent(event)" onKeyChar="mco:attributeSetter.reportEvent(event)"
-						onEdit="mco:attributeSetter.reportEvent(event)" onKeyDown="mco:attributeSetter.reportEvent(event)" onKeyUp="mco:attributeSetter.reportEvent(event)" onMouseDown="mco:attributeSetter.reportEvent(event)"
-						onMouseDrag="mco:attributeSetter.reportEvent(event)" onMouseMove="mco:attributeSetter.reportEvent(event)" onMouseOut="mco:attributeSetter.reportEvent(event)" onMouseOver="mco:attributeSetter.reportEvent(event)"
-						onMouseUp="mco:attributeSetter.reportEvent(event)" onTextChange="mco:attributeSetter.reportEvent(event)">
-						<listBox id="testComponentListBox2" selectionMode="singleRow" color="#ccccff" width="300px" fontWeight="bold" fontSize="24px" onActiveGained="mco:attributeSetter.reportEvent(event)"
-							onActiveLost="mco:attributeSetter.reportEvent(event)" onBeforeActiveLost="mco:attributeSetter.reportEvent(event)" onContextMenu="mco:attributeSetter.reportEvent(event)" onDoubleClick="mco:attributeSetter.reportEvent(event)"
-							onDragDrop="mco:attributeSetter.reportEvent(event)" onDragEnd="mco:attributeSetter.reportEvent(event)" onDragStart="mco:attributeSetter.reportEvent(event)" onMouseDown="mco:attributeSetter.reportEvent(event)"
-							onMouseDrag="mco:attributeSetter.reportEvent(event)" onMouseMove="mco:attributeSetter.reportEvent(event)" onMouseOut="mco:attributeSetter.reportEvent(event)" onMouseOver="mco:attributeSetter.reportEvent(event)"
-							onMouseUp="mco:attributeSetter.reportEvent(event)" onPositionChange="mco:attributeSetter.reportEvent(event)" onSelect="mco:attributeSetter.reportEvent(event)" onStateChange="mco:attributeSetter.reportEvent(event)">
-							<listItem text="Option 1" value="Value 1" onDoubleClick="mco:attributeSetter.reportEvent(event)" onDragDrop="mco:attributeSetter.reportEvent(event)" onDragEnd="mco:attributeSetter.reportEvent(event)"
-								onDragStart="mco:attributeSetter.reportEvent(event)" onMouseDown="mco:attributeSetter.reportEvent(event)" onMouseUp="mco:attributeSetter.reportEvent(event)" />
+				</freePane>
+			<freePane width="500px" height="300px" backgroundColor="#CCCCCC">
+					<editableComboBox id="testComponent2" selectionMode="singleRow" height="100px" backgroundColor="white">
+						<listBox id="testComponentListBox2" selectionMode="singleRow" color="#ccccff" width="300px" fontWeight="bold" fontSize="24px">
+							<listItem text="Option 1" value="Value 1" />
 							<listItem text="Option 2" value="Value 2"  />
 							<listItem text="Option 3" value="Value 3" selected="true" />
 						</listBox>
 					</editableComboBox>					
-					
-					
 				</freePane>
-				<horizontalBoxPane x="500px">
-					<button  height="50px" horizontalAlignment="center" verticalAlignment="center" text="Remove Option 2 of ListBox via XAL DOM" onCommand="mco:attributeSetter.remove(optionItem2)" />
-
-					<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="Insert a NEW Option" onCommand="mco:attributeSetter.appendListItem(testComponentListBox)" />
-				<!--  no multiselect:
-					<button width="200px" height="50px" horizontalAlignment="center" verticalAlignment="center" text="Multiselect" onCommand="mco:attributeSetter.setAttribute(optionItem1, 'selected', 'true')" />
-				-->					
 				</horizontalBoxPane>
-
-				<!--standard test things -->
-				<horizontalBoxPane>
-					<include href="standardButtons.xal" xmlns="http://openxal.org/core/xinclude" />
-				</horizontalBoxPane>				
-				
-			</verticalBoxPane>
-		</xm:append>
+			<scrollPane width="1100px" height="500px" onCreate="mco:attributeSetter.resizeScrollPane(this, testComponentFreePane)">
+				<verticalBoxPane width="500px">
+					<horizontalBoxPane borderStyle="solid" borderWidth="2px" borderColor="#000">
+						<verticalBoxPane width="500px">
+							<include href="formElementTests.xal" xmlns="http://openxal.org/core/xinclude"/>
+							<label text=" " height="25px"/>
+							<include href="editableFieldTests.xal" xmlns="http://openxal.org/core/xinclude"/>
+						</verticalBoxPane>
+						<!--standard test things -->		
+						<include href="standardButtons.xal" xmlns="http://openxal.org/core/xinclude"/>
+					</horizontalBoxPane>
+					<horizontalBoxPane>
+						<include href="listItemSmokeTests0.xal" xmlns="http://openxal.org/core/xinclude"/>
+						<include href="listItemSmokeTests1.xal" xmlns="http://openxal.org/core/xinclude"/>
+					</horizontalBoxPane>
+				</verticalBoxPane>
+			</scrollPane>
+		</xm:append> 	  		
 	</xm:modifications>
 </xal>

Added: incubator/xap/trunk/WebContent/examples/widgets/editableFieldTests.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/editableFieldTests.xal?view=auto&rev=494859
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/editableFieldTests.xal (added)
+++ incubator/xap/trunk/WebContent/examples/widgets/editableFieldTests.xal Wed Jan 10 07:46:01 2007
@@ -0,0 +1,14 @@
+<verticalBoxPane xmlns="http://openxal.org/ui">
+    <horizontalBoxPane width="500px">
+        <label width="100px" text="maxLength:"/>
+        <radioButton group="maxLength" width="75px" text="8" onSelect="mco:attributeSetter.setAttribute(testComponent, this.group ,this.text)"/>
+        <radioButton group="maxLength" width="75px" text="255" onSelect="mco:attributeSetter.setAttribute(testComponent, this.group ,this.text)"/>
+        <radioButton group="maxLength" width="75px" text="(none)" onSelect="mco:attributeSetter.removeAttribute(testComponent, this.group)"/>
+    </horizontalBoxPane>
+    <horizontalBoxPane width="500px">
+        <label width="100px" text="editable:"/>
+        <radioButton group="editable" width="75px" text="true" onSelect="mco:attributeSetter.setAttribute(testComponent, this.group ,this.text)"/>
+        <radioButton group="editable" width="75px" text="false" onSelect="mco:attributeSetter.setAttribute(testComponent, this.group ,this.text)"/>
+        <radioButton group="editable" width="75px" text="(none)" onSelect="mco:attributeSetter.removeAttribute(testComponent, this.group)"/>
+    </horizontalBoxPane>	
+</verticalBoxPane>
\ No newline at end of file

Added: incubator/xap/trunk/WebContent/examples/widgets/formElementTests.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/formElementTests.xal?view=auto&rev=494859
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/formElementTests.xal (added)
+++ incubator/xap/trunk/WebContent/examples/widgets/formElementTests.xal Wed Jan 10 07:46:01 2007
@@ -0,0 +1,9 @@
+<verticalBoxPane xmlns="http://openxal.org/ui">
+    
+    <horizontalBoxPane width="500px">
+        <label width="100px" text="disabled:"/>
+        <radioButton group="disabled" width="75px" text="true" onSelect="mco:attributeSetter.setAttribute(testComponent, this.group ,this.text)"/>
+        <radioButton group="disabled" width="75px" text="false" onSelect="mco:attributeSetter.setAttribute(testComponent, this.group ,this.text)"/>
+        <radioButton group="disabled" width="75px" text="(none)" onSelect="mco:attributeSetter.removeAttribute(testComponent, this.group)"/>
+    </horizontalBoxPane>
+</verticalBoxPane>
\ No newline at end of file

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=494859&r1=494858&r2=494859
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/freePane.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/freePane.xal Wed Jan 10 07:46:01 2007
@@ -1,31 +1,58 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
-
-
+	
 	<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">
 	
-		<horizontalBoxPane>
-			<verticalBoxPane>
-				<include href="standardButtons.xal" xmlns="http://openxal.org/core/xinclude"/>	
-			</verticalBoxPane>
-			<xal:freePane width="200px" height="200px" backgroundColor="black"
-				id="testComponent" orientation="horizontal">
-				<xal:freePane width="100px" height="100px" backgroundColor="red"><label text="panel 1"/></xal:freePane>
-				<xal:freePane width="100px" height="100px" x="100px" backgroundColor="green"><button text="my Button"/></xal:freePane>
-				<xal:freePane y="100px" height="50%" width="100%" backgroundColor="blue"><checkBox text="my Checkbox"/></xal:freePane>
-			</xal:freePane>
-			
-		</horizontalBoxPane>
-		<!--standard test things -->
-
-	</xm:append> 	  		
-  	</xm:modifications>
-</xal>
+	<mco
+		xmlns="http://openxal.org/core/mco" 
+		id="SmokeTests" 
+		class="SmokeTests"
+		src="SmokeTests.js"
+	/>	
+	
+	
+	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
+		<xm:append select="/ui">
+			<horizontalBoxPane>
+			<freePane width="500px" height="300px" backgroundColor="#F0F0F0" id="testComponentFreePane">	
+				<xal:freePane id="testComponent" width="300px" height="200px">
+					<label text="x and y not set"/>
+					<button text="x = 100, y not set" x="100px"/>
+					<checkBox text="y 100, x not set" y="100px"/>
+				</xal:freePane>
+			</freePane>	
+			<freePane width="500px" height="300px" backgroundColor="#CCCCCC">	
+				<xal:freePane width="200px" height="200px" backgroundColor="black"
+					id="testComponent2" orientation="horizontal">
+					<xal:freePane width="100px" height="100px" backgroundColor="red"><label text="panel 1"/></xal:freePane>
+					<xal:freePane width="100px" height="100px" x="100px" backgroundColor="green"><button text="my Button"/></xal:freePane>
+					<xal:freePane y="100px" height="50%" width="100%" backgroundColor="blue"><checkBox text="my Checkbox"/></xal:freePane>
+				</xal:freePane>
+			</freePane>	
+			</horizontalBoxPane>
+			<scrollPane width="1100px" height="500px" onCreate="mco:attributeSetter.resizeScrollPane(this, testComponentFreePane)">
+				<verticalBoxPane>
+					<horizontalBoxPane borderStyle="solid" borderWidth="2px" borderColor="#000">
+						<verticalBoxPane width="500px">
+							<label fontStyle="italic" autoWrap="true" text="Note: Due to a bug, the height for this component has been pre-set in this component test. It can be changed without a problem, but its current displayed height is not its default"/>							
+							<label height="25px" text="Specific tests:" fontWeight="bold"/>
+							<label text="None right now"/>					
+						</verticalBoxPane>
+						<!--standard test things -->		
+						<include href="standardButtons.xal" xmlns="http://openxal.org/core/xinclude"/>
+					</horizontalBoxPane>
+					<horizontalBoxPane>
+						<verticalBoxPane>
+							<label height="25px" text="Smoke tests:" fontWeight="bold"/>
+							<label text="None right now"/>
+						</verticalBoxPane>
+					</horizontalBoxPane>
+				</verticalBoxPane>
+			</scrollPane>
+		</xm:append> 	  		
+	</xm:modifications>
+</xal>
\ No newline at end of file

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=494859&r1=494858&r2=494859
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/gridPanel3.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/gridPanel3.xal Wed Jan 10 07:46:01 2007
@@ -18,14 +18,14 @@
   			<xal:button text="Wide Button 2" /> 
   			<xal:button text="Button 3" /> 
   			<xal:button text="B4" /> 
-  			<xal:button text="Colspan2, gridHorizontalAlignment fill" gridColumnSpan="2" gridHorizontalAlignment="fill" />  	
+  			<xal:button text="Colspan2, hAlign fill" columnSpan="2" hAlign="fill" />  	
   		</xal:gridPanel>
   	</xal:window>
   	
   	<xal:window>
   		<xal:gridPanel columns="3"> 
   			<xal:button text="B1" /> 
-  			<xal:button text="Colspan2, gridHorizontalAlignment fill" gridColumnSpan="2" gridHorizontalAlignment="fill" /> 
+  			<xal:button text="Colspan2, hAlign fill" columnSpan="2" hAlign="fill" /> 
   			<xal:button text="Button 3" /> 
   			<xal:button text="B4" /> 
   			<xal:button text="Button 5" /> 	
@@ -36,11 +36,11 @@
   		<xal:gridPanel columns="3"> 
   			<xal:button text="B1" /> 
   			<xal:button text="Wide Button 2" /> 
-  			<xal:button text="rowspan2, gridVerticalAlignment fill" gridRowSpan="2" gridVerticalAlignment="fill" /> 
+  			<xal:button text="rowspan2, vAlign fill" rowSpan="2" vAlign="fill" /> 
   			<xal:button text="B4" /> 
   			<xal:button text="Button 5" /> 
   		</xal:gridPanel>
-  	</xal:window>
+  	</window>
   
 	</xm:append> 	  		
   	</xm:modifications>

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=494859&r1=494858&r2=494859
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/gridPanel5.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/gridPanel5.xal Wed Jan 10 07:46:01 2007
@@ -14,25 +14,25 @@
 	<window xmlns="http://openxal.org/ui">
   		<gridPanel columns="3"> 
   			<label text="Dog's Name:" /> 
- 		 	<textField gridColumnSpan="2" gridHorizontalAlignment="fill" /> 
+ 		 	<textField columnSpan="2" hAlign="fill" /> 
   			<label text="Breed" /> 
-  			<textField gridHorizontalAlignment="fill" /> 
-  			<label text="Categories" gridHorizontalAlignment="center" /> 
+  			<textField hAlign="fill" /> 
+  			<label text="Categories" hAlign="center" /> 
   			<label text="Photo:" /> 
-  			<label backgroundColor="red" gridVerticalGrabSpace="true" gridHorizontalGrabSpace="true" gridVerticalAlignment="fill" hAlign="fill" gridRowSpan="3" /> 
-			<listBox gridRowSpan="4" gridVerticalAlignment="fill">
+  			<label backgroundColor="red" vGrabSpace="true" hGrabSpace="true" vAlign="fill" hAlign="fill" rowSpan="3" /> 
+			<listBox rowSpan="4" vAlign="fill">
   				<listItem text="Loudest Bark" /> 
   				<listItem text="Best of Breed" /> 
   			</listBox>
   			<button text="Browse..." /> 
   			<button text="Delete" /> 
-  			<gridPanel borderColor="black" columns="2" gridColumnSpan="2" borderStyle="solid" borderWidth="1px" caption="Owner Info" hAlign="fill">
+  			<gridPanel borderColor="black" columns="2" columnSpan="2" borderStyle="solid" borderWidth="1px" caption="Owner Info" hAlign="fill">
 				<label text="Name:" /> 
-				<textField gridHorizontalGrabSpace="true" gridHorizontalAlignment="fill" /> 
+				<textField hGrabSpace="true" hAlign="fill" /> 
 				<label text="Phone:" /> 
-				<textField gridHorizontalGrabSpace="true" gridHorizontalAlignment="fill" /> 
+				<textField hGrabSpace="true" hAlign="fill" /> 
   			</gridPanel>
-  			<button text="Enter" gridColumnSpan="3" gridHorizontalAlignment="end" /> 
+  			<button text="Enter" columnSpan="3" hAlign="end" /> 
    		</gridPanel>
 	</window>
 

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=494859&r1=494858&r2=494859
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/horizontalBoxPane.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/horizontalBoxPane.xal Wed Jan 10 07:46:01 2007
@@ -1,108 +1,68 @@
 <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui"> 
-
-
+	
 	<mco
 		xmlns="http://openxal.org/core/mco" 
 		id="attributeSetter" 
 		class="AttributeTester"
 		src="AttributeTester.js"
 	/>	
-
-
+	
+	<mco
+		xmlns="http://openxal.org/core/mco" 
+		id="SmokeTests" 
+		class="SmokeTests"
+		src="SmokeTests.js"
+	/>	
+	
+	
 	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
-	<xm:append select="/ui">
-		<horizontalBoxPane>
-		
-		<verticalBoxPane>
-		<!-- container tests -->
-		<xal:button width="200px" height="25px" 
-			text="pack -> end"
-			onCommand="mco:attributeSetter.setAttribute(testComponent,
-				'pack' ,'end')"/>
-				
-		<xal:button width="200px" height="25px" 
-			text="pack -> start"
-			onCommand="mco:attributeSetter.setAttribute(testComponent,
-				'pack' ,'start')"/>
-				
-		<xal:button width="200px" height="25px" 
-			text="pack -> center"
-			onCommand="mco:attributeSetter.setAttribute(testComponent,
-				'pack' ,'center')"/>
-
-		<xal:button width="200px" height="25px" 
-			text="alignment -> center"
-			onCommand="mco:attributeSetter.setAttribute(testComponent,
-				'alignment' ,'center')"/>
-				
-		<xal:button width="200px" height="25px" 
-			text="alignment -> start"
-			onCommand="mco:attributeSetter.setAttribute(testComponent,
-				'alignment' ,'start')"/>
-				
-		<xal:button width="200px" height="25px" 
-			text="alignment -> end"
-			onCommand="mco:attributeSetter.setAttribute(testComponent,
-				'alignment' ,'end')"/>
-				
-		<xal:button width="200px" height="25px" 
-			text="alignment -> stretch"
-			onCommand="mco:attributeSetter.setAttribute(testComponent,
-				'alignment' ,'stretch')"/>
-
-		<xal:button width="200px" height="25px" 
-			text="height -> 30px"
-			onCommand="mco:attributeSetter.setAttribute(testComponent,
-				'height' ,'30px')"/>	
-				
-		<xal:button width="200px" height="25px" 
-			text="width -> 30px"
-			onCommand="mco:attributeSetter.setAttribute(testComponent,
-				'width' ,'30px')"/>	
-
-		<!-- container tests -->
-		
-		<xal:button width="200px" height="25px" 
-			text="insert before red"
-			onCommand="mco:attributeSetter.insertBefore(redComponent)"/>
-			
-		<xal:button width="200px" height="25px" 
-			text="insert before blue"
-			onCommand="mco:attributeSetter.insertBefore(blueComponent)"/>
-			
-		<xal:button width="200px" height="25px" 
-			text="insert before green"
-			onCommand="mco:attributeSetter.insertBefore(greenComponent)"/>
-
-		<xal:button width="200px" height="25px" 
-			text="remove green"
-			onCommand="mco:attributeSetter.remove(greenComponent)"/>
-		</verticalBoxPane>
-
-		
-		<!--standard test things -->
-		
-		<verticalBoxPane>	
-		<include href="standardButtons.xal" xmlns="http://openxal.org/core/xinclude"/>
-		</verticalBoxPane>
-		
-			<xal:horizontalBoxPane width="200px" height="200px" backgroundColor="black"
-				id="testComponent">
-				<xal:freePane boxFlex="2" width="20px" height="100px" backgroundColor="red" id="redComponent">
-					<label text="f:2" x="0" y="0" />
-				</xal:freePane>
-				<xal:freePane boxFlex="3" width="20px" height="160px" backgroundColor="green" id="greenComponent">
-					<label text="f:3" x="0" y="0" />
-				</xal:freePane>
-				<xal:freePane width="20px" height="130px" backgroundColor="blue" id="blueComponent">
-					<label text="f:null" x="0" y="0" />
-				</xal:freePane>
-			</xal:horizontalBoxPane>
-		
-		
-		
-		</horizontalBoxPane>
-
-	</xm:append> 	  		
-  	</xm:modifications>
+		<xm:append select="/ui">
+			<freePane width="500px" height="300px" backgroundColor="#F0F0F0" id="testComponentFreePane">
+				<xal:horizontalBoxPane id="testComponent">
+					
+					<xal:freePane flex="3" height="110px" width="20px" backgroundColor="red" id="redComponent">
+						<label text="flex:3 width:110" x="0" y="0" />
+					</xal:freePane>
+					<xal:freePane flex="4" height="120px" width="20px" backgroundColor="green" id="greenComponent">
+						<label text="flex:4 width:120" x="0" y="0" />
+					</xal:freePane>
+					<xal:freePane flex="1" height="150px" width="20px" backgroundColor="yellow" id="yellowComponent">
+						<label text="flex:1 width:150 Debug-Mon Nov 06 2006 14:29:05 GMT-0500 (Eastern Standard Time) (xap.taghandling.PluginRegistryImpl): Add tag mapping:binding:xap.data.bridge.BindingBridge" x="0" y="0" />
+					</xal:freePane>
+					<xal:freePane height="140px" width="20px" backgroundColor="blue" id="blueComponent">
+						<label text="flex:null width:140" x="0" y="0" />
+					</xal:freePane>			
+				</xal:horizontalBoxPane> 				
+			</freePane>	
+			<scrollPane width="1100px" height="500px" onCreate="mco:attributeSetter.resizeScrollPane(this, testComponentFreePane)">
+				<verticalBoxPane>
+					<horizontalBoxPane borderStyle="solid" borderWidth="2px" borderColor="#000">
+						<verticalBoxPane width="500px">
+							<label height="25px" text="Specific tests:" fontWeight="bold"/>				
+							<include href="boxPaneTests.xal" xmlns="http://openxal.org/core/xinclude"/>
+						</verticalBoxPane>
+						<!--standard test things -->		
+						<include href="standardButtons.xal" xmlns="http://openxal.org/core/xinclude"/>
+					</horizontalBoxPane>
+					<horizontalBoxPane>
+						<verticalBoxPane width="500px">
+							<label height="25px" text="Smoke tests:" fontWeight="bold"/>
+							<verticalBoxPane>					
+								<include href="containerChildManipulation0.xal" xmlns="http://openxal.org/core/xinclude"/>
+								
+							</verticalBoxPane>
+						</verticalBoxPane>
+						<verticalBoxPane width="500px">
+							
+							<label height="25px" text=" " fontWeight="bold"/>
+							<include href="containerChildManipulation1.xal" xmlns="http://openxal.org/core/xinclude"/>
+						</verticalBoxPane>
+						
+						
+					</horizontalBoxPane>
+				</verticalBoxPane>
+			</scrollPane>
+		</xm:append> 	  		
+	</xm:modifications>
 </xal>
+