struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mr...@apache.org
Subject svn commit: r493964 - in /struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui: datepicker/index.jsp timepicker/index.jsp
Date Mon, 08 Jan 2007 06:43:03 GMT
Author: mrdon
Date: Sun Jan  7 22:43:02 2007
New Revision: 493964

URL: http://svn.apache.org/viewvc?view=rev&rev=493964
Log:
Fixed showcase examples of datetimepicker tags
WW-1588

Modified:
    struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/datepicker/index.jsp
    struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/timepicker/index.jsp

Modified: struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/datepicker/index.jsp
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/datepicker/index.jsp?view=diff&rev=493964&r1=493963&r2=493964
==============================================================================
--- struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/datepicker/index.jsp (original)
+++ struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/datepicker/index.jsp Sun Jan
 7 22:43:02 2007
@@ -3,63 +3,21 @@
 <html>
 <head>
     <title>UI Tags Example</title>
+    <s:head />
 </head>
 <body>
 <table>
-<tr><td>
-<s:datetimepicker value="2006-10-31" toggleType="wipe" toggleDuration="300" name="test"/>
-</td><td>
-toggleType="wipe"
-</td></tr>
-<tr><td>
-<s:datetimepicker value="2006-07-22" toggleType="explode" toggleDuration="500"/>
-</td><td>
-toggleType="explode"
-</td></tr>
-<tr><td>
-<s:datetimepicker value="2006-06-30" toggleType="fade" toggleDuration="500"/>
-</td><td>
-toggleType="fade"
-</td></tr>
-<tr><td>
-<s:datetimepicker  name="dddp1" value="today" />
-</td><td>
-With value="today"
-</td></tr>
-<tr><td>
-<s:datetimepicker  name="dddp2" language="en-us" />
-</td><td>
-US format, empty
-</td></tr>
-<tr><td>
-<s:datetimepicker  name="dddp3" value="2006-06-26" language="en-us" />
-</td><td>
-US format with initial date of 2006-06-26
-</td></tr>
-<tr><td>
-<s:datetimepicker  name="dddp5" value="1969-04-25" displayFormat="dd/MM/yyyy" />
-</td><td>
-With initial date of 1969-04-25 and a custom format dd/MM/yyyy
-</td></tr>
-<tr><td>
-<s:datetimepicker  name="dddp7" value="2006-06-28" language="de" />
-</td><td>
-In German
-</td></tr>
-<tr><td>
-<s:datetimepicker  name="dddp8" value="2006-06-28" language="nl" />
-</td><td>
-In Dutch
-</td></tr>
-<tr><td>
-<s:datetimepicker  name="dddp12" value="2006-06-26" formatLength="long" language="en-us"
/>
-</td><td>
-US format with initial date of 2006-06-26 and long formatting (parse not supported)
-</td></tr>
-<tr><td>
-<s:datetimepicker  name="dddp13" value="2006-06-26" formatLength="long" language="de"
/>
-</td><td>
-German format with initial date of 2006-06-26 and long formatting (parse not supported)
+<s:datetimepicker label="toggleType='wipe'" value="2006-10-31" toggleType="wipe" toggleDuration="300"
name="test"/>
+<s:datetimepicker label="toggleType='explode'" value="2006-07-22" toggleType="explode"
toggleDuration="500"/>
+<s:datetimepicker label="toggleType='fade'" value="2006-06-30" toggleType="fade" toggleDuration="500"/>
+<s:datetimepicker label="With value='today'"  name="dddp1" value="today" />
+<s:datetimepicker label="US format, empty" name="dddp2" language="en-us" />
+<s:datetimepicker label="US format with initial date of 2006-06-26" name="dddp3" value="2006-06-26"
language="en-us" />
+<s:datetimepicker label="With initial date of 1969-04-25 and a custom format dd/MM/yyyy"
name="dddp5" value="25/04/1969" displayFormat="dd/MM/yyyy" />
+<s:datetimepicker label="In German" name="dddp7" value="2006-06-28" language="de" />
+<s:datetimepicker label="In Dutch"  name="dddp8" value="2006-06-28" language="nl" />
+<s:datetimepicker label="US format with initial date of 2006-06-26 and long formatting
(parse not supported)" name="dddp12" value="2006-06-26" formatLength="long" language="en-us"
/>
+<s:datetimepicker label="German format with initial date of 2006-06-26 and long formatting
(parse not supported)" name="dddp13" value="2006-06-26" formatLength="long" language="de"
/>
 </table>
 </body>
 </html>

Modified: struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/timepicker/index.jsp
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/timepicker/index.jsp?view=diff&rev=493964&r1=493963&r2=493964
==============================================================================
--- struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/timepicker/index.jsp (original)
+++ struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/timepicker/index.jsp Sun Jan
 7 22:43:02 2007
@@ -3,45 +3,17 @@
 <html>
 <head>
     <title>UI Tags Example</title>
+    <s:head />
 </head>
 <body>
 <table>
-<tr><td>
-<s:datetimepicker type="time" value="10:30" toggleType="wipe" toggleDuration="300"/>
-</td><td>
-toggleType="wipe"
-</td></tr>
-<tr><td>
-<s:datetimepicker type="time" value="13:00" toggleType="explode" toggleDuration="500"/>
-</td><td>
-toggleTye="explode"
-</td></tr>
-<tr><td>
-<s:datetimepicker type="time" value="13:00" toggleType="fade" toggleDuration="500"/>
-</td><td>
-toggleType="fade"
-</td></tr>
-<tr><td>
-<s:datetimepicker type="time" name="dddp1" value="today" />
-</td><td>
-With value="today"
-</td></tr>
-<tr><td>
-<s:datetimepicker  type="time" name="dddp2" language="en-us" />
-</td><td>
-US format, empty
-</td></tr>
-<tr><td>
-<s:datetimepicker type="time" name="dddp7"  language="de" />
-</td><td>
-In German
-</td></tr>
-<tr><td>
-<s:datetimepicker type="time" name="dddp8"  language="nl" />
-</td><td>
-In Dutch
-</td><td>
+<s:datetimepicker label="toggleType='wipe'" type="time" value="10:30" toggleType="wipe"
toggleDuration="300"/>
+<s:datetimepicker label="toggleType='explode'" type="time" value="13:00" toggleType="explode"
toggleDuration="500"/>
+<s:datetimepicker label="toggleType='fade'" type="time" value="13:00" toggleType="fade"
toggleDuration="500"/>
+<s:datetimepicker label="With value='today'" type="time" name="dddp1" value="today" />
+<s:datetimepicker label="US format, empty" type="time" name="dddp2" language="en-us" />
+<s:datetimepicker label="In German" type="time" name="dddp7"  language="de" />
+<s:datetimepicker label="In Dutch" type="time" name="dddp8"  language="nl" />
 </table>
-<s:include value="../footer.jsp"/>
 </body>
 </html>



Mime
View raw message