You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by do...@apache.org on 2006/01/24 21:13:49 UTC

svn commit: r372005 - in /beehive/trunk/netui/test/webapps/drt: src/controls/lifecycle2/ src/controls/lifecycle3/ src/org/apache/beehive/netui/test/controls/container/ testRecorder/config/ testRecorder/tests/ web/controls/lifecycle2/ web/controls/lifec...

Author: dolander
Date: Tue Jan 24 12:13:39 2006
New Revision: 372005

URL: http://svn.apache.org/viewcvs?rev=372005&view=rev
Log:
Add a couple of new tests using controls and page flows



Added:
    beehive/trunk/netui/test/webapps/drt/src/controls/lifecycle2/
    beehive/trunk/netui/test/webapps/drt/src/controls/lifecycle2/ControlLifecycleController.java   (with props)
    beehive/trunk/netui/test/webapps/drt/src/controls/lifecycle2/SharedFlow.java   (with props)
    beehive/trunk/netui/test/webapps/drt/src/controls/lifecycle3/
    beehive/trunk/netui/test/webapps/drt/src/controls/lifecycle3/ControlLifecycleController.java   (with props)
    beehive/trunk/netui/test/webapps/drt/src/org/apache/beehive/netui/test/controls/container/
    beehive/trunk/netui/test/webapps/drt/src/org/apache/beehive/netui/test/controls/container/ContainerControl.java   (with props)
    beehive/trunk/netui/test/webapps/drt/src/org/apache/beehive/netui/test/controls/container/ContainerControlImpl.java   (with props)
    beehive/trunk/netui/test/webapps/drt/testRecorder/tests/PageFlowControlLifecycle2.xml
    beehive/trunk/netui/test/webapps/drt/testRecorder/tests/PageFlowControlLifecycle3.xml   (with props)
    beehive/trunk/netui/test/webapps/drt/web/controls/lifecycle2/
    beehive/trunk/netui/test/webapps/drt/web/controls/lifecycle2/index.jsp   (with props)
    beehive/trunk/netui/test/webapps/drt/web/controls/lifecycle3/
    beehive/trunk/netui/test/webapps/drt/web/controls/lifecycle3/index.jsp   (with props)
Modified:
    beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml

Added: beehive/trunk/netui/test/webapps/drt/src/controls/lifecycle2/ControlLifecycleController.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/src/controls/lifecycle2/ControlLifecycleController.java?rev=372005&view=auto
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/src/controls/lifecycle2/ControlLifecycleController.java (added)
+++ beehive/trunk/netui/test/webapps/drt/src/controls/lifecycle2/ControlLifecycleController.java Tue Jan 24 12:13:39 2006
@@ -0,0 +1,60 @@
+/**
+ Copyright 2004 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 controls.lifecycle2;
+
+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;
+
+/**
+ *
+ */
+@Jpf.Controller(
+    forwards = {@Jpf.Forward(name="index", path="index.jsp")},
+    sharedFlowRefs={
+        @Jpf.SharedFlowRef(name="shared", type=controls.lifecycle2.SharedFlow.class)
+    }
+
+)
+public class ControlLifecycleController
+    extends PageFlowController {
+
+    @Jpf.SharedFlowField(name="shared")
+    private SharedFlow _shared;
+
+    private String _onCreateMsg;
+    private String _beginMsg;
+
+    public String getPropertyMsg()
+    {
+        return  _shared.getControlMessage("get property");
+    }
+
+    public void onCreate() {
+        _onCreateMsg = _shared.getControlMessage("onCreate");
+    }
+
+    @Jpf.Action()
+    public Forward begin() {
+        _beginMsg = _shared.getControlMessage("begin.do");
+        getRequest().setAttribute("createMsg", _onCreateMsg);
+        getRequest().setAttribute("beginMsg", _beginMsg);
+        return new Forward("index");
+    }
+}

