You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by ni...@apache.org on 2006/03/08 02:55:42 UTC

svn commit: r384091 - in /struts/apps/trunk/examples/src: java/org/apache/struts/webapp/dispatch/ webapp/WEB-INF/dispatch/ webapp/dispatch/

Author: niallp
Date: Tue Mar  7 17:55:41 2006
New Revision: 384091

URL: http://svn.apache.org/viewcvs?rev=384091&view=rev
Log:
Add EventDispatchAction and EventActionDispatcher examples to struts-examples webapp

Added:
    struts/apps/trunk/examples/src/java/org/apache/struts/webapp/dispatch/EventActionDispatcherExample.java   (with props)
    struts/apps/trunk/examples/src/java/org/apache/struts/webapp/dispatch/EventDispatchActionExample.java   (with props)
    struts/apps/trunk/examples/src/webapp/dispatch/eventAction.jsp   (with props)
    struts/apps/trunk/examples/src/webapp/dispatch/eventDispatcher.jsp   (with props)
Modified:
    struts/apps/trunk/examples/src/java/org/apache/struts/webapp/dispatch/MessageResources.properties
    struts/apps/trunk/examples/src/java/org/apache/struts/webapp/dispatch/MessageResources_fr.properties
    struts/apps/trunk/examples/src/webapp/WEB-INF/dispatch/struts-config.xml
    struts/apps/trunk/examples/src/webapp/dispatch/index.jsp

Added: struts/apps/trunk/examples/src/java/org/apache/struts/webapp/dispatch/EventActionDispatcherExample.java
URL: http://svn.apache.org/viewcvs/struts/apps/trunk/examples/src/java/org/apache/struts/webapp/dispatch/EventActionDispatcherExample.java?rev=384091&view=auto
==============================================================================
--- struts/apps/trunk/examples/src/java/org/apache/struts/webapp/dispatch/EventActionDispatcherExample.java (added)
+++ struts/apps/trunk/examples/src/java/org/apache/struts/webapp/dispatch/EventActionDispatcherExample.java Tue Mar  7 17:55:41 2006
@@ -0,0 +1,115 @@
+/*
+ * $Id$ 
+ *
+ * Copyright 2006 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.struts.webapp.dispatch;
+
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import org.apache.struts.actions.ActionDispatcher;
+import org.apache.struts.actions.EventActionDispatcher;
+import org.apache.struts.action.Action;
+import org.apache.struts.action.ActionForm;
+import org.apache.struts.action.ActionForward;
+import org.apache.struts.action.ActionMapping;
+import org.apache.struts.action.ActionMessage;
+import org.apache.struts.action.ActionMessages;
+
+/**
+ * Example EventActionDispatcher.
+ *
+ * @version $Rev$ $Date$
+ */
+public class EventActionDispatcherExample extends Action {
+
+    private ActionDispatcher dispatcher 
+                                 = new EventActionDispatcher(this);
+
+    private int fooCount;
+    private int barCount;
+
+    /**
+     * Execute method.
+     *
+     * @param mapping The ActionMapping used to select this instance
+     * @param form The optional ActionForm bean for this request
+     * @param request The servlet request we are processing
+     * @param response The servlet response we are creating
+     *
+     * @exception Exception if business logic throws an exception
+     */
+    public ActionForward execute(ActionMapping mapping,
+                                 ActionForm form,
+                                 HttpServletRequest request,
+                                 HttpServletResponse response)
+        throws Exception {
+
+        return dispatcher.execute(mapping, form, request, response);
+
+    }
+
+    /**
+     * Example "foo" method.
+     *
+     * @param mapping The ActionMapping used to select this instance
+     * @param form The optional ActionForm bean for this request
+     * @param request The servlet request we are processing
+     * @param response The servlet response we are creating
+     *
+     * @exception Exception if business logic throws an exception
+     */
+    public ActionForward doFoo(ActionMapping mapping,
+                               ActionForm form,
+                               HttpServletRequest request,
+                               HttpServletResponse response)
+        throws Exception {
+
+        fooCount++;
+
+        ActionMessages messages = new ActionMessages();
+        messages.add("foo", new ActionMessage("count.foo.message", fooCount+""));
+        saveMessages(request, messages);
+
+        return (mapping.findForward("success"));
+
+    }
+
+    /**
+     * Example "bar" method.
+     *
+     * @param mapping The ActionMapping used to select this instance
+     * @param form The optional ActionForm bean for this request
+     * @param request The servlet request we are processing
+     * @param response The servlet response we are creating
+     *
+     * @exception Exception if business logic throws an exception
+     */
+    public ActionForward doBar(ActionMapping mapping,
+                               ActionForm form,
+                               HttpServletRequest request,
+                               HttpServletResponse response)
+        throws Exception {
+        barCount++;
+
+        ActionMessages messages = new ActionMessages();
+        messages.add("bar", new ActionMessage("count.bar.message", barCount+""));
+        saveMessages(request, messages);
+
+        return (mapping.findForward("success"));
+
+    }
+
+}

