Author: ekoneil
Date: Wed Apr 27 21:20:04 2005
New Revision: 165095

URL: http://svn.apache.org/viewcvs?rev=165095&view=rev
Log:
Fix the error message produced when binding to a JavaBean property isn't found. 
 This removes the text that referred to a possibly missing field.

BB: self
DRT: NetUI pass
BVT: NetUI pass


Modified:
    
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/script/el/tokens/ExpressionToken.java
    
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/BindingUpdateErrors.xml
    
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtTreeErrors.xml
    
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ForwardToAction.xml
    
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RichTreeWriteTreeError.xml

Modified: 
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/script/el/tokens/ExpressionToken.java
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/script/el/tokens/ExpressionToken.java?rev=165095&r1=165094&r2=165095&view=diff
==============================================================================
--- 
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/script/el/tokens/ExpressionToken.java
 (original)
+++ 
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/script/el/tokens/ExpressionToken.java
 Wed Apr 27 21:20:04 2005
@@ -150,7 +150,7 @@
     }
 
     protected final void beanUpdate(Object bean, Object identifier, Object 
value) {
-        if(LOGGER.isDebugEnabled()) LOGGER.debug("Update \"" + bean + "\" type 
field/property \"" + identifier + "\"");
+        if(LOGGER.isDebugEnabled()) LOGGER.debug("Update \"" + bean + "\" type 
property \"" + identifier + "\"");
 
         String id = identifier.toString();
         Class beanType = bean.getClass();
@@ -186,12 +186,8 @@
             }
         }
 
-        String msg = "Could not update expression because a public field named 
\"" + id + "\" or setter for the property \"" +
-            identifier + "\" could not be found.";
-
-        if(LOGGER.isErrorEnabled())
-            LOGGER.error(msg);
-
+        String msg = "Could not update expression because a public JavaBean 
setter for the property \"" + identifier + "\" could not be found.";
+        LOGGER.error(msg);
         throw new RuntimeException(msg);
     }
 
@@ -210,10 +206,8 @@
 
     private static final void applyValuesToList(Object value, List list) {
         if(list == null) {
-            String msg = "Can not add a field onto a null java.util.List";
-            if(LOGGER.isErrorEnabled())
-                LOGGER.error(msg);
-
+            String msg = "Can not add a value to a null java.util.List";
+            LOGGER.error(msg);
             throw new RuntimeException(msg);
         }
 

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/BindingUpdateErrors.xml
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/BindingUpdateErrors.xml?rev=165095&r1=165094&r2=165095&view=diff
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/BindingUpdateErrors.xml
 (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/BindingUpdateErrors.xml
 Wed Apr 27 21:20:04 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>BindingUpdateErrors</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>11 Feb 2005, 06:20:06.544 PM MST</ses:startDate>
+   <ses:startDate>27 Apr 2005, 08:38:45.939 PM MDT</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>D816AF65DAC4C913C3202ED2A55FC180</ses:value>
+                  <ses:value>ABC339AF443875DC69BC44B76E3E9769</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -40,7 +40,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=D816AF65DAC4C913C3202ED2A55FC180; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=ABC339AF443875DC69BC44B76E3E9769; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>f624cb5:102041cb937:-7c47</ses:value>
+                  <ses:value>-1515d2ce:10386a99667:-7e9a</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -112,7 +112,7 @@
 </html>]]></ses:responseBody>
          </ses:response>
          <ses:testResults>
-            <ses:testStatus>fail</ses:testStatus>
+            <ses:testStatus>pass</ses:testStatus>
          </ses:testResults>
       </ses:test>
       <ses:test>
@@ -137,7 +137,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>D816AF65DAC4C913C3202ED2A55FC180</ses:value>
+                  <ses:value>ABC339AF443875DC69BC44B76E3E9769</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -171,7 +171,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=D816AF65DAC4C913C3202ED2A55FC180; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=ABC339AF443875DC69BC44B76E3E9769; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -187,7 +187,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>f624cb5:102041cb937:-7c47</ses:value>
+                  <ses:value>-1515d2ce:10386a99667:-7e9a</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -244,10 +244,10 @@
     <div> <hr /><table border="1" cellspacing="0" 
