You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by cr...@apache.org on 2006/04/11 19:48:13 UTC

svn commit: r393271 - in /beehive/trunk: docs/forrest/release/src/documentation/content/xdocs/controls/ netui/src/pageflow/org/apache/beehive/netui/pageflow/ netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/ netui/test/webapps/drt/src/bugs...

Author: crogers
Date: Tue Apr 11 10:48:09 2006
New Revision: 393271

URL: http://svn.apache.org/viewcvs?rev=393271&view=rev
Log:
Fix for http://issues.apache.org/jira/browse/BEEHIVE-1097 - modified NetUI FlowController execute() to handle exceptions from begin/end context on page flow ControlContainerContext. If we're not already handling an exception from executing the action, then we pass the exception to the handleException() method. Otherwise we will just log the exception from endContext. This commit includes a new test to check that we can handle the exception.

Also fixed a few minor typos.

tests: bvt in netui (WinXP)


Added:
    beehive/trunk/netui/test/webapps/drt/src/bugs/j1097/
    beehive/trunk/netui/test/webapps/drt/src/bugs/j1097/Controller.java   (with props)
    beehive/trunk/netui/test/webapps/drt/src/bugs/j1097/controls/
    beehive/trunk/netui/test/webapps/drt/src/bugs/j1097/controls/PageFlowControl.java   (with props)
    beehive/trunk/netui/test/webapps/drt/src/bugs/j1097/controls/PageFlowControlImpl.java   (with props)
    beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J1097.xml   (with props)
    beehive/trunk/netui/test/webapps/drt/web/bugs/j1097/
    beehive/trunk/netui/test/webapps/drt/web/bugs/j1097/error.jsp   (with props)
    beehive/trunk/netui/test/webapps/drt/web/bugs/j1097/index.jsp   (with props)
Modified:
    beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/controls/overview.xml
    beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/controls/programming.xml
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowController.java
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DeferredSessionStorageHandler.java
    beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml

Modified: beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/controls/overview.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/controls/overview.xml?rev=393271&r1=393270&r2=393271&view=diff
==============================================================================
--- beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/controls/overview.xml (original)
+++ beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/controls/overview.xml Tue Apr 11 10:48:09 2006
@@ -147,7 +147,7 @@
                     to define a custom operation on a Control type representing a JMS queue resource that uses metadata
                     attributes to define the format of the message with message contents set from message parameters.
                     This enables an application developer to construct new customized facades for resource access 
-                    less effort.
+                    with less effort.
                 </p>
                 <p>
                     The goal of the Controls architecture is not to define the standards for how specific resource types

Modified: beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/controls/programming.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/controls/programming.xml?rev=393271&r1=393270&r2=393271&view=diff
==============================================================================
--- beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/controls/programming.xml (original)
+++ beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/controls/programming.xml Tue Apr 11 10:48:09 2006
@@ -1646,7 +1646,7 @@
          orders = 
            (OrderQueueBean)Beans.instantiate(cl, 
              "org.apache.beehive.controls.examples.OrderQueueBean");
