incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtu...@apache.org
Subject svn commit: r433777 - /incubator/xap/trunk/WebContent/examples/dojo/datePicker.xal
Date Tue, 22 Aug 2006 22:23:13 GMT
Author: mturyn
Date: Tue Aug 22 15:23:12 2006
New Revision: 433777

URL: http://svn.apache.org/viewvc?rev=433777&view=rev
Log:
Gave this an odd date format so that we're sure that we're setting it, rather than relying
on the normal-lloking default one ("#yyyy-#MM-#dd").

Modified:
    incubator/xap/trunk/WebContent/examples/dojo/datePicker.xal

Modified: incubator/xap/trunk/WebContent/examples/dojo/datePicker.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dojo/datePicker.xal?rev=433777&r1=433776&r2=433777&view=diff
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dojo/datePicker.xal (original)
+++ incubator/xap/trunk/WebContent/examples/dojo/datePicker.xal Tue Aug 22 15:23:12 2006
@@ -11,6 +11,12 @@
 
   <xm:modifications xmlns:xm="http://www.openxal.org/xmodify">
     <xm:append select="/xal">
+    	<!-- 
+    		Give this a strange date format string to make
+    		sure that this isn't just using the (benign) default
+    		one ("#yyyy-#MM-#dd")....
+    	-->
+    	
 		<datePicker xmlns="http://www.dojotoolkit.org/" 	
 				id="theDatePicker"	
 				displayerId="datePickerDisplayer"
@@ -23,7 +29,8 @@
 				onIncrementYear="javascript:alert('Changed, event \'onIncrementYear\' triggered the NON-DEFAULT
code that created this box.')"
 				onClick="javascript:alert('Changed, event \'onClick\' triggered the DEFAULT code that
created this box.')"
 				onSetDate="mco:handler.onSetDate(event)"
-				formatString="Formatted date:  #yyyy-#MM-#dd."
+				formatString=
+	"Formatted date:  &lt;font font-weight=&quot;normal&quot;&gt;[2K]&lt;/font&gt;#yy-#MM-#dd."
 		/>	
    	</xm:append> 	  	
 



Mime
View raw message