incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtu...@apache.org
Subject svn commit: r442342 - in /incubator/xap/trunk/WebContent/examples/dataBinding: mcoAttribute.html mcoAttribute.xal
Date Mon, 11 Sep 2006 20:45:46 GMT
Author: mturyn
Date: Mon Sep 11 13:45:45 2006
New Revision: 442342

URL: http://svn.apache.org/viewvc?view=rev&rev=442342
Log:
Altering background colors and alignments.

Modified:
    incubator/xap/trunk/WebContent/examples/dataBinding/mcoAttribute.html
    incubator/xap/trunk/WebContent/examples/dataBinding/mcoAttribute.xal

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=442342&r1=442341&r2=442342
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dataBinding/mcoAttribute.html (original)
+++ incubator/xap/trunk/WebContent/examples/dataBinding/mcoAttribute.html Mon Sep 11 13:45:45
2006
@@ -19,6 +19,7 @@
    <script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
    <script language="JavaScript" type="text/javascript" src="AttributeGetter.js"></script>
    <script language="JavaScript" type="text/javascript" src="../../src/ResolutionHandler.js"></script>
+   <script language="JavaScript" type="text/javascript" src="../../src/bridges/xap/LabelBridge.js"></script>
  
    
     
    <script language="JavaScript" src="../../src/xml/sax/SaxParser"> </script>

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=442342&r1=442341&r2=442342
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dataBinding/mcoAttribute.xal (original)
+++ incubator/xap/trunk/WebContent/examples/dataBinding/mcoAttribute.xal Mon Sep 11 13:45:45
2006
@@ -13,14 +13,15 @@
 
 		<xal:label 
 			id="topLabel"
-			width="240px" 
-			height="50px"			
-			text="Various mco arg resolutions: first expression, then that to which it resolves:"
+			width="600px" 
+			height="40px"
+			backgroundColor="#b0a0b0"						
+			text="Mco expressions and their resolved values:"
 		/>
 	
 		<xal:label 
 			y="50px"
-			width="200px" 
+			width="290px" 
 			height="40px"
 			align="center"
 			text="\{this\}"
@@ -28,10 +29,11 @@
 		
 		<xal:label 				
 			y="50px"
-			x="40px"			
-			width="200px" 			
+			x="310px"			
+			width="290px" 			
 			height="40px"			
-			align="center"			
+			backgroundColor="#ffdddd"			
+			alignHorizontal="center"			
 			text="{this}"			
 			id="testComponent_0" 		
 		/>
@@ -39,7 +41,7 @@
 		
 		<xal:label 
 			y="100px"
-			width="200px" 
+			width="290px" 
 			height="40px"
 			align="center"
 			text="\{this.width\}"
@@ -47,10 +49,11 @@
 		
 		<xal:label 				
 			y="100px"
-			x="40px"			
-			width="200px" 			
+			x="310px"			
+			width="290px" 			
 			height="40px"			
-			align="center"			
+			backgroundColor="#ffdddd"			
+			alignHorizontal="center"			
 			text="{this.width}"		
 			id="testComponent_1" 		
 		/>                                      
@@ -60,7 +63,7 @@
 		
 		<xal:label 
 			y="150px"
-			width="200px" 
+			width="290px" 
 			height="40px"
 			align="center"
 			text="\{topLabel\}"
@@ -68,10 +71,11 @@
 		
 		<xal:label 				
 			y="150px"
-			x="40px"			
-			width="200px" 			
+			x="310px"			
+			width="290px" 			
 			height="40px"			
-			align="center"			
+			backgroundColor="#ffdddd"			
+			alignHorizontal="center"			
 			text="{topLabel}"			
 			id="testComponent_2" 		
 		/>
@@ -79,7 +83,7 @@
 		
 		<xal:label 
 			y="200px"
-			width="200px" 
+			width="290px" 
 			height="40px"
 			align="center"
 			text="\{topLabel.text\}"
@@ -87,17 +91,18 @@
 		
 		<xal:label 				
 			y="200px"
-			x="40px"			
-			width="200px" 			
+			x="310px"			
+			width="290px" 			
 			height="40px"			
-			align="center"			
+			backgroundColor="#ffdddd"			
+			alignHorizontal="center"			
 			text="{topLabel.text}"		
 			id="testComponent_3" 		
 		/>   
 		
 		<xal:label 
 			y="250px"
-			width="200px" 
+			width="290px" 
 			height="40px"
 			align="center"
 			text="\{&quot;A text message.&quot;\}"
@@ -105,10 +110,11 @@
 		
 		<xal:label 				
 			y="250px"
-			x="40px"						
-			width="200px" 			
+			x="310px"						
+			width="290px" 			
 			height="40px"			
-			align="center"			
+			backgroundColor="#ffdddd"			
+			alignHorizontal="center"				
 			text="{&quot;A text message.&quot;}"		
 			id="testComponent_4" 		
 		/>   		                         
@@ -116,7 +122,7 @@
 
 		<xal:label 
 			y="300px"
-			width="200px" 
+			width="290px" 
 			height="40px"
 			align="center"
 			text="\{3.1416\}"
@@ -124,17 +130,18 @@
 		
 		<xal:label 				
 			y="300px"	
-			x="40px"					
-			width="200px" 			
+			x="310px"					
+			width="290px" 			
 			height="40px"			
-			align="center"			
+			backgroundColor="#ffdddd"			
+			alignHorizontal="center"			
 			text="{3.1416}"		
 			id="testComponent_5" 		
 		/>   
 
 		<xal:label 
 			y="350px"
-			width="200px" 
+			width="290px" 
 			height="40px"
 			align="center"
 			text="\{false\}"
@@ -142,17 +149,18 @@
 		
 		<xal:label 				
 			y="350px"
-			x="40px"			
-			width="200px" 			
-			height="40px"			
-			align="center"			
+			x="310px"			
+			width="290px" 			
+			height="40px"
+			backgroundColor="#ffdddd"			
+			alignHorizontal="center"			
 			text="{false}"		
 			id="testComponent_6" 		
 		/> 
 
 		<xal:label 
 			y="400px"
-			width="200px" 
+			width="290px" 
 			height="40px"
 			align="center"
 			text="\{mco:attributeGetter\}"
@@ -160,17 +168,18 @@
 		
 		<xal:label 				
 			y="400px"	
-			x="40px"					
-			width="200px" 			
+			x="310px"					
+			width="290px" 			
 			height="40px"			
-			align="center"			
+			backgroundColor="#ffdddd"			
+			alignHorizontal="center"			
 			text="{mco:attributeGetter}"	
 			id="testComponent_7" 		
 		/>   
 
 		<xal:label 
 			y="450px"
-			width="200px" 
+			width="290px" 
 			height="40px"
 			align="center"
 			text="\{mco:attributeGetter.getText()\}"
@@ -178,10 +187,11 @@
 		
 		<xal:label 				
 			y="450px"
-			x="40px"			
-			width="200px" 			
+			x="310px"			
+			width="290px" 			
 			height="40px"			
-			align="center"			
+			backgroundColor="#ffdddd"			
+			alignHorizontal="center"				
 			text="{mco:attributeGetter.getText()}"		
 			id="testComponent_8" 		
 		/> 		



Mime
View raw message