Propchange: struts/apps/trunk/examples/src/java/org/apache/struts/webapp/dispatch/EventActionDispatcherExample.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: struts/apps/trunk/examples/src/java/org/apache/struts/webapp/dispatch/EventActionDispatcherExample.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: struts/apps/trunk/examples/src/java/org/apache/struts/webapp/dispatch/EventDispatchActionExample.java
URL: http://svn.apache.org/viewcvs/struts/apps/trunk/examples/src/java/org/apache/struts/webapp/dispatch/EventDispatchActionExample.java?rev=384091&view=auto
==============================================================================
--- struts/apps/trunk/examples/src/java/org/apache/struts/webapp/dispatch/EventDispatchActionExample.java (added)
+++ struts/apps/trunk/examples/src/java/org/apache/struts/webapp/dispatch/EventDispatchActionExample.java Tue Mar  7 17:55:41 2006
@@ -0,0 +1,92 @@
+/*
+ * $Id$ 
+ *
+ * Copyright 2006 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.struts.webapp.dispatch;
+
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import org.apache.struts.actions.ActionDispatcher;
+import org.apache.struts.actions.EventDispatchAction;
+import org.apache.struts.action.Action;
+import org.apache.struts.action.ActionForm;
+import org.apache.struts.action.ActionForward;
+import org.apache.struts.action.ActionMapping;
+import org.apache.struts.action.ActionMessage;
+import org.apache.struts.action.ActionMessages;
+
+/**
+ * Example EventDispatchAction.
+ *
+ * @version $Rev$ $Date$
+ */
+public class EventDispatchActionExample extends EventDispatchAction {
+
+    private int fooCount;
+    private int barCount;
+
+    /**
+     * Example "foo" method.
+     *
+     * @param mapping The ActionMapping used to select this instance
+     * @param form The optional ActionForm bean for this request
+     * @param request The servlet request we are processing
+     * @param response The servlet response we are creating
+     *
+     * @exception Exception if business logic throws an exception
+     */
+    public ActionForward doFoo(ActionMapping mapping,
+                               ActionForm form,
+                               HttpServletRequest request,
+                               HttpServletResponse response)
+        throws Exception {
+
+        fooCount++;
+
+        ActionMessages messages = new ActionMessages();
+        messages.add("foo", new ActionMessage("count.foo.message", fooCount+""));
+        saveMessages(request, messages);
+
+        return (mapping.findForward("success"));
+
+    }
+
+    /**
+     * Example "bar" method.
+     *
+     * @param mapping The ActionMapping used to select this instance
+     * @param form The optional ActionForm bean for this request
+     * @param request The servlet request we are processing
+     * @param response The servlet response we are creating
+     *
+     * @exception Exception if business logic throws an exception
+     */
+    public ActionForward doBar(ActionMapping mapping,
+                               ActionForm form,
+                               HttpServletRequest request,
+                               HttpServletResponse response)
+        throws Exception {
+        barCount++;
+
+        ActionMessages messages = new ActionMessages();
+        messages.add("bar", new ActionMessage("count.bar.message", barCount+""));
+        saveMessages(request, messages);
+
+        return (mapping.findForward("success"));
+
+    }
+
+}