Propchange: beehive/trunk/netui/test/webapps/drt/src/controls/lifecycle2/ControlLifecycleController.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: beehive/trunk/netui/test/webapps/drt/src/controls/lifecycle2/SharedFlow.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/src/controls/lifecycle2/SharedFlow.java?rev=372005&view=auto
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/src/controls/lifecycle2/SharedFlow.java (added)
+++ beehive/trunk/netui/test/webapps/drt/src/controls/lifecycle2/SharedFlow.java Tue Jan 24 12:13:39 2006
@@ -0,0 +1,21 @@
+package controls.lifecycle2;
+
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.SharedFlowController;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+import org.apache.beehive.controls.api.bean.Control;
+import org.apache.beehive.netui.test.controls.pflifecycle.PfControlLifecycle;
+
+@Jpf.Controller(
+)
+public class SharedFlow extends SharedFlowController
+{
+    @Control
+    private PfControlLifecycle _control;
+
+    public String getControlMessage(String echoMsg)
+    {
+	//System.err.println("Inside the shared flow control access method");
+	return _control.echo("shared flow access -- controls.lifecycle.ControlLifecycleController");
+    }
+}

Propchange: beehive/trunk/netui/test/webapps/drt/src/controls/lifecycle2/SharedFlow.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: beehive/trunk/netui/test/webapps/drt/src/controls/lifecycle3/ControlLifecycleController.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/src/controls/lifecycle3/ControlLifecycleController.java?rev=372005&view=auto
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/src/controls/lifecycle3/ControlLifecycleController.java (added)
+++ beehive/trunk/netui/test/webapps/drt/src/controls/lifecycle3/ControlLifecycleController.java Tue Jan 24 12:13:39 2006
@@ -0,0 +1,61 @@
+/**
+ Copyright 2004 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 controls.lifecycle3;
+
+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 org.apache.beehive.netui.test.controls.container.ContainerControl;
+
+/**
+ *
+ */
+@Jpf.Controller(
+    forwards = {@Jpf.Forward(name="index", path="index.jsp")}
+)
+public class ControlLifecycleController
+    extends PageFlowController {
+
+    @Control
+    private ContainerControl _control;
+
+    private String _onCreateMsg;
+    private String _beginMsg;
+
+    public String getPropertyMsg()
+    {
+	//System.err.println("Inside the property Accessor");
+        return  _control.echo("get property -- controls.lifecycle.ControlLifecycleController");
+    }
+
+    public void onCreate() {
+	//System.err.println("Inside the Controller onCreate");
+	//System.err.println("Context:" + _control.getInfo());
+        _onCreateMsg = _control.echo("onCreate -- controls.lifecycle.ControlLifecycleController");
+    }
+
+    @Jpf.Action()
+    public Forward begin() {
+        _beginMsg = _control.echo("begin.do -- controls.lifecycle.ControlLifecycleController");
+	//System.err.println("Context:" + _control.getInfo());
+        getRequest().setAttribute("createMsg", _onCreateMsg);
+        getRequest().setAttribute("beginMsg", _beginMsg);
+        return new Forward("index");
+    }
+}

Propchange: beehive/trunk/netui/test/webapps/drt/src/controls/lifecycle3/ControlLifecycleController.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: beehive/trunk/netui/test/webapps/drt/src/org/apache/beehive/netui/test/controls/container/ContainerControl.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/src/org/apache/beehive/netui/test/controls/container/ContainerControl.java?rev=372005&view=auto
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/src/org/apache/beehive/netui/test/controls/container/ContainerControl.java (added)
+++ beehive/trunk/netui/test/webapps/drt/src/org/apache/beehive/netui/test/controls/container/ContainerControl.java Tue Jan 24 12:13:39 2006
@@ -0,0 +1,30 @@
+/*
+ * Copyright 2004 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 org.apache.beehive.netui.test.controls.container;
+
+import org.apache.beehive.controls.api.bean.ControlInterface;
+
+/**
+ * This control just echos information, plus provides a way to get information
+ * about the state of the control.
+ */
+@ControlInterface
+public interface ContainerControl {
+    public String echo(String value);
+    public String getInfo();
+}

