From e7e6065b36bf60414486ee9a42c1d60e4c513fe7 Mon Sep 17 00:00:00 2001 From: Nils-Helge Garli Date: Sun, 12 Aug 2007 12:39:40 +0000 Subject: [PATCH] WW-1877 Removed ajax examples git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@565051 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/resources/struts-view.xml | 13 ----- apps/portlet/src/main/webapp/WEB-INF/dwr.xml | 21 -------- .../src/main/webapp/WEB-INF/view/ajax.jsp | 1 - .../src/main/webapp/WEB-INF/view/ajaxData.jsp | 1 - .../main/webapp/WEB-INF/view/ajaxExample.jsp | 48 ------------------- 5 files changed, 84 deletions(-) delete mode 100644 apps/portlet/src/main/webapp/WEB-INF/dwr.xml delete mode 100644 apps/portlet/src/main/webapp/WEB-INF/view/ajax.jsp delete mode 100644 apps/portlet/src/main/webapp/WEB-INF/view/ajaxData.jsp delete mode 100644 apps/portlet/src/main/webapp/WEB-INF/view/ajaxExample.jsp diff --git a/apps/portlet/src/main/resources/struts-view.xml b/apps/portlet/src/main/resources/struts-view.xml index 51e3c785a..e8544e257 100644 --- a/apps/portlet/src/main/resources/struts-view.xml +++ b/apps/portlet/src/main/resources/struts-view.xml @@ -43,7 +43,6 @@ /WEB-INF/view/formExampleInputValidation.jsp - - - - /WEB-INF/view/ajaxExample.jsp - - - - - /WEB-INF/view/ajaxData.jsp - - diff --git a/apps/portlet/src/main/webapp/WEB-INF/dwr.xml b/apps/portlet/src/main/webapp/WEB-INF/dwr.xml deleted file mode 100644 index 4ede30035..000000000 --- a/apps/portlet/src/main/webapp/WEB-INF/dwr.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - ); - ]]> - - diff --git a/apps/portlet/src/main/webapp/WEB-INF/view/ajax.jsp b/apps/portlet/src/main/webapp/WEB-INF/view/ajax.jsp deleted file mode 100644 index e24ec7c17..000000000 --- a/apps/portlet/src/main/webapp/WEB-INF/view/ajax.jsp +++ /dev/null @@ -1 +0,0 @@ -

Hello from Ajax!

diff --git a/apps/portlet/src/main/webapp/WEB-INF/view/ajaxData.jsp b/apps/portlet/src/main/webapp/WEB-INF/view/ajaxData.jsp deleted file mode 100644 index 796b0d77d..000000000 --- a/apps/portlet/src/main/webapp/WEB-INF/view/ajaxData.jsp +++ /dev/null @@ -1 +0,0 @@ -This data is fetched via Ajax! The server time is <%= new java.util.Date() %> diff --git a/apps/portlet/src/main/webapp/WEB-INF/view/ajaxExample.jsp b/apps/portlet/src/main/webapp/WEB-INF/view/ajaxExample.jsp deleted file mode 100644 index 79ed4aa21..000000000 --- a/apps/portlet/src/main/webapp/WEB-INF/view/ajaxExample.jsp +++ /dev/null @@ -1,48 +0,0 @@ -<%@ taglib prefix="s" uri="/struts-tags" %> - -"> -This is a tabbed pane with two panels that fetches data from a remote action via ajax - - - - This is the left pane
- -
- -
-
- " id="ryh1" theme="ajax" label="remote one" /> - - middle tab
- -
- -
-
- " id="ryh21" theme="ajax" label="remote right" /> -
- -

-A DIV that waits for 5 seconds before loading the contents -" - delay="5000" - loadingText="loading..."> - Waiting for data -

-A DIV that is updated every 2 seconds -" - theme="ajax" - delay="2000" - updateFreq="2000" - errorText="There was an error" - loadingText="loading...">Initial Content - -

-">Back to front page