style="color:red;background-color:white">
  <tr><th colspan="6">Page Errors</th></tr>
  <tr><th>Error Number</th><th>Tag Type</th><th colspan="4">Error</th></tr>
-<tr><th>1</th><th>BindingUpdateErrors</th><th>Message</th><td>Binding Update 
Failed for '{actionForm.firstName}', cause: Exception when attempting to update 
the expression "{actionForm.firstName}" with available binding contexts 
[actionForm, pageFlow, globalApp]. Root cause: java.lang.RuntimeException: 
Could not update expression because a public field named "firstName" or setter 
for the property "firstName" could not be found.</td></tr>
-<tr><th>2</th><th>BindingUpdateErrors</th><th>Message</th><td>Binding Update 
Failed for '{actionForm.lastName}', cause: Exception when attempting to update 
the expression "{actionForm.lastName}" with available binding contexts 
[actionForm, pageFlow, globalApp]. Root cause: java.lang.RuntimeException: 
Could not update expression because a public field named "lastName" or setter 
for the property "lastName" could not be found.</td></tr>
-<tr><th>3</th><th>BindingUpdateErrors</th><th>Message</th><td>Binding Update 
Failed for 'actionForm.firstName', cause: Exception when attempting to update 
the expression "{actionForm.firstName}" with available binding contexts 
[actionForm, pageFlow, globalApp]. Root cause: java.lang.RuntimeException: 
Could not update expression because a public field named "firstName" or setter 
for the property "firstName" could not be found.</td></tr>
-<tr><th>4</th><th>BindingUpdateErrors</th><th>Message</th><td>Binding Update 
Failed for 'actionForm.lastName', cause: Exception when attempting to update 
the expression "{actionForm.lastName}" with available binding contexts 
[actionForm, pageFlow, globalApp]. Root cause: java.lang.RuntimeException: 
Could not update expression because a public field named "lastName" or setter 
for the property "lastName" could not be found.</td></tr>
+<tr><th>1</th><th>BindingUpdateErrors</th><th>Message</th><td>Binding Update 
Failed for '{actionForm.firstName}', cause: Exception when attempting to update 
the expression "{actionForm.firstName}" with available binding contexts 
[actionForm, pageFlow, globalApp]. Root cause: java.lang.RuntimeException: 
Could not update expression because a public JavaBean setter for the property 
"firstName" could not be found.</td></tr>
+<tr><th>2</th><th>BindingUpdateErrors</th><th>Message</th><td>Binding Update 
Failed for '{actionForm.lastName}', cause: Exception when attempting to update 
the expression "{actionForm.lastName}" with available binding contexts 
[actionForm, pageFlow, globalApp]. Root cause: java.lang.RuntimeException: 
Could not update expression because a public JavaBean setter for the property 
"lastName" could not be found.</td></tr>
+<tr><th>3</th><th>BindingUpdateErrors</th><th>Message</th><td>Binding Update 
Failed for 'actionForm.firstName', cause: Exception when attempting to update 
the expression "{actionForm.firstName}" with available binding contexts 
[actionForm, pageFlow, globalApp]. Root cause: java.lang.RuntimeException: 
Could not update expression because a public JavaBean setter for the property 
"firstName" could not be found.</td></tr>
+<tr><th>4</th><th>BindingUpdateErrors</th><th>Message</th><td>Binding Update 
Failed for 'actionForm.lastName', cause: Exception when attempting to update 
the expression "{actionForm.lastName}" with available binding contexts 
[actionForm, pageFlow, globalApp]. Root cause: java.lang.RuntimeException: 
Could not update expression because a public JavaBean setter for the property 
"lastName" could not be found.</td></tr>
 </table></div>
 </body>
 