Propchange: beehive/trunk/netui/test/webapps/drt/src/org/apache/beehive/netui/test/controls/container/ContainerControl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: beehive/trunk/netui/test/webapps/drt/src/org/apache/beehive/netui/test/controls/container/ContainerControlImpl.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/src/org/apache/beehive/netui/test/controls/container/ContainerControlImpl.java?rev=372005&view=auto
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/src/org/apache/beehive/netui/test/controls/container/ContainerControlImpl.java (added)
+++ beehive/trunk/netui/test/webapps/drt/src/org/apache/beehive/netui/test/controls/container/ContainerControlImpl.java Tue Jan 24 12:13:39 2006
@@ -0,0 +1,98 @@
+/*
+ * Copyright 2004 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 org.apache.beehive.netui.test.controls.container;
+
+import org.apache.beehive.controls.api.bean.ControlImplementation;
+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.context.ControlContainerContext;
+import org.apache.beehive.controls.api.context.ControlThreadContext;
+import org.apache.beehive.controls.api.events.EventHandler;
+import org.apache.beehive.controls.runtime.servlet.ServletBeanContext;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
+/**
+ * This is a test control that intends to grow up beyond what
+ * it currently does.  For the moment, it is simply a copy of the pflifecycle version.
+ */
+@ControlImplementation(isTransient=true)
+public class ContainerControlImpl
+    implements ContainerControl {
+
+    private boolean _onReleaseCalled = true;
+
+    @Context
+    private ControlBeanContext _context;
+
+    @Context
+    private ResourceContext _resourceContext;
+
+    public String echo(String value) {
+        return "Echo: '" + value + "'";
+    }
+
+    public String getInfo() {
+	return "" + (_context == _resourceContext);
+    }
+
+    @EventHandler(field = "_context", eventSet = ControlBeanContext.LifeCycle.class, eventName = "onCreate")
+    public void onCreate() {
+	//System.err.println("ContainerControl is Created");
+        checkContainerContext();
+    }
+
+    @EventHandler(field = "_resourceContext", eventSet = ResourceContext.ResourceEvents.class, eventName = "onAcquire")
+    public void onAquire() {
+	//System.err.println("OnAcquire");
+        checkContainerContext();
+
+        if(!_onReleaseCalled) 
+            throw new IllegalStateException("onAcquire called without having called on Release on the previous request!");
+
+        _onReleaseCalled = false;
+    }
+
+    @EventHandler(field = "_resourceContext", eventSet = ResourceContext.ResourceEvents.class, eventName = "onRelease")
+    public void onRelease() {
+	//System.err.println("OnRelease");
+        checkContainerContext();
+        _onReleaseCalled = true;
+    }
+
+    private void checkContainerContext() {
+        ControlContainerContext ccc = ControlThreadContext.getContext();
+
+        if(ccc == null)
+            throw new IllegalStateException("Control could not find a valid ControlContainerContext!");
+
+        if(!(ccc instanceof ServletBeanContext))
+            throw new IllegalStateException("Control container context is not a ServletBeanContext");
+
+        ServletBeanContext servletBeanContext = (ServletBeanContext)ccc;
+        if(servletBeanContext.getServletRequest() == null)
+            throw new IllegalStateException("ServletBeanContext could not provide a valid ServletRequest!");
+
+        if(servletBeanContext.getServletResponse() == null)
+            throw new IllegalStateException("ServletBeanContext could not provide a valid ServletResponse!");
+
+        if(servletBeanContext.getServletContext() == null)
+            throw new IllegalStateException("ServletBeanContext could not provide a valid ServletContext!");
+    }
+}

Propchange: beehive/trunk/netui/test/webapps/drt/src/org/apache/beehive/netui/test/controls/container/ContainerControlImpl.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=372005&r1=372004&r2=372005&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 Jan 24 12:13:39 2006
@@ -5720,6 +5720,31 @@
          </features>
       </test>
       <test>
