From d891f22943bdb4d31b5bc80f2ace1108699a8eac Mon Sep 17 00:00:00 2001
From: Ted Nathan Husted
Date: Thu, 31 Aug 2006 18:08:14 +0000
Subject: [PATCH] WW-1349 Move new Tutorial code into Showcase
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@438998 13f79535-47bb-0310-9956-ffa450edef68
---
.../showcase/tutorial/struts-tutorial.xml | 20 +++++++++++++------
apps/showcase/src/main/resources/struts.xml | 4 ++--
.../main/webapp/WEB-INF/decorators/main.jsp | 3 ++-
apps/showcase/src/main/webapp/showcase.jsp | 4 ++++
.../src/main/webapp/tutorial/index.html | 10 ----------
5 files changed, 22 insertions(+), 19 deletions(-)
delete mode 100644 apps/showcase/src/main/webapp/tutorial/index.html
diff --git a/apps/showcase/src/main/java/org/apache/struts2/showcase/tutorial/struts-tutorial.xml b/apps/showcase/src/main/java/org/apache/struts2/showcase/tutorial/struts-tutorial.xml
index a581f2b33..da3e0f77b 100644
--- a/apps/showcase/src/main/java/org/apache/struts2/showcase/tutorial/struts-tutorial.xml
+++ b/apps/showcase/src/main/java/org/apache/struts2/showcase/tutorial/struts-tutorial.xml
@@ -6,23 +6,31 @@
-
+
-
- HelloWorld.jsp
+
+ Welcome.jsp
-
+
+
+
+ HelloWorld.jsp
+
+
+
+
+
- HelloName-success.jsp
+ HelloName-success.jsp
HelloName-error.html
- HelloName2-success.jsp
+ HelloName2-success.jsp
HelloName-error.html
diff --git a/apps/showcase/src/main/resources/struts.xml b/apps/showcase/src/main/resources/struts.xml
index fd1dfa7da..3c739ff34 100644
--- a/apps/showcase/src/main/resources/struts.xml
+++ b/apps/showcase/src/main/resources/struts.xml
@@ -44,6 +44,8 @@
+
+
@@ -53,8 +55,6 @@
-
-
showcase.jsp
diff --git a/apps/showcase/src/main/webapp/WEB-INF/decorators/main.jsp b/apps/showcase/src/main/webapp/WEB-INF/decorators/main.jsp
index 9c41a3c43..57aba6ff2 100644
--- a/apps/showcase/src/main/webapp/WEB-INF/decorators/main.jsp
+++ b/apps/showcase/src/main/webapp/WEB-INF/decorators/main.jsp
@@ -75,11 +75,12 @@
">Execute & Wait
">Token
">File Download
- "/>Conversion
+ ">Conversion
">JSF
">Freemarker
">Chat (AJAX)
">Hangman
+ ">Tutorial
">Help
diff --git a/apps/showcase/src/main/webapp/showcase.jsp b/apps/showcase/src/main/webapp/showcase.jsp
index 41bc1ab63..bec94f5c1 100644
--- a/apps/showcase/src/main/webapp/showcase.jsp
+++ b/apps/showcase/src/main/webapp/showcase.jsp
@@ -71,6 +71,10 @@
Hangman (AJAX and Non AJAX) Example
+
+
+ Source code for the Tutorial
+
diff --git a/apps/showcase/src/main/webapp/tutorial/index.html b/apps/showcase/src/main/webapp/tutorial/index.html
deleted file mode 100644
index c6d985456..000000000
--- a/apps/showcase/src/main/webapp/tutorial/index.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-Loading ...
-
-