@@ -258,9 +258,9 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>11 Feb 2005, 06:20:08.426 PM MST</ses:endDate>
+   <ses:endDate>27 Apr 2005, 08:38:46.610 PM MDT</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>2</ses:testCount>
-   <ses:passedCount>0</ses:passedCount>
-   <ses:failedCount>2</ses:failedCount>
+   <ses:passedCount>1</ses:passedCount>
+   <ses:failedCount>1</ses:failedCount>
 </ses:recorderSession>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtTreeErrors.xml
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtTreeErrors.xml?rev=165095&r1=165094&r2=165095&view=diff
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtTreeErrors.xml
 (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtTreeErrors.xml
 Wed Apr 27 21:20:04 2005
@@ -1,118 +1,118 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
-   <ses:sessionName>CtTreeErrors</ses:sessionName>
-   <ses:tester>Daryl</ses:tester>
-   <ses:startDate>18 Jan 2005, 06:46:00.562 PM MST</ses:startDate>
-   <ses:description>Daryl</ses:description>
-   <ses:tests>
-      <ses:test>
-         <ses:testNumber>1</ses:testNumber>
-         <ses:request>
-            <ses:protocol>HTTP</ses:protocol>
-            <ses:protocolVersion>1.1</ses:protocolVersion>
-            <ses:host>localhost</ses:host>
-            <ses:port>8080</ses:port>
-            <ses:uri>/coreWeb/coretags/tree/errors/Controller.jpf</ses:uri>
-            <ses:method>GET</ses:method>
-            <ses:parameters/>
-            <ses:cookies>
-               <ses:cookie>
-                  <ses:name>JSESSIONID</ses:name>
-                  <ses:value>401BA83031A94CBDA416B26EB0A88FB5</ses:value>
-               </ses:cookie>
-            </ses:cookies>
-            <ses:headers>
-               <ses:header>
-                  <ses:name>---------------</ses:name>
-                  <ses:value>----- -------</ses:value>
-               </ses:header>
-               <ses:header>
-                  <ses:name>accept</ses:name>
-                  <ses:value>image/gif, image/x-xbitmap, image/jpeg, 
image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, 
application/msword, application/x-shockwave-flash, */*</ses:value>
-               </ses:header>
-               <ses:header>
-                  <ses:name>accept-language</ses:name>
-                  <ses:value>en-us</ses:value>
-               </ses:header>
-               <ses:header>
-                  <ses:name>connection</ses:name>
-                  <ses:value>Keep-Alive</ses:value>
-               </ses:header>
-               <ses:header>
-                  <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=401BA83031A94CBDA416B26EB0A88FB5; $Path=/coreWeb</ses:value>
-               </ses:header>
-               <ses:header>
-                  <ses:name>host</ses:name>
-                  <ses:value>localhost:8080</ses:value>
-               </ses:header>
-               <ses:header>
-                  <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-54834ffa:101889e165b:-7dbb</ses:value>
-               </ses:header>
-               <ses:header>
-                  <ses:name>user-agent</ses:name>
-                  <ses:value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 
5.1; .NET CLR 2.0.40607)</ses:value>
-               </ses:header>
-            </ses:headers>
-         </ses:request>
-         <ses:response>
-            <ses:statusCode>200</ses:statusCode>
-            <ses:reason/>
-            <ses:responseBody><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 
4.01 Transitional//EN"
-       "http://www.w3.org/TR/html4/loose.dtd";>
-<html lang="en">
-
-    <head>
-        <base 
href="http://localhost:8080/coreWeb/coretags/tree/errors/index.jsp";>
-    </head>
-    <body>
-    <h4>Null Binding to the Tree tag</h4>
-    <p style="color:green">This test produces the common set of errors in the 
tree tag.  Each of the tests
-    below should result in an error.  The error is described in the header for 
each item.
-    <br>
-    This is a single page test.
-    </p>
-    <p>
-    </p>
-    <h4 style="color:green">invalid data source</h4>
-    <span style="color:red;background-color:white">
- [<b>Expression Error:1</b>, Found in tag <b>Tree</b>]</span>
-    <h4 style="color:green">bad selectionAction</h4>
-    <span style="color:red;background-color:white">
- [<b>Tag Error:2</b>, Found in tag <b>Tree</b>]</span>
-    <h4 style="color:green">bad expansionAction</h4>
-    <span style="color:red;background-color:white">
- [<b>Tag Error:3</b>, Found in tag <b>Tree</b>]</span>     
-    <h4 style="color:green">readonly property</h4>
-    <span style="color:red;background-color:white">
- [<b>Tag Error:4</b>, Found in tag <b>Tree</b>]</span>
-    <h4 style="color:green">Bind to String</h4>
-    <span style="color:red;background-color:white">
- [<b>Tag Error:5</b>, Found in tag <b>Tree</b>]</span>
-    <div> <hr /><table border="1" cellspacing="0" 
style="color:red;background-color:white">
- <tr><th colspan="6">Page Errors</th></tr>
- <tr><th>Error Number</th><th>Tag Type</th><th colspan="4">Error</th></tr>
-<tr><th rowspan="2">1</th><th 
rowspan="2">Tree</th><th>Attribute</th><td>dataSource</td>
- <th>Expression</th><td>{pageFlow.badTree}</td></tr>
- <tr><th valign="top">Message</th><td colspan="3">Caught exception when 
evaluating expression "{pageFlow.badTree}" with available binding contexts 
[actionForm, pageFlow, globalApp, request, session, application, pageContext, 
bundle, container, url, pageInput]. Root cause: java.lang.RuntimeException: 
Could not find property or field "badTree" on object of type "class 
coretags.tree.errors.Controller"</td></tr>
-<tr><th>2</th><th>Tree</th><th>Message</th><td>Action 'badAction' is not a 
valid action.</td></tr>
-<tr><th>3</th><th>Tree</th><th>Message</th><td>Action 'badAction' is not a 
valid action.</td></tr>
-<tr><th>4</th><th>Tree</th><th>Message</th><td>Unable to create the tree 
instance identified by the expression 'pageFlow.readTree'. Error:<br>Exception 
when attempting to update the expression "{pageFlow.readTree}" with available 
binding contexts [actionForm, pageFlow, globalApp, request, session, 
application]. Root cause: java.lang.RuntimeException: Could not update 
expression because a public field named "readTree" or setter for the property 
"readTree" could not be found.</td></tr>
-<tr><th>5</th><th>Tree</th><th>Message</th><td>Invalid tree control attribute 
'pageFlow.string'.</td></tr>
-</table></div>
-</body>
-
-</html>]]></ses:responseBody>
-         </ses:response>
-         <ses:testResults>
-            <ses:testStatus>fail</ses:testStatus>
-         </ses:testResults>
-      </ses:test>
-   </ses:tests>
-   <ses:endDate>18 Jan 2005, 06:46:02.093 PM MST</ses:endDate>
-   <ses:sessionStatus>fail</ses:sessionStatus>
-   <ses:testCount>1</ses:testCount>
-   <ses:passedCount>0</ses:passedCount>
-   <ses:failedCount>1</ses:failedCount>
+<?xml version="1.0" encoding="UTF-8"?>
+<ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
+   <ses:sessionName>CtTreeErrors</ses:sessionName>
+   <ses:tester>Daryl</ses:tester>
+   <ses:startDate>27 Apr 2005, 08:40:14.667 PM MDT</ses:startDate>
+   <ses:description>Daryl</ses:description>
+   <ses:tests>
+      <ses:test>
+         <ses:testNumber>1</ses:testNumber>
+         <ses:request>
+            <ses:protocol>HTTP</ses:protocol>
+            <ses:protocolVersion>1.1</ses:protocolVersion>
+            <ses:host>localhost</ses:host>
+            <ses:port>8080</ses:port>
+            <ses:uri>/coreWeb/coretags/tree/errors/Controller.jpf</ses:uri>
+            <ses:method>GET</ses:method>
+            <ses:parameters/>
+            <ses:cookies>
+               <ses:cookie>
+                  <ses:name>JSESSIONID</ses:name>
+                  <ses:value>ABC339AF443875DC69BC44B76E3E9769</ses:value>
+               </ses:cookie>
+            </ses:cookies>
+            <ses:headers>
+               <ses:header>
+                  <ses:name>---------------</ses:name>
+                  <ses:value>----- -------</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept</ses:name>
+                  <ses:value>image/gif, image/x-xbitmap, image/jpeg, 
image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, 
application/msword, application/x-shockwave-flash, */*</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-language</ses:name>
+                  <ses:value>en-us</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>connection</ses:name>
+                  <ses:value>Keep-Alive</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>cookie</ses:name>
+                  <ses:value>$Version=0; 
JSESSIONID=ABC339AF443875DC69BC44B76E3E9769; $Path=/coreWeb</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>host</ses:name>
+                  <ses:value>localhost:8080</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>testrecorder.playback.testid</ses:name>
+                  <ses:value>-1515d2ce:10386a99667:-7d6d</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>user-agent</ses:name>
+                  <ses:value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 
5.1; .NET CLR 2.0.40607)</ses:value>
+               </ses:header>
+            </ses:headers>
+         </ses:request>
+         <ses:response>
+            <ses:statusCode>200</ses:statusCode>
+            <ses:reason/>
+            <ses:responseBody><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 
4.01 Transitional//EN"
+       "http://www.w3.org/TR/html4/loose.dtd";>
+<html lang="en">
+
+    <head>
+        <base 
href="http://localhost:8080/coreWeb/coretags/tree/errors/index.jsp";>
+    </head>
+    <body>
+    <h4>Null Binding to the Tree tag</h4>
+    <p style="color:green">This test produces the common set of errors in the 
tree tag.  Each of the tests
+    below should result in an error.  The error is described in the header for 
each item.
+    <br>
+    This is a single page test.
+    </p>
+    <p>
+    </p>
+    <h4 style="color:green">invalid data source</h4>
+    <span style="color:red;background-color:white">
+ [<b>Expression Error:1</b>, Found in tag <b>Tree</b>]</span>
+    <h4 style="color:green">bad selectionAction</h4>
+    <span style="color:red;background-color:white">
+ [<b>Tag Error:2</b>, Found in tag <b>Tree</b>]</span>
+    <h4 style="color:green">bad expansionAction</h4>
+    <span style="color:red;background-color:white">
+ [<b>Tag Error:3</b>, Found in tag <b>Tree</b>]</span>     
+    <h4 style="color:green">readonly property</h4>
+    <span style="color:red;background-color:white">
+ [<b>Tag Error:4</b>, Found in tag <b>Tree</b>]</span>
+    <h4 style="color:green">Bind to String</h4>
+    <span style="color:red;background-color:white">
+ [<b>Tag Error:5</b>, Found in tag <b>Tree</b>]</span>
+    <div> <hr /><table border="1" cellspacing="0" 
style="color:red;background-color:white">
+ <tr><th colspan="6">Page Errors</th></tr>
+ <tr><th>Error Number</th><th>Tag Type</th><th colspan="4">Error</th></tr>
+<tr><th rowspan="2">1</th><th 
rowspan="2">Tree</th><th>Attribute</th><td>dataSource</td>
+ <th>Expression</th><td>{pageFlow.badTree}</td></tr>
+ <tr><th valign="top">Message</th><td colspan="3">Caught exception when 
evaluating expression "{pageFlow.badTree}" with available binding contexts 
[actionForm, pageFlow, globalApp, request, session, application, pageContext, 
bundle, container, url, pageInput]. Root cause: java.lang.RuntimeException: 
Could not find property or field "badTree" on object of type "class 
coretags.tree.errors.Controller"</td></tr>
+<tr><th>2</th><th>Tree</th><th>Message</th><td>Action 'badAction' is not a 
valid action.</td></tr>
+<tr><th>3</th><th>Tree</th><th>Message</th><td>Action 'badAction' is not a 
valid action.</td></tr>
+<tr><th>4</th><th>Tree</th><th>Message</th><td>Unable to create the tree 
instance identified by the expression 'pageFlow.readTree'. Error:<br>Exception 
when attempting to update the expression "{pageFlow.readTree}" with available 
binding contexts [actionForm, pageFlow, globalApp, request, session, 
application]. Root cause: java.lang.RuntimeException: Could not update 
expression because a public JavaBean setter for the property "readTree" could 
not be found.</td></tr>
+<tr><th>5</th><th>Tree</th><th>Message</th><td>Invalid tree control attribute 
'pageFlow.string'.</td></tr>
+</table></div>
+</body>
+
+</html>]]></ses:responseBody>
+         </ses:response>
+         <ses:testResults>
+            <ses:testStatus>fail</ses:testStatus>
+         </ses:testResults>
+      </ses:test>
+   </ses:tests>
+   <ses:endDate>27 Apr 2005, 08:40:15.318 PM MDT</ses:endDate>
+   <ses:sessionStatus>fail</ses:sessionStatus>
+   <ses:testCount>1</ses:testCount>
+   <ses:passedCount>0</ses:passedCount>
+   <ses:failedCount>1</ses:failedCount>
 </ses:recorderSession>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ForwardToAction.xml
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ForwardToAction.xml?rev=165095&r1=165094&r2=165095&view=diff
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ForwardToAction.xml
 (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ForwardToAction.xml
 Wed Apr 27 21:20:04 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>ForwardToAction</ses:sessionName>
    <ses:tester>rich</ses:tester>
-   <ses:startDate>11 Feb 2005, 06:30:19.014 PM MST</ses:startDate>
+   <ses:startDate>27 Apr 2005, 08:42:16.893 PM MDT</ses:startDate>
    <ses:description>rich</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>D4E953FA0410A5376F1B9E5CC645441E</ses:value>
+                  <ses:value>ABC339AF443875DC69BC44B76E3E9769</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -44,7 +44,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=D4E953FA0410A5376F1B9E5CC645441E; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=ABC339AF443875DC69BC44B76E3E9769; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -64,7 +64,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>f624cb5:102041cb937:-7700</ses:value>
+                  <ses:value>-1515d2ce:10386a99667:-7bc2</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -107,7 +107,7 @@
 </html>]]></ses:responseBody>
          </ses:response>
          <ses:testResults>