Propchange: struts/apps/trunk/examples/src/java/org/apache/struts/webapp/dispatch/EventDispatchActionExample.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: struts/apps/trunk/examples/src/java/org/apache/struts/webapp/dispatch/EventDispatchActionExample.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Modified: struts/apps/trunk/examples/src/java/org/apache/struts/webapp/dispatch/MessageResources.properties
URL: http://svn.apache.org/viewcvs/struts/apps/trunk/examples/src/java/org/apache/struts/webapp/dispatch/MessageResources.properties?rev=384091&r1=384090&r2=384091&view=diff
==============================================================================
--- struts/apps/trunk/examples/src/java/org/apache/struts/webapp/dispatch/MessageResources.properties (original)
+++ struts/apps/trunk/examples/src/java/org/apache/struts/webapp/dispatch/MessageResources.properties Tue Mar  7 17:55:41 2006
@@ -4,10 +4,13 @@
 mapping.title=MappingDispatchAction Example
 lookup.title=LookupDispatchAction Example
 actionDispatcher.title=ActionDispatcher Example
+eventDispatcher.title=EventActionDispatcher Example
+eventAction.title=EventDispatchAction Example
 
 button.foo.label=Foo Button
 button.bar.label=Bar Button
 button.invalid.label=Invalid Button
+button.default.label=Default Button
 method.invalid.label=Invalid Method
 method.execute.label=Execute Method
 parameter.wrong.label=Wrong Parameter

Modified: struts/apps/trunk/examples/src/java/org/apache/struts/webapp/dispatch/MessageResources_fr.properties
URL: http://svn.apache.org/viewcvs/struts/apps/trunk/examples/src/java/org/apache/struts/webapp/dispatch/MessageResources_fr.properties?rev=384091&r1=384090&r2=384091&view=diff
==============================================================================
--- struts/apps/trunk/examples/src/java/org/apache/struts/webapp/dispatch/MessageResources_fr.properties (original)
+++ struts/apps/trunk/examples/src/java/org/apache/struts/webapp/dispatch/MessageResources_fr.properties Tue Mar  7 17:55:41 2006
@@ -3,10 +3,13 @@
 mapping.title=MappingDispatchAction Exemple
 lookup.title=LookupDispatchAction Exemple
 actionDispatcher.title=ActionDispatcher Exemple
+eventDispatcher.title=EventActionDispatcher Exemple
+eventAction.title=EventDispatchAction Exemple
 
 button.foo.label=Foo Bouton
 button.bar.label=Bar Bouton
 button.invalid.label=Invalide Bouton
+button.default.label=Défaut Bouton
 method.invalid.label=Invalid Méthode
 method.execute.label=Execute Méthode
 parameter.wrong.label=Mauvais Paramètre

Modified: struts/apps/trunk/examples/src/webapp/WEB-INF/dispatch/struts-config.xml
URL: http://svn.apache.org/viewcvs/struts/apps/trunk/examples/src/webapp/WEB-INF/dispatch/struts-config.xml?rev=384091&r1=384090&r2=384091&view=diff
==============================================================================
--- struts/apps/trunk/examples/src/webapp/WEB-INF/dispatch/struts-config.xml (original)
+++ struts/apps/trunk/examples/src/webapp/WEB-INF/dispatch/struts-config.xml Tue Mar  7 17:55:41 2006
@@ -181,6 +181,103 @@
             <forward name="success" path="/actionDispatcher.do"/>
         </action>
 
