incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtu...@apache.org
Subject svn commit: r483647 - /incubator/xap/trunk/WebContent/examples/widgets/standardButtons.xal
Date Thu, 07 Dec 2006 20:29:49 GMT
Author: mturyn
Date: Thu Dec  7 12:29:48 2006
New Revision: 483647

URL: http://svn.apache.org/viewvc?view=rev&rev=483647
Log:
Can now enter a new attribute value with a carrriage return; convenient and illustrative.

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

Modified: incubator/xap/trunk/WebContent/examples/widgets/standardButtons.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/standardButtons.xal?view=diff&rev=483647&r1=483646&r2=483647
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/standardButtons.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/standardButtons.xal Thu Dec  7 12:29:48
2006
@@ -88,7 +88,13 @@
 </horizontalFlowPane>
 	<horizontalBoxPane>
 		<textField text="attribute" id="attributeName"/>
-		<textField id="attributeValue" text="value"/>
+
+		<textField id="attributeValue" text="value" 
+			onKeyDown="mco:attributeSetter.setAttributeOnCR(event,testComponent,
+			attributeName.text, attributeValue.text)"
+		/>
+
+
 		<button text="Go!"
 			onCommand="mco:attributeSetter.setAttribute(testComponent,
 			attributeName.text, attributeValue.text)"



Mime
View raw message