-            <ses:testStatus>fail</ses:testStatus>
+            <ses:testStatus>pass</ses:testStatus>
          </ses:testResults>
       </ses:test>
       <ses:test>
@@ -132,7 +132,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>D4E953FA0410A5376F1B9E5CC645441E</ses:value>
+                  <ses:value>ABC339AF443875DC69BC44B76E3E9769</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -166,7 +166,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=D4E953FA0410A5376F1B9E5CC645441E; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=ABC339AF443875DC69BC44B76E3E9769; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -186,7 +186,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>f624cb5:102041cb937:-7700</ses:value>
+                  <ses:value>-1515d2ce:10386a99667:-7bc2</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -216,14 +216,14 @@
     <div> <hr /><table border="1" cellspacing="0" 
style="color:red;background-color:white">
  <tr><th colspan="6">Page Errors</th></tr>
  <tr><th>Error Number</th><th>Tag Type</th><th colspan="4">Error</th></tr>
-<tr><th>1</th><th>BindingUpdateErrors</th><th>Message</th><td>Binding Update 
Failed for '{actionForm.foo}', cause: Exception when attempting to update the 
expression "{actionForm.foo}" with available binding contexts [actionForm, 
pageFlow, globalApp]. Root cause: java.lang.RuntimeException: Could not update 
expression because a public field named "foo" or setter for the property "foo" 
could not be found.</td></tr>
+<tr><th>1</th><th>BindingUpdateErrors</th><th>Message</th><td>Binding Update 
Failed for '{actionForm.foo}', cause: Exception when attempting to update the 
expression "{actionForm.foo}" with available binding contexts [actionForm, 
pageFlow, globalApp]. Root cause: java.lang.RuntimeException: Could not update 
expression because a public JavaBean setter for the property "foo" could not be 
found.</td></tr>
 </table></div>
 </body>
 
 </html>]]></ses:responseBody>
          </ses:response>
          <ses:testResults>