+
+        <!-- ================================ EventActionDispatcher Example -->
+        <action path="/eventDispatcher"  forward="/eventDispatcher.jsp"/>
+        <action path="/eventDispatcher-default" 
+                type="org.apache.struts.webapp.dispatch.EventActionDispatcherExample"
+                parameter="doFoo,bar=doBar,default=doBar"
+                name="testForm"
+                scope="request">
+            <forward name="success" path="/eventDispatcher.jsp"/>
+        </action>
+        <action path="/eventDispatcher-submit" 
+                type="org.apache.struts.webapp.dispatch.EventActionDispatcherExample"
+                parameter="doFoo,doBar"
+                name="testForm"
+                scope="request">
+            <exception key="dispatch.ServletException"
+                       type="javax.servlet.ServletException"
+                       path="/eventDispatcher.jsp"/>
+            <forward name="success" path="/eventDispatcher.jsp"/>
+        </action>
+        <action path="/eventDispatcher-error" 
+                type="org.apache.struts.webapp.dispatch.EventActionDispatcherExample"
+                parameter="execute,methodmissing"
+                name="testForm"
+                scope="request">
+            <exception key="dispatch.ServletException"
+                       type="javax.servlet.ServletException"
+                       path="/eventDispatcher.jsp"/>
+            <exception key="dispatch.NoSuchMethodException"
+                       type="java.lang.NoSuchMethodException"
+                       path="/eventDispatcher.jsp"/>
+            <forward name="success" path="/eventDispatcher.jsp"/>
+        </action>
+        <action path="/eventDispatcher-noparam" 
+                type="org.apache.struts.webapp.dispatch.EventActionDispatcherExample"
+                name="testForm"
+                scope="request">
+            <exception key="dispatch.ServletException"
+                       type="javax.servlet.ServletException"
+                       path="/eventDispatcher.jsp"/>
+            <forward name="success" path="/eventDispatcher.jsp"/>
+        </action>
+
+        <action path="/eventDispatcherLocale"
+                type="org.apache.struts.webapp.validator.LocaleAction"
+                name="localeForm" scope="request">
+            <forward name="success" path="/eventDispatcher.jsp"/>
+        </action>
+
+        <!-- ================================== EventDispatchAction Example -->
+        <action path="/eventAction"  forward="/eventAction.jsp"/>
+        <action path="/eventAction-default" 
+                type="org.apache.struts.webapp.dispatch.EventDispatchActionExample"
+                parameter="doFoo,bar=doBar,default=doBar"
+                name="testForm"
+                scope="request">
+            <forward name="success" path="/eventAction.jsp"/>
+        </action>
+        <action path="/eventAction-submit" 
+                type="org.apache.struts.webapp.dispatch.EventDispatchActionExample"
+                parameter="doFoo,doBar"
+                name="testForm"
+                scope="request">
+            <exception key="dispatch.ServletException"
+                       type="javax.servlet.ServletException"
+                       path="/eventAction.jsp"/>
+            <forward name="success" path="/eventAction.jsp"/>
+        </action>
+        <action path="/eventAction-error" 
+                type="org.apache.struts.webapp.dispatch.EventDispatchActionExample"
+                parameter="execute,methodmissing"
+                name="testForm"
+                scope="request">
+            <exception key="dispatch.ServletException"
+                       type="javax.servlet.ServletException"
+                       path="/eventAction.jsp"/>
+            <exception key="dispatch.NoSuchMethodException"
+                       type="java.lang.NoSuchMethodException"
+                       path="/eventAction.jsp"/>
+            <forward name="success" path="/eventAction.jsp"/>
+        </action>
+        <action path="/eventAction-noparam" 
+                type="org.apache.struts.webapp.dispatch.EventDispatchActionExample"
+                name="testForm"
+                scope="request">
+            <exception key="dispatch.ServletException"
+                       type="javax.servlet.ServletException"
+                       path="/eventAction.jsp"/>
+            <forward name="success" path="/eventAction.jsp"/>
+        </action>
+
+        <action path="/eventActionLocale"
+                type="org.apache.struts.webapp.validator.LocaleAction"
+                name="localeForm" scope="request">
+            <forward name="success" path="/eventAction.jsp"/>
+        </action>
+
         <!-- ================================================ Switch Locale -->
         <!-- Locale Action -->
         <action path="/locale"

