You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ri...@apache.org on 2005/02/25 03:37:41 UTC
svn commit: r155291 [3/3] - in incubator/beehive/trunk/netui:
src/compiler/org/apache/beehive/netui/compiler/
src/compiler/org/apache/beehive/netui/compiler/apt/
src/compiler/org/apache/beehive/netui/compiler/genmodel/
src/compiler/org/apache/beehive/netui/compiler/grammar/
src/pageflow/org/apache/beehive/netui/pageflow/annotations/
src/tags-html/org/apache/beehive/netui/tags/html/
src/tags-html/org/apache/beehive/netui/tags/javascript/
test/webapps/drt/coreWeb/WEB-INF/src/mockportal/
test/webapps/drt/coreWeb/miniTests/updateFormFromNestedPopup/
test/webapps/drt/coreWeb/tags/popup/ test/webapps/drt/testRecorder/config/
test/webapps/drt/testRecorder/tests/
Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/UpdateFormFromNestedPopup.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/UpdateFormFromNestedPopup.xml?view=diff&r1=155290&r2=155291
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/UpdateFormFromNestedPopup.xml (original)
+++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/UpdateFormFromNestedPopup.xml Thu Feb 24 18:37:33 2005
@@ -2,8 +2,8 @@
<ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session">
<ses:sessionName>UpdateFormFromNestedPopup</ses:sessionName>
<ses:tester>rich</ses:tester>
- <ses:startDate>21 Feb 2005, 12:43:12.515 PM MST</ses:startDate>
- <ses:description>rich</ses:description>
+ <ses:startDate>24 Feb 2005, 09:44:12.398 AM MST</ses:startDate>
+ <ses:description>Test of updating a form with values obtained from a nested page flow that is run in a popup window.</ses:description>
<ses:tests>
<ses:test>
<ses:testNumber>1</ses:testNumber>
@@ -18,15 +18,11 @@
<ses:cookies>
<ses:cookie>
<ses:name>JSESSIONID</ses:name>
- <ses:value>0A785D56F6D6FD9E4E1135E3D4DB5283</ses:value>
+ <ses:value>CC033BCA2BC2E1FF55FFA0DDFDA4B62C</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>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value>
</ses:header>
@@ -35,6 +31,10 @@
<ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value>
</ses:header>
<ses:header>
+ <ses:name>accept-encoding</ses:name>
+ <ses:value>gzip,deflate</ses:value>
+ </ses:header>
+ <ses:header>
<ses:name>accept-language</ses:name>
<ses:value>en-us,en;q=0.5</ses:value>
</ses:header>
@@ -44,7 +44,7 @@
</ses:header>
<ses:header>
<ses:name>cookie</ses:name>
- <ses:value>$Version=0; JSESSIONID=0A785D56F6D6FD9E4E1135E3D4DB5283; $Path=/coreWeb</ses:value>
+ <ses:value>JSESSIONID=CC033BCA2BC2E1FF55FFA0DDFDA4B62C</ses:value>
</ses:header>
<ses:header>
<ses:name>host</ses:name>
@@ -55,10 +55,6 @@
<ses:value>300</ses:value>
</ses:header>
<ses:header>
- <ses:name>testrecorder.playback.testid</ses:name>
- <ses:value>-28a9c23:10236637a2f:-7672</ses:value>
- </ses:header>
- <ses:header>
<ses:name>user-agent</ses:name>
<ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0</ses:value>
</ses:header>
@@ -109,7 +105,7 @@
<input type="text" name="{actionForm.zip}" id="zipField">
<span style="color:red"></span>
- <a href="/coreWeb/miniTests/updateFormFromNestedPopup/getZip.do?_netui%3AreturnActionViewRenderer=org.apache.beehive.netui.tags.internal.ReturnActionViewRenderer&_netui%3AretrieveItem=outputFormBean.state%3AstateField&_netui%3AretrieveItem=outputFormBean.zip%3AzipField&_netui%3AreturnActionCallback=Netui_OnPopupDone_1" onclick="netui_popup('/coreWeb/miniTests/updateFormFromNestedPopup/getZip.do?_netui%3AreturnActionViewRenderer=org.apache.beehive.netui.tags.internal.ReturnActionViewRenderer&_netui%3AretrieveItem=outputFormBean.state%3AstateField&_netui%3AretrieveItem=outputFormBean.zip%3AzipField&_netui%3AreturnActionCallback=Netui_OnPopupDone_1','','width=550,height=150,location=0',false);return false;">look up</a>
+ <a href="/coreWeb/miniTests/updateFormFromNestedPopup/getZip.do?_netui%3AreturnActionViewRenderer=org.apache.beehive.netui.tags.internal.ReturnActionViewRenderer&_netui%3AretrieveItem=outputFormBean.state%3AstateField&_netui%3AretrieveItem=outputFormBean.zip%3AzipField&_netui%3AreturnActionCallback=Netui_OnPopupDone" onclick="Netui_Popup('/coreWeb/miniTests/updateFormFromNestedPopup/getZip.do?_netui%3AreturnActionViewRenderer=org.apache.beehive.netui.tags.internal.ReturnActionViewRenderer&_netui%3AretrieveItem=outputFormBean.state%3AstateField&_netui%3AretrieveItem=outputFormBean.zip%3AzipField&_netui%3AreturnActionCallback=Netui_OnPopupDone','','width=550,height=150,location=0',false);return false;">look up</a>
</td>
</tr>
@@ -123,255 +119,19 @@
// **** Start the NetUI Framework Generated JavaScript ****
-function netui_popup(url, name, features, replace)
-{
- wnd=open(url, name, features, replace);
- if (wnd.opener == null) wnd.opener=self;
-}
-
-function Netui_OnPopupDone_1(map)
+window_Netui_Popup = null;
+function Netui_Popup(url, name, features, replace)
{
- for (var i in map)
+ if (window_Netui_Popup != null && ! window_Netui_Popup.closed)
{
- document.getElementById(i).value=map[i];
+ window_Netui_Popup.focus();
+ return;
}
+ window_Netui_Popup=open(url, name, features, replace);
+ if (window_Netui_Popup.opener == null) window_Netui_Popup.opener=self;
}
-// Build the netui_names table to map the tagId attributes
-// to the real id written into the HTML
-if (netui_names == null)
- var netui_names = new Object();
-netui_names.stateField="{actionForm.state}"
-netui_names.zipField="{actionForm.zip}"
-
-
-// Build the netui_names table to map the tagId attributes
-// to the real id written into the HTML
-if (netui_tagIdNameMap == null)
- var netui_tagIdNameMap = new Object();
-netui_tagIdNameMap.stateField="{actionForm.state}"
-netui_tagIdNameMap.zipField="{actionForm.zip}"
-
-
-// method which will return a real id for a tagId,
-// the tag parameter will be used to find the idScope for
-// containers that may scope their ids
-function getNetuiTagName(id, tag)
-{
- var idScope = getScopeId(tag);
- if (idScope == "")
- return netui_names[id];
- else
- return netui_names[idScope + "__" + id];
-}
-
-// This method will walk the hierarchy from the pass element looking for a idScope.
-// The first idScope found will be returned or the empty string if a idScope is not found.
-function getScopeId(tag)
-{
- if (tag == null || tag.getAttribute == null)
- return "";
- var attrVal = tag.getAttribute("netui:idScope");
- if (attrVal != null)
- return attrVal;
- return getScopeId(tag.parentNode);
-}
-
-// lookup by tagId to "real id"
-function lookupIdByTagId(id, tag)
-{
- var idScope = lookupIdScope(tag,".");
- return (idScope == "") ? id : idScope + id;
-}
-
-// lookup by tagId to "real name"
-function lookupNameByTagId(id, tag)
-{
- var idScope = lookupIdScope(tag,"_");
- if (idScope == "")
- return netui_tagIdNameMap[id];
- else
- return netui_tagIdNameMap[idScope + "__" + id];
-}
-
-//Non-Legacy lookup method creating a fully qualified scope id
-function lookupIdScope(tag,sep)
-{
- var val = "";
- if (sep == null) sep = "";
- while (tag != null && tag.getAttribute != null) {
- var attrVal = tag.getAttribute("netui:idScope");
- if (attrVal != null)
- val = attrVal + sep + val;
- tag = tag.parentNode;
- }
- return val;
-}
--->
-</script></body>
-
-</html></ses:responseBody>
- </ses:response>
- <ses:testResults>
- <ses:testStatus>fail</ses:testStatus>
- </ses:testResults>
- </ses:test>
- <ses:test>
- <ses:testNumber>2</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/miniTests/updateFormFromNestedPopup/submit.do</ses:uri>
- <ses:method>POST</ses:method>
- <ses:parameters>
- <ses:parameter>
- <ses:name>{actionForm.address}</ses:name>
- <ses:value/>
- </ses:parameter>
- <ses:parameter>
- <ses:name>{actionForm.city}</ses:name>
- <ses:value/>
- </ses:parameter>
- <ses:parameter>
- <ses:name>{actionForm.name}</ses:name>
- <ses:value>dick</ses:value>
- </ses:parameter>
- <ses:parameter>
- <ses:name>{actionForm.state}</ses:name>
- <ses:value/>
- </ses:parameter>
- <ses:parameter>
- <ses:name>{actionForm.zip}</ses:name>
- <ses:value/>
- </ses:parameter>
- </ses:parameters>
- <ses:cookies>
- <ses:cookie>
- <ses:name>JSESSIONID</ses:name>
- <ses:value>0A785D56F6D6FD9E4E1135E3D4DB5283</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>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value>
- </ses:header>
- <ses:header>
- <ses:name>accept-charset</ses:name>
- <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value>
- </ses:header>
- <ses:header>
- <ses:name>accept-language</ses:name>
- <ses:value>en-us,en;q=0.5</ses:value>
- </ses:header>
- <ses:header>
- <ses:name>connection</ses:name>
- <ses:value>keep-alive</ses:value>
- </ses:header>
- <ses:header>
- <ses:name>content-length</ses:name>
- <ses:value>121</ses:value>
- </ses:header>
- <ses:header>
- <ses:name>content-type</ses:name>
- <ses:value>application/x-www-form-urlencoded</ses:value>
- </ses:header>
- <ses:header>
- <ses:name>cookie</ses:name>
- <ses:value>$Version=0; JSESSIONID=0A785D56F6D6FD9E4E1135E3D4DB5283; $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>keep-alive</ses:name>
- <ses:value>300</ses:value>
- </ses:header>
- <ses:header>
- <ses:name>testrecorder.playback.testid</ses:name>
- <ses:value>-28a9c23:10236637a2f:-7672</ses:value>
- </ses:header>
- <ses:header>
- <ses:name>user-agent</ses:name>
- <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0</ses:value>
- </ses:header>
- </ses:headers>
- </ses:request>
- <ses:response>
- <ses:statusCode>200</ses:statusCode>
- <ses:reason/>
- <ses:responseBody><!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/miniTests/updateFormFromNestedPopup/index.jsp">
- </head>
- <body>
- <form action="/coreWeb/miniTests/updateFormFromNestedPopup/submit.do" method="post">
- <table>
- <tr valign="top">
- <td><b>Name:<b></td>
- <td>
- <input type="text" name="{actionForm.name}" value="dick">
- <span style="color:red"></span>
- </td>
- </tr>
- <tr valign="top">
- <td>Address:</td>
- <td>
- <input type="text" name="{actionForm.address}">
- </td>
- </tr>
- <tr valign="top">
- <td>City:</td>
- <td>
- <input type="text" name="{actionForm.city}">
- </td>
- </tr>
- <tr valign="top">
- <td><b>State:</b></td>
- <td>
- <input type="text" name="{actionForm.state}" id="stateField">
- <span style="color:red">The state is required.
-</span>
- </td>
- </tr>
- <tr valign="top">
- <td><b>Zip:<b></td>
- <td>
- <input type="text" name="{actionForm.zip}" id="zipField">
- <span style="color:red">The zip code is required.
-</span>
-
- <a href="/coreWeb/miniTests/updateFormFromNestedPopup/getZip.do?_netui%3AreturnActionViewRenderer=org.apache.beehive.netui.tags.internal.ReturnActionViewRenderer&_netui%3AretrieveItem=outputFormBean.state%3AstateField&_netui%3AretrieveItem=outputFormBean.zip%3AzipField&_netui%3AreturnActionCallback=Netui_OnPopupDone_1" onclick="netui_popup('/coreWeb/miniTests/updateFormFromNestedPopup/getZip.do?_netui%3AreturnActionViewRenderer=org.apache.beehive.netui.tags.internal.ReturnActionViewRenderer&_netui%3AretrieveItem=outputFormBean.state%3AstateField&_netui%3AretrieveItem=outputFormBean.zip%3AzipField&_netui%3AreturnActionCallback=Netui_OnPopupDone_1','','width=550,height=150,location=0',false);return false;">look up</a>
-
- </td>
- </tr>
- </table>
- <br/>
- <input type="submit" value="submit">
- </form>
-
- <script language="JavaScript" type="text/JavaScript">
-<!--
-
-// **** Start the NetUI Framework Generated JavaScript ****
-
-function netui_popup(url, name, features, replace)
-{
- wnd=open(url, name, features, replace);
- if (wnd.opener == null) wnd.opener=self;
-}
-
-function Netui_OnPopupDone_1(map)
+function Netui_OnPopupDone(map)
{
for (var i in map)
{
@@ -454,12 +214,9 @@
</html></ses:responseBody>
</ses:response>
- <ses:testResults>
- <ses:testStatus>fail</ses:testStatus>
- </ses:testResults>
</ses:test>
<ses:test>
- <ses:testNumber>3</ses:testNumber>
+ <ses:testNumber>2</ses:testNumber>
<ses:request>
<ses:protocol>HTTP</ses:protocol>
<ses:protocolVersion>1.1</ses:protocolVersion>
@@ -478,7 +235,7 @@
</ses:parameter>
<ses:parameter>
<ses:name>_netui:returnActionCallback</ses:name>
- <ses:value>Netui_OnPopupDone_1</ses:value>
+ <ses:value>Netui_OnPopupDone</ses:value>
</ses:parameter>
<ses:parameter>
<ses:name>_netui:returnActionViewRenderer</ses:name>
@@ -488,15 +245,11 @@
<ses:cookies>
<ses:cookie>
<ses:name>JSESSIONID</ses:name>
- <ses:value>0A785D56F6D6FD9E4E1135E3D4DB5283</ses:value>
+ <ses:value>CC033BCA2BC2E1FF55FFA0DDFDA4B62C</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>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value>
</ses:header>
@@ -505,6 +258,10 @@
<ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value>
</ses:header>
<ses:header>
+ <ses:name>accept-encoding</ses:name>
+ <ses:value>gzip,deflate</ses:value>
+ </ses:header>
+ <ses:header>
<ses:name>accept-language</ses:name>
<ses:value>en-us,en;q=0.5</ses:value>
</ses:header>
@@ -514,7 +271,7 @@
</ses:header>
<ses:header>
<ses:name>cookie</ses:name>
- <ses:value>$Version=0; JSESSIONID=0A785D56F6D6FD9E4E1135E3D4DB5283; $Path=/coreWeb</ses:value>
+ <ses:value>JSESSIONID=CC033BCA2BC2E1FF55FFA0DDFDA4B62C</ses:value>
</ses:header>
<ses:header>
<ses:name>host</ses:name>
@@ -525,8 +282,8 @@
<ses:value>300</ses:value>
</ses:header>
<ses:header>
- <ses:name>testrecorder.playback.testid</ses:name>
- <ses:value>-28a9c23:10236637a2f:-7672</ses:value>
+ <ses:name>referer</ses:name>
+ <ses:value>http://localhost:8080/coreWeb/miniTests/updateFormFromNestedPopup/Controller.jpf</ses:value>
</ses:header>
<ses:header>
<ses:name>user-agent</ses:name>
@@ -564,12 +321,9 @@
</html>]]></ses:responseBody>
</ses:response>
- <ses:testResults>
- <ses:testStatus>pass</ses:testStatus>
- </ses:testResults>
</ses:test>
<ses:test>
- <ses:testNumber>4</ses:testNumber>
+ <ses:testNumber>3</ses:testNumber>
<ses:request>
<ses:protocol>HTTP</ses:protocol>
<ses:protocolVersion>1.1</ses:protocolVersion>
@@ -580,21 +334,17 @@
<ses:parameters>
<ses:parameter>
<ses:name>{actionForm.zip}</ses:name>
- <ses:value>12345</ses:value>
+ <ses:value>08544</ses:value>
</ses:parameter>
</ses:parameters>
<ses:cookies>
<ses:cookie>
<ses:name>JSESSIONID</ses:name>
- <ses:value>0A785D56F6D6FD9E4E1135E3D4DB5283</ses:value>
+ <ses:value>CC033BCA2BC2E1FF55FFA0DDFDA4B62C</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>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value>
</ses:header>
@@ -603,6 +353,10 @@
<ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value>
</ses:header>
<ses:header>
+ <ses:name>accept-encoding</ses:name>
+ <ses:value>gzip,deflate</ses:value>
+ </ses:header>
+ <ses:header>
<ses:name>accept-language</ses:name>
<ses:value>en-us,en;q=0.5</ses:value>
</ses:header>
@@ -620,7 +374,7 @@
</ses:header>
<ses:header>
<ses:name>cookie</ses:name>
- <ses:value>$Version=0; JSESSIONID=0A785D56F6D6FD9E4E1135E3D4DB5283; $Path=/coreWeb</ses:value>
+ <ses:value>JSESSIONID=CC033BCA2BC2E1FF55FFA0DDFDA4B62C</ses:value>
</ses:header>
<ses:header>
<ses:name>host</ses:name>
@@ -631,8 +385,8 @@
<ses:value>300</ses:value>
</ses:header>
<ses:header>
- <ses:name>testrecorder.playback.testid</ses:name>
- <ses:value>-28a9c23:10236637a2f:-7672</ses:value>
+ <ses:name>referer</ses:name>
+ <ses:value>http://localhost:8080/coreWeb/miniTests/updateFormFromNestedPopup/getZip.do?_netui%3AreturnActionViewRenderer=org.apache.beehive.netui.tags.internal.ReturnActionViewRenderer&_netui%3AretrieveItem=outputFormBean.state%3AstateField&_netui%3AretrieveItem=outputFormBean.zip%3AzipField&_netui%3AreturnActionCallback=Netui_OnPopupDone</ses:value>
</ses:header>
<ses:header>
<ses:name>user-agent</ses:name>
@@ -647,7 +401,7 @@
<head>
</head>
<body>
- You have chosen <b>12345</b>, in <b>New York</b>.
+ You have chosen <b>08544</b>, in <b>New Jersey</b>.
Is this correct?
<br/>
<br/>
@@ -658,12 +412,9 @@
</body>
</html>]]></ses:responseBody>
</ses:response>
- <ses:testResults>
- <ses:testStatus>pass</ses:testStatus>
- </ses:testResults>
</ses:test>
<ses:test>
- <ses:testNumber>5</ses:testNumber>
+ <ses:testNumber>4</ses:testNumber>
<ses:request>
<ses:protocol>HTTP</ses:protocol>
<ses:protocolVersion>1.1</ses:protocolVersion>
@@ -675,15 +426,11 @@
<ses:cookies>
<ses:cookie>
<ses:name>JSESSIONID</ses:name>
- <ses:value>0A785D56F6D6FD9E4E1135E3D4DB5283</ses:value>
+ <ses:value>CC033BCA2BC2E1FF55FFA0DDFDA4B62C</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>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value>
</ses:header>
@@ -692,6 +439,10 @@
<ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value>
</ses:header>
<ses:header>
+ <ses:name>accept-encoding</ses:name>
+ <ses:value>gzip,deflate</ses:value>
+ </ses:header>
+ <ses:header>
<ses:name>accept-language</ses:name>
<ses:value>en-us,en;q=0.5</ses:value>
</ses:header>
@@ -709,7 +460,7 @@
</ses:header>
<ses:header>
<ses:name>cookie</ses:name>
- <ses:value>$Version=0; JSESSIONID=0A785D56F6D6FD9E4E1135E3D4DB5283; $Path=/coreWeb</ses:value>
+ <ses:value>JSESSIONID=CC033BCA2BC2E1FF55FFA0DDFDA4B62C</ses:value>
</ses:header>
<ses:header>
<ses:name>host</ses:name>
@@ -720,8 +471,8 @@
<ses:value>300</ses:value>
</ses:header>
<ses:header>
- <ses:name>testrecorder.playback.testid</ses:name>
- <ses:value>-28a9c23:10236637a2f:-7672</ses:value>
+ <ses:name>referer</ses:name>
+ <ses:value>http://localhost:8080/coreWeb/miniTests/updateFormFromNestedPopup/getZip/submitZip.do</ses:value>
</ses:header>
<ses:header>
<ses:name>user-agent</ses:name>
@@ -735,19 +486,16 @@
<ses:responseBody><script language="JavaScript" type="text/JavaScript">
<!--
var map = new Object();
-map["stateField"] = "New York";
-map["zipField"] = "12345";
-top.opener.Netui_OnPopupDone_1(map);
+map["stateField"] = "New Jersey";
+map["zipField"] = "08544";
+top.opener.Netui_OnPopupDone(map);
window.close();
-->
</script></ses:responseBody>
</ses:response>
- <ses:testResults>
- <ses:testStatus>pass</ses:testStatus>
- </ses:testResults>
</ses:test>
<ses:test>
- <ses:testNumber>6</ses:testNumber>
+ <ses:testNumber>5</ses:testNumber>
<ses:request>
<ses:protocol>HTTP</ses:protocol>
<ses:protocolVersion>1.1</ses:protocolVersion>
@@ -758,37 +506,33 @@
<ses:parameters>
<ses:parameter>
<ses:name>{actionForm.address}</ses:name>
- <ses:value>123 Main St.</ses:value>
+ <ses:value/>
</ses:parameter>
<ses:parameter>
<ses:name>{actionForm.city}</ses:name>
- <ses:value>Schenectady</ses:value>
+ <ses:value/>
</ses:parameter>
<ses:parameter>
<ses:name>{actionForm.name}</ses:name>
- <ses:value>dick</ses:value>
+ <ses:value>Harold</ses:value>
</ses:parameter>
<ses:parameter>
<ses:name>{actionForm.state}</ses:name>
- <ses:value>New York</ses:value>
+ <ses:value>New Jersey</ses:value>
</ses:parameter>
<ses:parameter>
<ses:name>{actionForm.zip}</ses:name>
- <ses:value>12345</ses:value>
+ <ses:value>08544</ses:value>
</ses:parameter>
</ses:parameters>
<ses:cookies>
<ses:cookie>
<ses:name>JSESSIONID</ses:name>
- <ses:value>0A785D56F6D6FD9E4E1135E3D4DB5283</ses:value>
+ <ses:value>CC033BCA2BC2E1FF55FFA0DDFDA4B62C</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>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value>
</ses:header>
@@ -797,6 +541,10 @@
<ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value>
</ses:header>
<ses:header>
+ <ses:name>accept-encoding</ses:name>
+ <ses:value>gzip,deflate</ses:value>
+ </ses:header>
+ <ses:header>
<ses:name>accept-language</ses:name>
<ses:value>en-us,en;q=0.5</ses:value>
</ses:header>
@@ -806,7 +554,7 @@
</ses:header>
<ses:header>
<ses:name>content-length</ses:name>
- <ses:value>157</ses:value>
+ <ses:value>138</ses:value>
</ses:header>
<ses:header>
<ses:name>content-type</ses:name>
@@ -814,7 +562,7 @@
</ses:header>
<ses:header>
<ses:name>cookie</ses:name>
- <ses:value>$Version=0; JSESSIONID=0A785D56F6D6FD9E4E1135E3D4DB5283; $Path=/coreWeb</ses:value>
+ <ses:value>JSESSIONID=CC033BCA2BC2E1FF55FFA0DDFDA4B62C</ses:value>
</ses:header>
<ses:header>
<ses:name>host</ses:name>
@@ -825,8 +573,8 @@
<ses:value>300</ses:value>
</ses:header>
<ses:header>
- <ses:name>testrecorder.playback.testid</ses:name>
- <ses:value>-28a9c23:10236637a2f:-7672</ses:value>
+ <ses:name>referer</ses:name>
+ <ses:value>http://localhost:8080/coreWeb/miniTests/updateFormFromNestedPopup/Controller.jpf</ses:value>
</ses:header>
<ses:header>
<ses:name>user-agent</ses:name>
@@ -845,15 +593,15 @@
<base href="http://localhost:8080/coreWeb/miniTests/updateFormFromNestedPopup/results.jsp">
</head>
<body>
- name: <b>dick</b>
+ name: <b>Harold</b>
<br/>
- address: <b>123 Main St.</b>
+ address: <b></b>
<br/>
- city: <b>Schenectady</b>
+ city: <b></b>
<br/>
- state: <b>New York</b>
+ state: <b>New Jersey</b>
<br/>
- zip: <b>12345</b>
+ zip: <b>08544</b>
<br/>
<br/>
<a href="/coreWeb/miniTests/updateFormFromNestedPopup/begin.do">start over</a>
@@ -861,14 +609,8 @@
</html>]]></ses:responseBody>
</ses:response>
- <ses:testResults>
- <ses:testStatus>pass</ses:testStatus>
- </ses:testResults>
</ses:test>
</ses:tests>
- <ses:endDate>21 Feb 2005, 12:43:17.687 PM MST</ses:endDate>
- <ses:sessionStatus>fail</ses:sessionStatus>
- <ses:testCount>6</ses:testCount>
- <ses:passedCount>4</ses:passedCount>
- <ses:failedCount>2</ses:failedCount>
-</ses:recorderSession>
\ No newline at end of file
+ <ses:endDate>24 Feb 2005, 09:45:49.517 AM MST</ses:endDate>
+ <ses:testCount>5</ses:testCount>
+</ses:recorderSession>