Author: husted
Date: Sun Jan  7 18:04:37 2007
New Revision: 493903

URL: http://svn.apache.org/viewvc?view=rev&rev=493903
Log:
WW-1588 - showcase tweaks. 
Add back datepicker and timepicker examples 


Added:
    struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/datepicker/
    struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/datepicker/index.jsp
    struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/timepicker/
    struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/timepicker/index.jsp
Modified:
    struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/index.jsp
    
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/tabbedpanel/index.jsp

Added: 
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/datepicker/index.jsp
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/datepicker/index.jsp?view=auto&rev=493903
==============================================================================
--- 
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/datepicker/index.jsp 
(added)
+++ 
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/datepicker/index.jsp 
Sun Jan  7 18:04:37 2007
@@ -0,0 +1,72 @@
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
+<html>
+<head>
+    <title>Ajax Examples</title>
+
+    <!--// START SNIPPET: common-include-->
+    <jsp:include page="/ajax/commonInclude.jsp"/>
+    <!--// END SNIPPET: common-include-->
+
+</head>
+
+<body>
+<table>
+<tr><td>
+<s:dropdowndatetimepicker value="2006-10-31" toggleType="wipe" 
toggleDuration="300" name="test"/>
+</td><td>
+toggleType="wipe"
+</td></tr>
+<tr><td>
+<s:dropdowndatetimepicker value="2006-07-22" toggleType="explode" 
toggleDuration="500"/>
+</td><td>
+toggleType="explode"
+</td></tr>
+<tr><td>
+<s:dropdowndatetimepicker value="2006-06-30" toggleType="fade" 
toggleDuration="500"/>
+</td><td>
+toggleType="fade"
+</td></tr>
+<tr><td>
+<s:dropdowndatetimepicker  name="dddp1" value="today" />
+</td><td>
+With value="today"
+</td></tr>
+<tr><td>
+<s:dropdowndatetimepicker  name="dddp2" language="en-us" />
+</td><td>
+US format, empty
+</td></tr>
+<tr><td>
+<s:dropdowndatetimepicker  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:dropdowndatetimepicker  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:dropdowndatetimepicker  name="dddp7" value="2006-06-28" language="de" />
+</td><td>
+In German
+</td></tr>
+<tr><td>
+<s:dropdowndatetimepicker  name="dddp8" value="2006-06-28" language="nl" />
+</td><td>
+In Dutch
+</td></tr>
+<tr><td>
+<s:dropdowndatetimepicker  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:dropdowndatetimepicker  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)
+</table>
+<s:include value="../footer.jsp"/>
+</body>
+</html>

Modified: struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/index.jsp
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/index.jsp?view=diff&rev=493903&r1=493902&r2=493903
==============================================================================
--- struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/index.jsp (original)
+++ struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/index.jsp Sun Jan  
7 18:04:37 2007
@@ -12,6 +12,8 @@
     <li><a href="autocompleter">Autocompleter combobox tag</a></li>
     <li><a href="remotelink">Remote link tag</a></li>
        <li><a href="remotebutton">Remote button tag</a></li>
+    <li><a href="datepicker">DateTime picker tag - Pick a date</a></li>
+    <li><a href="timepicker">DateTime picker tag - Pick a time</a></li>
     <li><a href="tabbedpanel">Tabbed panel</a></li>
     <li><a href="remoteforms">Remote forms</a></li>
     <li><a href="widgets">Widgets </a> (experimental - may not work in all 
browsers

Modified: 
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/tabbedpanel/index.jsp
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/tabbedpanel/index.jsp?view=diff&rev=493903&r1=493902&r2=493903
==============================================================================
--- 
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/tabbedpanel/index.jsp 
(original)
+++ 
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/tabbedpanel/index.jsp 
Sun Jan  7 18:04:37 2007
@@ -14,8 +14,8 @@
         <li><a href="example2.jsp">A local tabbed panel width fixed size 
(doLayout="true")</a></li>
         <li><a href="example3.jsp">A remote(href != "") and local tabbed 
panel</a></li>
         <li><a href="example1.jsp">Various remote and local tabbed panels 
(with enclosed tabbed pannels) with layout (doLayout="false")</a></li>
-        <li><a href="example4.jsp">A local tabbed panel width fixed size 
(doLayout="true") with close button on tabs(closeButton="tab"), and tabs on the 
right (labelposition="righ")</a></li>
-        <li><a href="example5.jsp">A local tabbed panel width fixed size 
(doLayout="true") with close button on the tab pane(closeButton="pane"), and 
tabs on the bottom (labelposition="bottom")</a></li>
+        <li><a href="example4.jsp">A local tabbed panel width fixed size 
(doLayout="true") with close button on tabs(closeButton="tab"), and tabs on the 
right (labelposition="right")</a></li>
+        <li><a href="example5.jsp">A local tabbed panel width fixed size 
(doLayout="true") with close button on the tab pane (closeButton="pane"), and 
tabs on the bottom (labelposition="bottom")</a></li>
     </ol>
 
 

Added: 
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/timepicker/index.jsp
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/timepicker/index.jsp?view=auto&rev=493903
==============================================================================
--- 
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/timepicker/index.jsp 
(added)
+++ 
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/timepicker/index.jsp 
Sun Jan  7 18:04:37 2007
@@ -0,0 +1,53 @@
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
+<html>
+<head>
+    <title>Ajax Examples</title>
+
+    <!--// START SNIPPET: common-include-->
+    <jsp:include page="/ajax/commonInclude.jsp"/>
+    <!--// END SNIPPET: common-include-->
+
+</head>
+
+<body>
+<table>
+<tr><td>
+<s:dropdowndatetimepicker type="time" value="10:30" toggleType="wipe" 
toggleDuration="300"/>
+</td><td>
+toggleType="wipe"
+</td></tr>
+<tr><td>
+<s:dropdowndatetimepicker type="time" value="13:00" toggleType="explode" 
toggleDuration="500"/>
+</td><td>
+toggleTye="explode"
+</td></tr>
+<tr><td>
+<s:dropdowndatetimepicker type="time" value="13:00" toggleType="fade" 
toggleDuration="500"/>
+</td><td>
+toggleType="fade"
+</td></tr>
+<tr><td>
+<s:dropdowndatetimepicker type="time" name="dddp1" value="today" />
+</td><td>
+With value="today"
+</td></tr>
+<tr><td>
+<s:dropdowndatetimepicker  type="time" name="dddp2" language="en-us" />
+</td><td>
+US format, empty
+</td></tr>
+<tr><td>
+<s:dropdowndatetimepicker type="time" name="dddp7"  language="de" />
+</td><td>
+In German
+</td></tr>
+<tr><td>
+<s:dropdowndatetimepicker type="time" name="dddp8"  language="nl" />
+</td><td>
+In Dutch
+</td><td>
+</table>
+<s:include value="../footer.jsp"/>
+</body>
+</html>


Reply via email to