struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From musa...@apache.org
Subject svn commit: r751843 - in /struts/sandbox/trunk/s2-jquery-showcase/src/main: resources/struts.xml webapp/WEB-INF/content/form/date.jsp webapp/WEB-INF/content/index.jsp webapp/WEB-INF/content/simple-theme/Datepicker.jsp
Date Mon, 09 Mar 2009 21:14:13 GMT
Author: musachy
Date: Mon Mar  9 21:14:13 2009
New Revision: 751843

URL: http://svn.apache.org/viewvc?rev=751843&view=rev
Log:
Add datepicker

Added:
    struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/date.jsp
    struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/simple-theme/Datepicker.jsp
Modified:
    struts/sandbox/trunk/s2-jquery-showcase/src/main/resources/struts.xml
    struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/index.jsp

Modified: struts/sandbox/trunk/s2-jquery-showcase/src/main/resources/struts.xml
URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/s2-jquery-showcase/src/main/resources/struts.xml?rev=751843&r1=751842&r2=751843&view=diff
==============================================================================
--- struts/sandbox/trunk/s2-jquery-showcase/src/main/resources/struts.xml (original)
+++ struts/sandbox/trunk/s2-jquery-showcase/src/main/resources/struts.xml Mon Mar  9 21:14:13
2009
@@ -8,5 +8,6 @@
             <result>/WEB-INF/content/index.jsp</result>
         </action>
 
+        
     </package>
 </struts>
\ No newline at end of file

Added: struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/date.jsp
URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/date.jsp?rev=751843&view=auto
==============================================================================
--- struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/date.jsp
(added)
+++ struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/date.jsp
Mon Mar  9 21:14:13 2009
@@ -0,0 +1,12 @@
+<%@ taglib prefix="sjx" uri="/struts-jquery-tags" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<title>Posted Date</title>
+</head>
+<body>
+Date: <span id="date"><s:property value="date" /></span>
+</body>
+</html>
\ No newline at end of file

Modified: struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/index.jsp
URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/index.jsp?rev=751843&r1=751842&r2=751843&view=diff
==============================================================================
--- struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/index.jsp (original)
+++ struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/index.jsp Mon
Mar  9 21:14:13 2009
@@ -31,6 +31,11 @@
            <s:a href="%{#url}">Form With Reset Post Ajax Response</s:a>
        </li>
 
+       <li>
+           <s:url var="url" value="/simple-theme/Datepicker"/>
+           <s:a href="%{#url}">Date Picker</s:a>
+       </li>
+
    </ul>
 </body>
 </html>
\ No newline at end of file

Added: struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/simple-theme/Datepicker.jsp
URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/simple-theme/Datepicker.jsp?rev=751843&view=auto
==============================================================================
--- struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/simple-theme/Datepicker.jsp
(added)
+++ struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/simple-theme/Datepicker.jsp
Mon Mar  9 21:14:13 2009
@@ -0,0 +1,16 @@
+<%@ taglib prefix="sjx" uri="/struts-jquery-tags" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+    <title>Date Picker</title>
+    <sjx:head/>
+</head>
+<body>
+<s:form id="indexForm" method="post" namespace="/form" action="date" theme="simple">
+    <sjx:datepicker name="date" displayFormat="mm dd yy" theme="jquery-simple"/>
+    <s:submit />
+</s:form>
+</body>
+</html>
\ No newline at end of file



Mime
View raw message