+         <name>PageFlowControlLifecycle2</name>
+         <description>Tests of the control lifecycle integrated with Page Flow with a shared flow.</description>
+         <webapp>coreWeb</webapp>
+         <categories>
+            <category>bvt</category>
+            <category>corePageFlow</category>
+         </categories>
+         <features>
+            <feature>PageFlow</feature>
+            <feature>SharedFlow</feature>
+         </features>
+      </test>
+      <test>
+         <name>PageFlowControlLifecycle3</name>
+         <description>Placeholder for more indepth testing of page flows and controls</description>
+         <webapp>coreWeb</webapp>
+         <categories>
+            <category>bvt</category>
+            <category>corePageFlow</category>
+         </categories>
+         <features>
+            <feature>PageFlow</feature>
+         </features>
+      </test>
+      <test>
          <name>PageFlowUtils</name>
          <description>Tests of utility methods in PageFlowUtils</description>
          <webapp>coreWeb</webapp>

Added: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/PageFlowControlLifecycle2.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/PageFlowControlLifecycle2.xml?rev=372005&view=auto
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/PageFlowControlLifecycle2.xml (added)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/PageFlowControlLifecycle2.xml Tue Jan 24 12:13:39 2006
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<recorderSession xmlns="http://beehive.apache.org/netui/tools/testrecorder/2004/session">
+<sessionName>PageFlowControlLifecycle2</sessionName>
+<tester>Daryl</tester>
+<startDate>24 Jan 2006, 11:35:14.013 AM MST</startDate>
+<description>Test of controls inside of shared flows</description>
+<tests>
+<test>
+<testNumber>1</testNumber>
+<request>
+<protocol>HTTP</protocol>
+<protocolVersion>1.1</protocolVersion>
+<host>localhost</host>
+<port>8080</port>
+<uri>/coreWeb/controls/lifecycle2/ControlLifecycleController.jpf</uri>
+<method>GET</method>
+<parameters>
+</parameters>
+<cookies>
+<cookie>
+<name>JSESSIONID</name>
+<value>3A82BEC489B0CBB6153F76C5145D9ED0</value>
+</cookie>
+</cookies>
+<headers>
+<header>
+<name>---------------</name>
+<value>----- -------</value>
+</header>
+<header>
+<name>accept</name>
+<value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*</value>
+</header>
+<header>
+<name>accept-language</name>
+<value>en-us</value>
+</header>
+<header>
+<name>connection</name>
+<value>Keep-Alive</value>
+</header>
+<header>
+<name>cookie</name>
+<value>JSESSIONID=3A82BEC489B0CBB6153F76C5145D9ED0</value>
+</header>
+<header>
+<name>host</name>
+<value>localhost:8080</value>
+</header>
+<header>
+<name>user-agent</name>
+<value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.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>Control Lifecycle Test 2</title>
+    </head>
+    <body>
+        <h4>Control Lifecycle Test 2</h4>
+        <p style="color:green">This test will run a control that is found in a shared flow to verify that it
+	is called during the onCreate, begin action and as a property accessor.
+	</p>
+	<table border='1'>
+        <tr><td>onCreate message</td><td>'Echo: 'shared flow access -- controls.lifecycle.ControlLifecycleController''</td></tr>
+        <tr><td>begin message</td><td>'Echo: 'shared flow access -- controls.lifecycle.ControlLifecycleController''</td></tr>
+        <tr><td>property access message</td><td>'Echo: 'shared flow access -- controls.lifecycle.ControlLifecycleController''</td></tr>
+	</table>
+    </body>
+
+</html>]]>
+</responseBody>
+</response>
+</test>
+</tests>
+<endDate>24 Jan 2006, 11:35:24.739 AM MST</endDate>
+<testCount>1</testCount>
+</recorderSession>