-            <ses:testStatus>pass</ses:testStatus>
+            <ses:testStatus>fail</ses:testStatus>
          </ses:testResults>
       </ses:test>
       <ses:test>
@@ -239,7 +239,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>D4E953FA0410A5376F1B9E5CC645441E</ses:value>
+                  <ses:value>ABC339AF443875DC69BC44B76E3E9769</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -265,7 +265,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=D4E953FA0410A5376F1B9E5CC645441E; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=ABC339AF443875DC69BC44B76E3E9769; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -285,7 +285,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>f624cb5:102041cb937:-7700</ses:value>
+                  <ses:value>-1515d2ce:10386a99667:-7bc2</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -328,7 +328,7 @@
 </html>]]></ses:responseBody>
          </ses:response>
          <ses:testResults>
-            <ses:testStatus>fail</ses:testStatus>
+            <ses:testStatus>pass</ses:testStatus>
          </ses:testResults>
       </ses:test>
       <ses:test>
@@ -349,7 +349,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>D4E953FA0410A5376F1B9E5CC645441E</ses:value>
+                  <ses:value>ABC339AF443875DC69BC44B76E3E9769</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -383,7 +383,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=D4E953FA0410A5376F1B9E5CC645441E; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=ABC339AF443875DC69BC44B76E3E9769; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -403,7 +403,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>f624cb5:102041cb937:-7700</ses:value>
+                  <ses:value>-1515d2ce:10386a99667:-7bc2</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -438,9 +438,9 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>11 Feb 2005, 06:30:23.451 PM MST</ses:endDate>
+   <ses:endDate>27 Apr 2005, 08:42:18.075 PM MDT</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>4</ses:testCount>
-   <ses:passedCount>2</ses:passedCount>
-   <ses:failedCount>2</ses:failedCount>
+   <ses:passedCount>3</ses:passedCount>
+   <ses:failedCount>1</ses:failedCount>
 </ses:recorderSession>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RichTreeWriteTreeError.xml
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RichTreeWriteTreeError.xml?rev=165095&r1=165094&r2=165095&view=diff
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RichTreeWriteTreeError.xml
 (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RichTreeWriteTreeError.xml
 Wed Apr 27 21:20:04 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>RichTreeWriteTreeError</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>18 Jan 2005, 06:54:03.578 PM MST</ses:startDate>
+   <ses:startDate>27 Apr 2005, 08:47:17.755 PM MDT</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>401BA83031A94CBDA416B26EB0A88FB5</ses:value>
+                  <ses:value>ABC339AF443875DC69BC44B76E3E9769</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -40,7 +40,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=401BA83031A94CBDA416B26EB0A88FB5; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=ABC339AF443875DC69BC44B76E3E9769; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-54834ffa:101889e165b:-7916</ses:value>
+                  <ses:value>-1515d2ce:10386a99667:-76ee</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -98,7 +98,7 @@
     <div> <hr /><table border="1" cellspacing="0" 
style="color:red;background-color:white">
  <tr><th colspan="6">Page Errors</th></tr>
  <tr><th>Error Number</th><th>Tag Type</th><th colspan="4">Error</th></tr>
-<tr><th>1</th><th>Tree</th><th>Message</th><td>Unable to create the tree 
instance identified by the expression 'pageFlow.tree7'. Error:<br>Exception 
when attempting to update the expression "{pageFlow.tree7}" with available 
binding contexts [actionForm, pageFlow, globalApp, request, session, 
application]. Root cause: java.lang.RuntimeException: Could not update 
expression because a public field named "tree7" or setter for the property 
"tree7" could not be found.</td></tr>
+<tr><th>1</th><th>Tree</th><th>Message</th><td>Unable to create the tree 
instance identified by the expression 'pageFlow.tree7'. Error:<br>Exception 
when attempting to update the expression "{pageFlow.tree7}" with available 
binding contexts [actionForm, pageFlow, globalApp, request, session, 
application]. Root cause: java.lang.RuntimeException: Could not update 
expression because a public JavaBean setter for the property "tree7" could not 
be found.</td></tr>
 </table></div>
 </body>
 
@@ -109,7 +109,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>18 Jan 2005, 06:54:04.625 PM MST</ses:endDate>
+   <ses:endDate>27 Apr 2005, 08:47:18.877 PM MDT</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>1</ses:testCount>
    <ses:passedCount>0</ses:passedCount>


Reply via email to