-         orders.setDestinationName("RushOrders");
+         orders.setDestinationName("Orders");
          <strong>context.add(orders);</strong>
     }
 

Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowController.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowController.java?rev=393271&r1=393270&r2=393271&view=diff
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowController.java (original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowController.java Tue Apr 11 10:48:09 2006
@@ -329,16 +329,36 @@
                 synchronized ( this )
                 {
                     ActionForward ret = null;
+
                     // establish the control context for running the beginAction, Action, afterAction code
-                    PageFlowControlContainer pfcc = PageFlowControlContainerFactory.getControlContainer(request,getServletContext());
-                    pfcc.beginContextOnPageFlow(this,request,response, getServletContext());
+                    PageFlowControlContainer pfcc = null;
+                    try {
+                        pfcc = PageFlowControlContainerFactory.getControlContainer(request,getServletContext());
+                        pfcc.beginContextOnPageFlow(this,request,response, getServletContext());
+                    }
+                    catch (Exception e) {
+                        return handleException(e, mapping, form, request, response);
+                    }
 
                     try {
                         // execute the beginAction, Action, afterAction code
                         ret = internalExecute( mapping, form, request, response );
                     }
                     finally {
-                        pfcc.endContextOnPageFlow(this);
+                        try {
+                            pfcc.endContextOnPageFlow(this);
+                        }
+                        catch (Exception e) {
+                            // if already handling an exception during execute, then just log
+                            PageFlowRequestWrapper rw = PageFlowRequestWrapper.get(request);
+                            Throwable alreadyBeingHandled = rw.getExceptionBeingHandled();
+                            if (alreadyBeingHandled != null) {
+                                _log.error( "Exception thrown while ending context on page flow in execute()", e );
+                            }
+                            else {
+                                return handleException(e, mapping, form, request, response);
+                            }
+                        }
                     }
                     return ret;
                 }

Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DeferredSessionStorageHandler.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DeferredSessionStorageHandler.java?rev=393271&r1=393270&r2=393271&view=diff
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DeferredSessionStorageHandler.java (original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DeferredSessionStorageHandler.java Tue Apr 11 10:48:09 2006
@@ -42,7 +42,7 @@
  * of forwarded requests (i.e., not even at the end of an inner forwarded request).  This allows it to handle multiple
  * concurrent forwarded requests, each of which is modifying the same data, in a more reasonable way.  Basically,
  * each request works in its own snapshot of the session, and the last one to commit is the one whose snapshot wins.
- * This is a better alternative thatn allowing them to interfere with each other in the middle of the request chain.
+ * This is a better alternative than allowing them to interfere with each other in the middle of the request chain.
  */
 public class DeferredSessionStorageHandler
         extends DefaultHandler

Added: beehive/trunk/netui/test/webapps/drt/src/bugs/j1097/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/src/bugs/j1097/Controller.java?rev=393271&view=auto
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/src/bugs/j1097/Controller.java (added)
+++ beehive/trunk/netui/test/webapps/drt/src/bugs/j1097/Controller.java Tue Apr 11 10:48:09 2006
@@ -0,0 +1,69 @@
+/*
+ * 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.
+ *
+ * $Header:$
+ */
+package bugs.j1097;
+
+import javax.servlet.http.HttpSession;
+
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+import org.apache.beehive.controls.api.bean.Control;
+
+import bugs.j1097.controls.PageFlowControl;
+
+/**
+ * PageFlowController to test NetUI exception handling when
+ * ControlContainerContext endContext() throws
+ */
+@Jpf.Controller(forwards={@Jpf.Forward(name="index", path="index.jsp")})
+public class Controller
+    extends PageFlowController {
+
+    @Control
+    private PageFlowControl _pfControl;
+
+    @Jpf.Action()
+    public Forward begin() {
+        return new Forward("index");
+    }
+
+    @Jpf.Action(
+        catches = {
+            @Jpf.Catch(
+                type = java.lang.Exception.class,
+                message = "java.lang.Exception",
+                messageKey = "ExceptionKey",
+                method = "exceptionHandler")
+        })
+    public Forward testThrowOnRelease() {
+        _pfControl.setThrowException(true);
+        return new Forward("index");
+    }
+
+    @Jpf.ExceptionHandler(
+        forwards = {
+            @Jpf.Forward(name = "errorPage", path = "error.jsp")
+        })
+    protected Forward exceptionHandler(Exception ex, String actionName,
+                                       String message, Object form) {
+        StringBuilder displayMessage = new StringBuilder("An exception occurred in the action " + actionName);
+        displayMessage.append("\n\ttype: " + ex.getClass().getName());
+        displayMessage.append("\n\tmessage: " + ex.getMessage());
+        return new Forward("errorPage", "errorMessage", displayMessage);
+    }
+}

Propchange: beehive/trunk/netui/test/webapps/drt/src/bugs/j1097/Controller.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: beehive/trunk/netui/test/webapps/drt/src/bugs/j1097/controls/PageFlowControl.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/src/bugs/j1097/controls/PageFlowControl.java?rev=393271&view=auto
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/src/bugs/j1097/controls/PageFlowControl.java (added)
+++ beehive/trunk/netui/test/webapps/drt/src/bugs/j1097/controls/PageFlowControl.java Tue Apr 11 10:48:09 2006
@@ -0,0 +1,30 @@
+/*
+ * 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.
+ *
+ * $Header:$
+ */
+package bugs.j1097.controls;
+
+import org.apache.beehive.controls.api.bean.ControlInterface;
+
+/**
+ * Control interface to test NetUI exception handling when
+ * ControlContainerContext endContext() throws.
+ */
+@ControlInterface()
+public interface PageFlowControl {
+
+    void setThrowException(boolean throwException);
+}

Propchange: beehive/trunk/netui/test/webapps/drt/src/bugs/j1097/controls/PageFlowControl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: beehive/trunk/netui/test/webapps/drt/src/bugs/j1097/controls/PageFlowControlImpl.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/src/bugs/j1097/controls/PageFlowControlImpl.java?rev=393271&view=auto
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/src/bugs/j1097/controls/PageFlowControlImpl.java (added)
+++ beehive/trunk/netui/test/webapps/drt/src/bugs/j1097/controls/PageFlowControlImpl.java Tue Apr 11 10:48:09 2006
@@ -0,0 +1,69 @@
+/*
+ * 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.
+ *
+ * $Header:$
+ */
+package bugs.j1097.controls;
+
+import org.apache.beehive.controls.api.context.Context;
+import org.apache.beehive.controls.api.context.ControlBeanContext;
+import org.apache.beehive.controls.api.context.ResourceContext;
+import org.apache.beehive.controls.api.bean.ControlImplementation;
+import org.apache.beehive.controls.api.events.EventHandler;
+import org.apache.beehive.controls.api.ControlException;
+
+/**
+ * Control to test NetUI exception handling when
+ * ControlContainerContext endContext() throws. It is
+ * designed to throw twice, once during setThrowException
+ * and then again in onRelease(), during endContext().
+ */
+@ControlImplementation(isTransient=true)
+public class PageFlowControlImpl
+    implements PageFlowControl {
+
+    @Context
+    private ControlBeanContext _context;
+
+    @Context
+    private ResourceContext _resourceContext;
+
+    private boolean _throwException = false;
+
+    public void setThrowException(boolean throwException) {
+        _throwException = throwException;
+        if (_throwException) {
+            throw new ControlException("Thrown from setThrowException() to test exception handling.");
+        }
+    }
+
+    @EventHandler(field = "_context", eventSet = ControlBeanContext.LifeCycle.class, eventName = "onCreate")
+    public void onCreate() {
+        //System.out.println(getClass().getName() + ".onCreate()");
+    }
+
+    @EventHandler(field = "_resourceContext", eventSet = ResourceContext.ResourceEvents.class, eventName = "onAcquire")
+    public void onAquire() {
+        //System.out.println(getClass().getName() + ".onAquire()");
+    }
+
+    @EventHandler(field = "_resourceContext", eventSet = ResourceContext.ResourceEvents.class, eventName = "onRelease")
+    public void onRelease() {
+        //System.out.println(getClass().getName() + ".onRelease()");
+        if (_throwException) {
+            throw new ControlException("Thrown from onRelease() to test exception handling.");
+        }
+    }
+}

Propchange: beehive/trunk/netui/test/webapps/drt/src/bugs/j1097/controls/PageFlowControlImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml?rev=393271&r1=393270&r2=393271&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml Tue Apr 11 10:48:09 2006
@@ -5126,6 +5126,16 @@
          </categories>
       </test>
       <test>
+         <name>J1097</name>
+         <description>Handling exceptions from end context on page flow ControlContainerContext.</description>
+         <webapp>coreWeb</webapp>
+         <categories>
+            <category>bvt</category>
+            <category>bvt.struts11</category>
+            <category>jiraBugs</category>
+         </categories>
+      </test>
+      <test>
          <name>JpfScopedFormsTest49</name>
          <description>JpfScopedFormsTest49</description>
          <webapp>coreWeb</webapp>

Added: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J1097.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J1097.xml?rev=393271&view=auto
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J1097.xml (added)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J1097.xml Tue Apr 11 10:48:09 2006
@@ -0,0 +1,173 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<recorderSession xmlns="http://beehive.apache.org/netui/tools/testrecorder/2004/session">
+<sessionName>J1097</sessionName>
+<tester>crogers</tester>
+<startDate>11 Apr 2006, 10:52:10.939 AM MDT</startDate>
+<description>Handling exceptions from end context on page flow ControlContainerContext.</description>
+<tests>
+<test>
+<testNumber>1</testNumber>
+<request>
+<protocol>HTTP</protocol>
+<protocolVersion>1.1</protocolVersion>
+<host>localhost</host>
+<port>8080</port>
+<uri>/coreWeb/bugs/j1097/begin.do</uri>
+<method>GET</method>
+<parameters>
+</parameters>
+<cookies>
+<cookie>
+<name>JSESSIONID</name>
+<value>C7F87C23872FFCDC67446F41AA66C0CF</value>
+</cookie>
+<cookie>
+<name>nde-textsize</name>
+<value>16px</value>
+</cookie>
+</cookies>
+<headers>
+<header>
+<name>accept</name>
+<value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</value>
+</header>
+<header>
+<name>accept-charset</name>
+<value>UTF-8,*</value>
+</header>
+<header>
+<name>accept-encoding</name>
+<value>gzip,deflate</value>
+</header>
+<header>
+<name>accept-language</name>
+<value>en-us,en;q=0.5</value>
+</header>
+<header>
+<name>connection</name>
+<value>keep-alive</value>
+</header>
+<header>
+<name>cookie</name>
+<value>JSESSIONID=C7F87C23872FFCDC67446F41AA66C0CF; nde-textsize=16px</value>
+</header>
+<header>
+<name>host</name>
+<value>localhost:8080</value>
+</header>
+<header>
+<name>keep-alive</name>
+<value>300</value>
+</header>
+<header>
+<name>user-agent</name>
+<value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1</value>
+</header>
+</headers>
+</request>
+<response>
+<statusCode>200</statusCode>
+<reason></reason>
+<responseBody>
+<![CDATA[<html>
+  <head><title>Test NetUI exception handling when PageFlowControlContainer throws</title></head>
+  <body>
+  Test NetUI exception handling when ending a page flow context throws...
+  <br/>
+  <br/>
+  <a href="/coreWeb/bugs/j1097/testThrowOnRelease.do">Test</a>
+  </body>
+</html>]]>
+</responseBody>
+</response>
+</test>
+<test>
+<testNumber>2</testNumber>
+<request>
+<protocol>HTTP</protocol>
+<protocolVersion>1.1</protocolVersion>
+<host>localhost</host>
+<port>8080</port>
+<uri>/coreWeb/bugs/j1097/testThrowOnRelease.do</uri>
+<method>GET</method>
+<parameters>
+</parameters>
+<cookies>
+<cookie>
+<name>JSESSIONID</name>
+<value>C7F87C23872FFCDC67446F41AA66C0CF</value>
+</cookie>
+<cookie>
+<name>nde-textsize</name>
+<value>16px</value>
+</cookie>
+</cookies>
+<headers>
+<header>
+<name>accept</name>
+<value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</value>
+</header>
+<header>
+<name>accept-charset</name>
+<value>UTF-8,*</value>
+</header>
+<header>
+<name>accept-encoding</name>
+<value>gzip,deflate</value>
+</header>
+<header>
+<name>accept-language</name>
+<value>en-us,en;q=0.5</value>
+</header>
+<header>
+<name>connection</name>
+<value>keep-alive</value>
+</header>
+<header>
+<name>cookie</name>
+<value>JSESSIONID=C7F87C23872FFCDC67446F41AA66C0CF; nde-textsize=16px</value>
+</header>
+<header>
+<name>host</name>
+<value>localhost:8080</value>
+</header>
+<header>
+<name>keep-alive</name>
+<value>300</value>
+</header>
+<header>
+<name>referer</name>
+<value>http://localhost:8080/coreWeb/bugs/j1097/begin.do</value>
+</header>
+<header>
+<name>user-agent</name>
+<value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1</value>
+</header>
+</headers>
+</request>
+<response>
+<statusCode>200</statusCode>
+<reason></reason>
+<responseBody>
+<![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+	"http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+
+  <head>
+    <title>Error</title>
+  </head>
+  <body>
+    <p>
+      An error has occurred:
+    </p>
+    <span>An exception occurred in the action testThrowOnRelease<br />	type: org.apache.beehive.controls.api.ControlException<br />	message: Thrown from setThrowException() to test exception handling.</span>
+  </body>
+
+</html>]]>
+</responseBody>
+</response>
+</test>
+</tests>
+<endDate>11 Apr 2006, 10:52:41.063 AM MDT</endDate>
+<testCount>2</testCount>
+</recorderSession>

Propchange: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J1097.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: beehive/trunk/netui/test/webapps/drt/web/bugs/j1097/error.jsp
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/bugs/j1097/error.jsp?rev=393271&view=auto
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/bugs/j1097/error.jsp (added)
+++ beehive/trunk/netui/test/webapps/drt/web/bugs/j1097/error.jsp Tue Apr 11 10:48:09 2006
@@ -0,0 +1,31 @@
+<%--
+   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.
+
+   $Header:$
+--%>
+<%@ page language="java" contentType="text/html;charset=UTF-8" isErrorPage="true" %>
+<%@taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
+
+<netui:html>
+  <head>
+    <title>Error</title>
+  </head>
+  <body>
+    <p>
+      An error has occurred:
+    </p>
+    <netui:span value="${pageInput.errorMessage}"/>
+  </body>
+</netui:html>

Propchange: beehive/trunk/netui/test/webapps/drt/web/bugs/j1097/error.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: beehive/trunk/netui/test/webapps/drt/web/bugs/j1097/index.jsp
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/bugs/j1097/index.jsp?rev=393271&view=auto
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/bugs/j1097/index.jsp (added)
+++ beehive/trunk/netui/test/webapps/drt/web/bugs/j1097/index.jsp Tue Apr 11 10:48:09 2006
@@ -0,0 +1,28 @@
+<%--
+   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.
+
+   $Header:$
+--%>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
+<html>
+  <head><title>Test NetUI exception handling when PageFlowControlContainer throws</title></head>
+  <body>
+  Test NetUI exception handling when ending a page flow context throws...
+  <br/>
+  <br/>
+  <netui:anchor action="testThrowOnRelease">Test</netui:anchor>
+  </body>
+</html>

Propchange: beehive/trunk/netui/test/webapps/drt/web/bugs/j1097/index.jsp
------------------------------------------------------------------------------
    svn:eol-style = native