Added: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/PageFlowControlLifecycle3.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/PageFlowControlLifecycle3.xml?rev=372005&view=auto
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/PageFlowControlLifecycle3.xml (added)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/PageFlowControlLifecycle3.xml Tue Jan 24 12:13:39 2006
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<recorderSession xmlns="http://beehive.apache.org/netui/tools/testrecorder/2004/session">
+<sessionName>PageFlowControlLifecycle3</sessionName>
+<tester>Daryl</tester>
+<startDate>24 Jan 2006, 11:41:19.168 AM MST</startDate>
+<description>An additional test of controls in a page flow</description>
+<tests>
+<test>
+<testNumber>1</testNumber>
+<request>
+<protocol>HTTP</protocol>
+<protocolVersion>1.1</protocolVersion>
+<host>localhost</host>
+<port>8080</port>
+<uri>/coreWeb/controls/lifecycle3/ControlLifecycleController.jpf</uri>
+<method>GET</method>
+<parameters>
+</parameters>
+<cookies>
+<cookie>
+<name>JSESSIONID</name>
+<value>0328AF799F86EB81A4B4E2F276813AD1</value>
+</cookie>
+</cookies>
+<headers>
+<header>
+<name>---------------</name>
+<value>----- -------</value>
+</header>
+<header>
+<name>accept</name>
+<value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*</value>
+</header>
+<header>
+<name>accept-language</name>
+<value>en-us</value>
+</header>
+<header>
+<name>connection</name>
+<value>Keep-Alive</value>
+</header>
+<header>
+<name>cookie</name>
+<value>JSESSIONID=0328AF799F86EB81A4B4E2F276813AD1</value>
+</header>
+<header>
+<name>host</name>
+<value>localhost:8080</value>
+</header>
+<header>
+<name>user-agent</name>
+<value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.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>Control Lifecycle Test 3</title>
+    </head>
+    <body>
+        <h4>Control Lifecycle Test 3</h4>
+        <p style="color:green">This test will test the relationship between the control and it's container
+	</p>
+	<table border='1'>
+        <tr><td>onCreate message</td><td>'Echo: 'onCreate -- controls.lifecycle.ControlLifecycleController''</td></tr>
+        <tr><td>begin message</td><td>'Echo: 'begin.do -- controls.lifecycle.ControlLifecycleController''</td></tr>
+        <tr><td>property access message</td><td>'Echo: 'get property -- controls.lifecycle.ControlLifecycleController''</td></tr>
+	</table>
+    </body>
+
+</html>]]>
+</responseBody>
+</response>
+</test>
+</tests>
+<endDate>24 Jan 2006, 11:41:27.440 AM MST</endDate>
+<testCount>1</testCount>
+</recorderSession>

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

Added: beehive/trunk/netui/test/webapps/drt/web/controls/lifecycle2/index.jsp
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/controls/lifecycle2/index.jsp?rev=372005&view=auto
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/controls/lifecycle2/index.jsp (added)
+++ beehive/trunk/netui/test/webapps/drt/web/controls/lifecycle2/index.jsp Tue Jan 24 12:13:39 2006
@@ -0,0 +1,18 @@
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
+<netui:html>
+    <head>
+        <title>Control Lifecycle Test 2</title>
+    </head>
+    <netui:body>
+        <h4>Control Lifecycle Test 2</h4>
+        <p style="color:green">This test will run a control that is found in a shared flow to verify that it
+	is called during the onCreate, begin action and as a property accessor.
+	</p>
+	<table border='1'>
+        <tr><td>onCreate message</td><td>'${requestScope.createMsg}'</td></tr>
+        <tr><td>begin message</td><td>'${requestScope.beginMsg}'</td></tr>
+        <tr><td>property access message</td><td>'${pageFlow.propertyMsg}'</td></tr>
+	</table>
+    </netui:body>
+</netui:html>
\ No newline at end of file

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

Added: beehive/trunk/netui/test/webapps/drt/web/controls/lifecycle3/index.jsp
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/controls/lifecycle3/index.jsp?rev=372005&view=auto
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/controls/lifecycle3/index.jsp (added)
+++ beehive/trunk/netui/test/webapps/drt/web/controls/lifecycle3/index.jsp Tue Jan 24 12:13:39 2006
@@ -0,0 +1,17 @@
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
+<netui:html>
+    <head>
+        <title>Control Lifecycle Test 3</title>
+    </head>
+    <netui:body>
+        <h4>Control Lifecycle Test 3</h4>
+        <p style="color:green">This test will test the relationship between the control and it's container
+	</p>
+	<table border='1'>
+        <tr><td>onCreate message</td><td>'${requestScope.createMsg}'</td></tr>
+        <tr><td>begin message</td><td>'${requestScope.beginMsg}'</td></tr>
+        <tr><td>property access message</td><td>'${pageFlow.propertyMsg}'</td></tr>
+	</table>
+    </netui:body>
+</netui:html>
\ No newline at end of file

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