incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtu...@apache.org
Subject svn commit: r481354 - /incubator/xap/trunk/WebContent/examples/widgets/checkBox.xal
Date Fri, 01 Dec 2006 19:49:20 GMT
Author: mturyn
Date: Fri Dec  1 11:49:19 2006
New Revision: 481354

URL: http://svn.apache.org/viewvc?view=rev&rev=481354
Log:
Added another group checkbox to better test groups (three can show bugs that two miss), added
buttons to print the group checkboxes' states.

Modified:
    incubator/xap/trunk/WebContent/examples/widgets/checkBox.xal

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=481354&r1=481353&r2=481354
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/checkBox.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/checkBox.xal Fri Dec  1 11:49:19 2006
@@ -19,9 +19,24 @@
 
 	  <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">				
+	<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" alignHorizontal="center" alignVertical="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;')" />
@@ -96,6 +111,8 @@
 	
 			<button width="200px" height="50px" alignHorizontal="center" alignVertical="center"
text="selected = false" 
 			 onCommand="mco:attributeSetter.setAttribute(testComponent, 'selected', 'false')" />
 
+			 
+		 
 	
 		</horizontalFlowPane>		
 		 



Mime
View raw message