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 mt...@apache.org on 2006/09/27 17:44:42 UTC

svn commit: r450516 - in /incubator/xap/trunk/WebContent/examples/widgets: button.xal checkBox.xal index.html radioButton.xal

Author: mturyn
Date: Wed Sep 27 10:44:41 2006
New Revision: 450516

URL: http://svn.apache.org/viewvc?view=rev&rev=450516
Log:
updates to the test files

Modified:
    incubator/xap/trunk/WebContent/examples/widgets/button.xal
    incubator/xap/trunk/WebContent/examples/widgets/checkBox.xal
    incubator/xap/trunk/WebContent/examples/widgets/index.html
    incubator/xap/trunk/WebContent/examples/widgets/radioButton.xal

Modified: incubator/xap/trunk/WebContent/examples/widgets/button.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/button.xal?view=diff&rev=450516&r1=450515&r2=450516
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/button.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/button.xal Wed Sep 27 10:44:41 2006
@@ -15,7 +15,7 @@
 
 	
 
-	  <button id="testComponent" width="300px" height="100px" text="Belly Button" />
+	  <button id="testComponent" width="300px" height="100px" text="Belly Button" onCommand="mco:attributeSetter.reportEvent(event)"/>
 		
 
 		<button width="200px" height="50px" alignHorizontal="center" alignVertical="center" text="Hello World!" 

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=450516&r1=450515&r2=450516
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/checkBox.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/checkBox.xal Wed Sep 27 10:44:41 2006
@@ -15,7 +15,7 @@
 
 	
 
-	  <checkBox id="testComponent" width="300px" height="100px" text="My Checkbox" onStateChange="javascript:alert('onStateChange specified in XAL!!!')" />
+	  <checkBox id="testComponent" width="300px" height="100px" text="My Checkbox" onStateChange="mco:attributeSetter.reportEvent(event)" />
 		
 
 		<button width="200px" height="50px" alignHorizontal="center" alignVertical="center" text="Hello World!" 

Modified: incubator/xap/trunk/WebContent/examples/widgets/index.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/index.html?view=diff&rev=450516&r1=450515&r2=450516
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/index.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/index.html Wed Sep 27 10:44:41 2006
@@ -6,6 +6,7 @@
 <li><a href="label.html">&lt;label&gt;</a></li>
 <li><a href="checkBox.html">&lt;checkBox&gt;</a></li>
 <li><a href="radioButton.html">&lt;radioButton&gt;</a></li>
+<li><a href="combobox.html">&lt;comboBox&gt;</a></li>
 <li><a href="textField.html">&lt;textField&gt;</a></li>
 <li><a href="textArea.html">&lt;textArea&gt;</a></li>
 <li><a href="passwordField.html">&lt;passwordField&gt;</a></li>

Modified: incubator/xap/trunk/WebContent/examples/widgets/radioButton.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/radioButton.xal?view=diff&rev=450516&r1=450515&r2=450516
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/radioButton.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/radioButton.xal Wed Sep 27 10:44:41 2006
@@ -15,7 +15,7 @@
 
 	
 
-	  <radioButton id="testComponent" width="300px" height="100px" text="RADIO 1" group="America" onStateChange="javascript:alert('onStateChange Radio Button 1!!!')" />
+	  <radioButton id="testComponent" width="300px" height="100px" text="RADIO 1" group="America" onStateChange="mco:attributeSetter.reportEvent(event)" />
 	  <radioButton width="300px" height="100px" text="RADIO 2" group="America" onStateChange="javascript:alert('onStateChange Radio Button 2!!!')" />
 	  <radioButton width="300px" height="100px" text="RADIO 3" group="America" onStateChange="javascript:alert('onStateChange Radio Button 3!!!')" />
 	  <radioButton width="300px" height="100px" text="RADIO 4" group="America" onStateChange="javascript:alert('onStateChange Radio Button 4!!!')" />