Added: struts/apps/trunk/examples/src/webapp/dispatch/eventAction.jsp
URL: http://svn.apache.org/viewcvs/struts/apps/trunk/examples/src/webapp/dispatch/eventAction.jsp?rev=384091&view=auto
==============================================================================
--- struts/apps/trunk/examples/src/webapp/dispatch/eventAction.jsp (added)
+++ struts/apps/trunk/examples/src/webapp/dispatch/eventAction.jsp Tue Mar  7 17:55:41 2006
@@ -0,0 +1,78 @@
+<%@ page contentType="text/html;charset=UTF-8" language="java" %><%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %><%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %><%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %><%@ taglib uri="http://struts.apache.org/tags-nested" prefix="nested" %>
+<html:html>
+  <head>
+    <title><bean:message key="eventAction.title" /></title>
+    <html:base />
+  </head>
+  <body bgcolor="white">
+
+    <p>
+       <html:link forward="module-root"><bean:message key="index.home"/></html:link>
+       &nbsp;
+       <html:link forward="module-dispatch"><bean:message key="index.title"/></html:link>
+    </p>
+
+    <hr />
+    <p>
+       <strong>Change Language | Changez Le Langage:</strong>
+       &nbsp;
+       <html:link action="/eventActionLocale?language=en">English | Anglais</html:link>
+       &nbsp;
+       <html:link action="/eventActionLocale?language=fr">French | Francais</html:link>
+    </p>
+
+    <hr />
+
+  <h3><bean:message key="eventAction.title" /></h3>
+
+    <logic:messagesPresent>
+      <html:messages id="msg">
+          <p><strong><font color="red"><bean:write name="msg" /></font></strong></p>
+      </html:messages>
+    </logic:messagesPresent>
+
+    <logic:messagesPresent message="true">
+      <html:messages message="true" id="msg">
+          <p><strong><bean:write name="msg" /></strong></p>
+      </html:messages>
+    </logic:messagesPresent>
+
+    <logic:messagesNotPresent message="true">
+      <logic:messagesNotPresent>
+          <p>&nbsp;</p>
+      </logic:messagesNotPresent>
+    </logic:messagesNotPresent>
+
+       <p>
+          <html:form action="eventAction-default" style="display:inline">
+              <html:submit property="doFoo"><bean:message key="button.foo.label" /></html:submit>
+          </html:form>
+              &nbsp;
+          <html:form action="eventAction-default" style="display:inline">
+              <input type="hidden" name="actionDispatcherMethod" value="doBar" />
+              <html:submit property="bar"><bean:message key="button.bar.label" /></html:submit>
+          </html:form>
+              &nbsp;
+          <html:form action="eventAction-default" style="display:inline">
+              <html:submit><bean:message key="button.default.label" /></html:submit>
+          </html:form>
+              &nbsp;
+          <html:form action="eventAction-submit" style="display:inline">
+              <html:submit><bean:message key="button.invalid.label" /></html:submit>
+          </html:form>
+              &nbsp;
+          <html:form action="eventAction-error" style="display:inline">
+              <html:submit property="methodmissing"><bean:message key="method.invalid.label" /></html:submit>
+          </html:form>
+              &nbsp;
+          <html:form action="eventAction-error" style="display:inline">
+              <html:submit property="execute"><bean:message key="method.execute.label" /></html:submit>
+          </html:form>
+              &nbsp;
+          <html:form action="eventAction-noparam" style="display:inline">
+              <html:submit><bean:message key="parameter.missing.label" /></html:submit>
+          </html:form>
+       </p>
+
+  </body>
+</html:html>

