incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtu...@apache.org
Subject svn commit: r533203 - /incubator/xap/trunk/samples/WebContent/examples/widgets/table.xal
Date Fri, 27 Apr 2007 20:02:38 GMT
Author: mturyn
Date: Fri Apr 27 13:02:37 2007
New Revision: 533203

URL: http://svn.apache.org/viewvc?view=rev&rev=533203
Log:
Altered s.t. a header is registered, and some headers and columns have settable horizontal
alignments and (in the case of headers) sort-image placement.

Modified:
    incubator/xap/trunk/samples/WebContent/examples/widgets/table.xal

Modified: incubator/xap/trunk/samples/WebContent/examples/widgets/table.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/samples/WebContent/examples/widgets/table.xal?view=diff&rev=533203&r1=533202&r2=533203
==============================================================================
--- incubator/xap/trunk/samples/WebContent/examples/widgets/table.xal (original)
+++ incubator/xap/trunk/samples/WebContent/examples/widgets/table.xal Fri Apr 27 13:02:37
2007
@@ -209,23 +209,35 @@
 				<freePane width="500px" height="300px" backgroundColor="#EEEEFF"
 					id="testComponentFreePane">
 					<table id="testComponent">
-						<column horizontalAlignment="center" id="column1" width="160px" onCreate="mco:attributeSetter.registerElement(this)">
-							<header text="Column 1" />
+						<column horizontalAlignment="right" id="column1" width="160px" onCreate="mco:attributeSetter.registerElement(this)">
+							<header text="r:Column 1"
+							id="header1" 
+							onCreate="mco:attributeSetter.registerElement(this)" 
+							comment_a0="Try correcting the next line, it should"
+							comment_a1="overwrite the column value:"
+							horizontalAlignmentt="right"
+							
+							comment_b0="Try correcting the next line, it should"
+							comment_b1="shift the sort-indicator to the left margin:"							
+							horizontalTextToImagePlacementt="right"
+							
+							
+							/>
 						</column>
 						<column  horizontalAlignment="right" width="80px">
-							<header text="Column 2" />
+							<header text="c:Column 2"  horizontalAlignment="center"/>
 						</column>
 						<column id="column3" 
 							width="40px"
 							onCreate="mco:attributeSetter.registerElement(this)"
 						>
-							<header text="Column 3"/>
+							<header text="d:Column 3"/>
 						</column>
 						<column  horizontalAlignment="left" width="20px" id="columnA" onCreate="mco:attributeSetter.registerElement(this)">
-							<header text="Column A"/>
+							<header text="r:Column A" horizontalAlignment="right"/>
 						</column>						
 						<row id="row1" onCreate="mco:attributeSetter.registerElement(this)">
-							<cell text="l:a" horizontalAlignment="left"/>
+							<cell text="L:a" horizontalAlignment="left"/>
 							<cell text="b"/>
 							<cell text="c"/>
 							<cell text="d"/>							
@@ -234,7 +246,7 @@
 								<cell text="depth 2 b"/>
 								<cell text="depth 2 c"/>
 								<row>
-									<cell horizontalAlignment="left" text="l:depth 3 a"/>
+									<cell horizontalAlignment="left" text="L:depth 3 a"/>
 									<cell text="depth 3 b"/>
 									<cell text="depth 3 c"/>
 								</row>



Mime
View raw message