struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From musa...@apache.org
Subject svn commit: r750161 - in /struts/sandbox/trunk/s2-jquery-showcase/src/main: resources/struts.xml webapp/WEB-INF/content/index.jsp webapp/index.jsp
Date Wed, 04 Mar 2009 21:33:27 GMT
Author: musachy
Date: Wed Mar  4 21:33:26 2009
New Revision: 750161

URL: http://svn.apache.org/viewvc?rev=750161&view=rev
Log:
Add index pages

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

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=750161&r1=750160&r2=750161&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 Wed Mar  4 21:33:26
2009
@@ -6,6 +6,10 @@
 
     <package name="s2-jquery-showcase" extends="struts-default" namespace="/">
         <default-interceptor-ref name="jsonValidationWorkflowStack"/>
+
+        <action name="showcase">
+            <result>/WEB-INF/content/index.jsp</result>
+        </action>
         <action name="SimpleFormPostNonAjaxResponse_*" method="{1}" class="org.apache.struts2.jquery.actions.MessageAction">
             <result name="input">/WEB-INF/content/form/SimpleFormPostNonAjaxResponse-input.jsp</result>
             <result>/WEB-INF/content/form/SimpleFormPostNonAjaxResponse.jsp</result>

Added: 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=750161&view=auto
==============================================================================
--- struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/index.jsp (added)
+++ struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/index.jsp Wed
Mar  4 21:33:26 2009
@@ -0,0 +1,27 @@
+<%@ 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>Struts JQuery Showcase</title>
+</head>
+<body>
+   <ul>
+       <li>
+           <s:url var="url" namespace="/" action="SimpleFormPostNonAjaxResponse_input"/>
+           <s:a href="%{#url}">Simple Form Post No Ajax</s:a>
+       </li>
+       <li>
+           <s:url var="url" namespace="/" action="SimpleFormGetNonAjaxResponse_input"/>
+           <s:a href="%{#url}">Simple Form Get No Ajax</s:a>
+       </li>
+       <li>
+           <s:url var="url" namespace="/" action="SimpleFormPostAjaxResponse_input"/>
+           <s:a href="%{#url}">Simple Form Post Ajax</s:a>
+       </li>
+       <li>
+           <s:url var="url" namespace="/" action="SimpleFormGetAjaxResponse_input"/>
+           <s:a href="%{#url}">Simple Form Get Ajax</s:a>
+       </li>
+   </ul>
+</body>
+</html>
\ No newline at end of file

Added: struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/index.jsp
URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/index.jsp?rev=750161&view=auto
==============================================================================
--- struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/index.jsp (added)
+++ struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/index.jsp Wed Mar  4 21:33:26
2009
@@ -0,0 +1 @@
+<% response.sendRedirect("showcase.action"); %>
\ No newline at end of file



Mime
View raw message