Propchange: struts/apps/trunk/examples/src/webapp/dispatch/eventAction.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: struts/apps/trunk/examples/src/webapp/dispatch/eventAction.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: struts/apps/trunk/examples/src/webapp/dispatch/eventDispatcher.jsp
URL: http://svn.apache.org/viewcvs/struts/apps/trunk/examples/src/webapp/dispatch/eventDispatcher.jsp?rev=384091&view=auto
==============================================================================
--- struts/apps/trunk/examples/src/webapp/dispatch/eventDispatcher.jsp (added)
+++ struts/apps/trunk/examples/src/webapp/dispatch/eventDispatcher.jsp Tue Mar  7 17:55:41 2006
@@ -0,0 +1,78 @@
+<%@ page contentType="text/html;charset=UTF-8" language="java" %><%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %><%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %><%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %><%@ taglib uri="http://struts.apache.org/tags-nested" prefix="nested" %>
+<html:html>
+  <head>
+    <title><bean:message key="eventDispatcher.title" /></title>
+    <html:base />
+  </head>
+  <body bgcolor="white">
+
+    <p>
+       <html:link forward="module-root"><bean:message key="index.home"/></html:link>
+       &nbsp;
+       <html:link forward="module-dispatch"><bean:message key="index.title"/></html:link>
+    </p>
+
+    <hr />
+    <p>
+       <strong>Change Language | Changez Le Langage:</strong>
+       &nbsp;
+       <html:link action="/eventDispatcherLocale?language=en">English | Anglais</html:link>
+       &nbsp;
+       <html:link action="/eventDispatcherLocale?language=fr">French | Francais</html:link>
+    </p>
+
+    <hr />
+
+  <h3><bean:message key="eventDispatcher.title" /></h3>
+
+    <logic:messagesPresent>
+      <html:messages id="msg">
+          <p><strong><font color="red"><bean:write name="msg" /></font></strong></p>
+      </html:messages>
+    </logic:messagesPresent>
+
+    <logic:messagesPresent message="true">
+      <html:messages message="true" id="msg">
+          <p><strong><bean:write name="msg" /></strong></p>
+      </html:messages>
+    </logic:messagesPresent>
+
+    <logic:messagesNotPresent message="true">
+      <logic:messagesNotPresent>
+          <p>&nbsp;</p>
+      </logic:messagesNotPresent>
+    </logic:messagesNotPresent>
+
+       <p>
+          <html:form action="eventDispatcher-default" style="display:inline">
+              <html:submit property="doFoo"><bean:message key="button.foo.label" /></html:submit>
+          </html:form>
+              &nbsp;
+          <html:form action="eventDispatcher-default" style="display:inline">
+              <input type="hidden" name="actionDispatcherMethod" value="doBar" />
+              <html:submit property="bar"><bean:message key="button.bar.label" /></html:submit>
+          </html:form>
+              &nbsp;
+          <html:form action="eventDispatcher-default" style="display:inline">
+              <html:submit><bean:message key="button.default.label" /></html:submit>
+          </html:form>
+              &nbsp;
+          <html:form action="eventDispatcher-submit" style="display:inline">
+              <html:submit><bean:message key="button.invalid.label" /></html:submit>
+          </html:form>
+              &nbsp;
+          <html:form action="eventDispatcher-error" style="display:inline">
+              <html:submit property="methodmissing"><bean:message key="method.invalid.label" /></html:submit>
+          </html:form>
+              &nbsp;
+          <html:form action="eventDispatcher-error" style="display:inline">
+              <html:submit property="execute"><bean:message key="method.execute.label" /></html:submit>
+          </html:form>
+              &nbsp;
+          <html:form action="eventDispatcher-noparam" style="display:inline">
+              <html:submit><bean:message key="parameter.missing.label" /></html:submit>
+          </html:form>
+       </p>
+
+  </body>
+</html:html>

Propchange: struts/apps/trunk/examples/src/webapp/dispatch/eventDispatcher.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: struts/apps/trunk/examples/src/webapp/dispatch/eventDispatcher.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Modified: struts/apps/trunk/examples/src/webapp/dispatch/index.jsp
URL: http://svn.apache.org/viewcvs/struts/apps/trunk/examples/src/webapp/dispatch/index.jsp?rev=384091&r1=384090&r2=384091&view=diff
==============================================================================
--- struts/apps/trunk/examples/src/webapp/dispatch/index.jsp (original)
+++ struts/apps/trunk/examples/src/webapp/dispatch/index.jsp Tue Mar  7 17:55:41 2006
@@ -31,6 +31,8 @@
        <li><html:link action="/mapping"><bean:message key="mapping.title"/></html:link></li>
        <li><html:link action="/lookup"><bean:message key="lookup.title"/></html:link></li>
        <li><html:link action="/actionDispatcher"><bean:message key="actionDispatcher.title"/></html:link></li>
+       <li><html:link action="/eventAction"><bean:message key="eventAction.title"/></html:link></li>
+       <li><html:link action="/eventDispatcher"><bean:message key="eventDispatcher.title"/></html:link></li>
     </ul>
 
 </body>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org