You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ek...@apache.org on 2006/05/10 18:49:16 UTC
svn commit: r405798 [2/2] - in /beehive/trunk/netui/test/webapps:
drt/testRecorder/tests/ jsf/testRecorder/tests-myfaces/ jsf/web/jpfFaces/
Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J359.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J359.xml?rev=405798&r1=405797&r2=405798&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J359.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J359.xml Wed May 10 09:49:14 2006
@@ -1,82 +1,82 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session">
- <ses:sessionName>J359</ses:sessionName>
- <ses:tester>Daryl</ses:tester>
- <ses:startDate>18 Mar 2005, 09:28:07.514 AM MST</ses:startDate>
- <ses:description>Verification that the HTML tag doesn't produce an end DIV tag.</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/bugs/j359/index.jsp</ses:uri>
- <ses:method>GET</ses:method>
- <ses:parameters/>
- <ses:cookies>
- <ses:cookie>
- <ses:name>JSESSIONID</ses:name>
- <ses:value>B38BDA931ECD0DFD032376D586301A4D</ses:value>
- </ses:cookie>
- </ses:cookies>
- <ses:headers>
- <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-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>
- <ses:header>
- <ses:name>connection</ses:name>
- <ses:value>keep-alive</ses:value>
- </ses:header>
- <ses:header>
- <ses:name>cookie</ses:name>
- <ses:value>JSESSIONID=B38BDA931ECD0DFD032376D586301A4D</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>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/>
+<?xml version="1.0" encoding="UTF-8"?>
+<ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session">
+ <ses:sessionName>J359</ses:sessionName>
+ <ses:tester>Daryl</ses:tester>
+ <ses:startDate>18 Mar 2005, 09:28:07.514 AM MST</ses:startDate>
+ <ses:description>Verification that the HTML tag doesn't produce an end DIV tag.</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/bugs/j359/index.jsp</ses:uri>
+ <ses:method>GET</ses:method>
+ <ses:parameters/>
+ <ses:cookies>
+ <ses:cookie>
+ <ses:name>JSESSIONID</ses:name>
+ <ses:value>B38BDA931ECD0DFD032376D586301A4D</ses:value>
+ </ses:cookie>
+ </ses:cookies>
+ <ses:headers>
+ <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-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>
+ <ses:header>
+ <ses:name>connection</ses:name>
+ <ses:value>keep-alive</ses:value>
+ </ses:header>
+ <ses:header>
+ <ses:name>cookie</ses:name>
+ <ses:value>JSESSIONID=B38BDA931ECD0DFD032376D586301A4D</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>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><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en" netui:idScope="foo">
-
-<head>
-</head>
-<body>
-Verify that the div is not generated by the netui HTML tag.
-</body>
-</html>]]></ses:responseBody>
- </ses:response>
- </ses:test>
- </ses:tests>
- <ses:endDate>18 Mar 2005, 09:28:21.585 AM MST</ses:endDate>
- <ses:testCount>1</ses:testCount>
+<head>
+</head>
+<body>
+Verify that the div is not generated by the netui HTML tag.
+</body>
+
+</html>]]></ses:responseBody>
+ </ses:response>
+ </ses:test>
+ </ses:tests>
+ <ses:endDate>18 Mar 2005, 09:28:21.585 AM MST</ses:endDate>
+ <ses:testCount>1</ses:testCount>
</ses:recorderSession>
Propchange: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J359.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J517.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J517.xml?rev=405798&r1=405797&r2=405798&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J517.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J517.xml Wed May 10 09:49:14 2006
@@ -1,100 +1,100 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session">
- <ses:sessionName>J517</ses:sessionName>
- <ses:tester>Daryl</ses:tester>
- <ses:startDate>12 Apr 2005, 12:31:38.952 PM MDT</ses:startDate>
- <ses:description>Test of a repeating select where we can't make an iterator on the optionsDataSource</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/bugs/j517/Controller.jpf</ses:uri>
- <ses:method>GET</ses:method>
- <ses:parameters/>
- <ses:cookies>
- <ses:cookie>
- <ses:name>JSESSIONID</ses:name>
- <ses:value>3B0BF10775E3F365410D70E4B1C64151</ses:value>
- </ses:cookie>
- </ses:cookies>
- <ses:headers>
- <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-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>
- <ses:header>
- <ses:name>connection</ses:name>
- <ses:value>keep-alive</ses:value>
- </ses:header>
- <ses:header>
- <ses:name>cookie</ses:name>
- <ses:value>JSESSIONID=3B0BF10775E3F365410D70E4B1C64151</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>user-agent</ses:name>
- <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2</ses:value>
- </ses:header>
- </ses:headers>
- </ses:request>
- <ses:response>
- <ses:statusCode>200</ses:statusCode>
- <ses:reason/>
+<?xml version="1.0" encoding="UTF-8"?>
+<ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session">
+ <ses:sessionName>J517</ses:sessionName>
+ <ses:tester>Daryl</ses:tester>
+ <ses:startDate>12 Apr 2005, 12:31:38.952 PM MDT</ses:startDate>
+ <ses:description>Test of a repeating select where we can't make an iterator on the optionsDataSource</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/bugs/j517/Controller.jpf</ses:uri>
+ <ses:method>GET</ses:method>
+ <ses:parameters/>
+ <ses:cookies>
+ <ses:cookie>
+ <ses:name>JSESSIONID</ses:name>
+ <ses:value>3B0BF10775E3F365410D70E4B1C64151</ses:value>
+ </ses:cookie>
+ </ses:cookies>
+ <ses:headers>
+ <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-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>
+ <ses:header>
+ <ses:name>connection</ses:name>
+ <ses:value>keep-alive</ses:value>
+ </ses:header>
+ <ses:header>
+ <ses:name>cookie</ses:name>
+ <ses:value>JSESSIONID=3B0BF10775E3F365410D70E4B1C64151</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>user-agent</ses:name>
+ <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2</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>
- <title>J242 - HashMaps with checkBoxGroup and radioButtonGroups</title>
- <style type="text/css">
- .normalAttr {color: #cc0099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
- .normal {color: #cc9999;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
- .normal2 {color: #00cc99;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
- .normal3 {color: #99cc99;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
- </style>
- </head>
- <body>
-
- <form action="/coreWeb/bugs/j517/post.do" method="post">
+
+ <head>
+ <title>J242 - HashMaps with checkBoxGroup and radioButtonGroups</title>
+ <style type="text/css">
+ .normalAttr {color: #cc0099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
+ .normal {color: #cc9999;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
+ .normal2 {color: #00cc99;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
+ .normal3 {color: #99cc99;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
+ </style>
+ </head>
+ <body>
+
+ <form action="/coreWeb/bugs/j517/post.do" method="post">
<span style="color:red;background-color:white">
- [<b>Tag Error:1</b>, Found in tag <b>Select</b>]</span>
- </table>
-
- </form>
+ [<b>Tag Error:1</b>, Found in tag <b>Select</b>]</span>
+ </table>
+
+ </form>
<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>Select</th><th>Message</th><td>Unable to create an Iterator on the optionsDataSource</td></tr>
</table></div>
-</body>
+</body>
-</html>]]></ses:responseBody>
- </ses:response>
- </ses:test>
- </ses:tests>
- <ses:endDate>12 Apr 2005, 12:31:44.490 PM MDT</ses:endDate>
- <ses:testCount>1</ses:testCount>
+</html>]]></ses:responseBody>
+ </ses:response>
+ </ses:test>
+ </ses:tests>
+ <ses:endDate>12 Apr 2005, 12:31:44.490 PM MDT</ses:endDate>
+ <ses:testCount>1</ses:testCount>
</ses:recorderSession>
Propchange: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J517.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J519.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J519.xml?rev=405798&r1=405797&r2=405798&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J519.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J519.xml Wed May 10 09:49:14 2006
@@ -60,18 +60,18 @@
<![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
-
- <head>
- <title>
- Netui Tree Requirements - runAtClient and expandOnServer
- </title>
- <script language="JavaScript" type="text/JavaScript" src="/coreWeb/resources/beehive/version1/javascript/netui-tree.js"></script>
- </head>
- <body>
-<br />
-<p>JSP Tree</p>
-<a href="/coreWeb/bugs/j519/resetTrees.do">Reset Trees</a>
-
+
+ <head>
+ <title>
+ Netui Tree Requirements - runAtClient and expandOnServer
+ </title>
+ <script language="JavaScript" type="text/JavaScript" src="/coreWeb/resources/beehive/version1/javascript/netui-tree.js"></script>
+ </head>
+ <body>
+<br />
+<p>JSP Tree</p>
+<a href="/coreWeb/bugs/j519/resetTrees.do">Reset Trees</a>
+
<div netui:treeName="Tree1013">
<div netui:treeLevel="0">
<a href="#" netui:imageCollapse="/coreWeb/resources/beehive/version1/images/rootCollapsed.gif" netui:treeAnchor="collapse" netui:treeAnchorInit="true" netui:treeId="0" netui:expandLast="true" netui:imageExpand="/coreWeb/resources/beehive/version1/images/rootExpanded.gif"><img src="/coreWeb/resources/beehive/version1/images/rootCollapsed.gif" style="vertical-align:bottom;" border="0" alt="Expand Tree Element" /></a>
@@ -95,11 +95,11 @@
<a href="/coreWeb/bugs/j519/postback.do?netui_treeselected=0.1.0&netui_treeid=expandModesJspTree11" style="text-decoration: none"> <img src="/coreWeb/resources/beehive/version1/images/folder.gif" style="vertical-align:text-top" border="0" alt="can you see me?" /> can you see me? </a>
</div>
</div>
-
-
-<br /><br />
-<p>adding another tree with the datasource pageFlow.expandModesDynTree11 will give the dynamic version of the same tree. The
-dynamic version does not reproduce the error.</p>
+
+
+<br /><br />
+<p>adding another tree with the datasource pageFlow.expandModesDynTree11 will give the dynamic version of the same tree. The
+dynamic version does not reproduce the error.</p>
<script language="JavaScript" type="text/JavaScript">
<!--
@@ -125,7 +125,7 @@
netUI.netUITree.trees["Tree1013"].ajaxParam = "Tree1013";
-->
-</script></body>
+</script></body>
</html>]]>
</responseBody>
@@ -352,18 +352,18 @@
<![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
-
- <head>
- <title>
- Netui Tree Requirements - runAtClient and expandOnServer
- </title>
- <script language="JavaScript" type="text/JavaScript" src="/coreWeb/resources/beehive/version1/javascript/netui-tree.js"></script>
- </head>
- <body>
-<br />
-<p>JSP Tree</p>
-<a href="/coreWeb/bugs/j519/resetTrees.do">Reset Trees</a>
-
+
+ <head>
+ <title>
+ Netui Tree Requirements - runAtClient and expandOnServer
+ </title>
+ <script language="JavaScript" type="text/JavaScript" src="/coreWeb/resources/beehive/version1/javascript/netui-tree.js"></script>
+ </head>
+ <body>
+<br />
+<p>JSP Tree</p>
+<a href="/coreWeb/bugs/j519/resetTrees.do">Reset Trees</a>
+
<div netui:treeName="Tree1013">
<div netui:treeLevel="0">
<a href="#" netui:imageCollapse="/coreWeb/resources/beehive/version1/images/rootCollapsed.gif" netui:treeAnchor="expand" netui:treeAnchorInit="true" netui:treeId="0" netui:expandLast="true" netui:imageExpand="/coreWeb/resources/beehive/version1/images/rootExpanded.gif"><img src="/coreWeb/resources/beehive/version1/images/rootExpanded.gif" style="vertical-align:bottom;" border="0" alt="Collapse Tree Element" /></a>
@@ -393,11 +393,11 @@
<a href="/coreWeb/bugs/j519/postback.do?netui_treeselected=0.1.0&netui_treeid=expandModesJspTree11" style="text-decoration: none"> <img src="/coreWeb/resources/beehive/version1/images/folder.gif" style="vertical-align:text-top" border="0" alt="can you see me?" /> can you see me? </a>
</div>
</div>
-
-
-<br /><br />
-<p>adding another tree with the datasource pageFlow.expandModesDynTree11 will give the dynamic version of the same tree. The
-dynamic version does not reproduce the error.</p>
+
+
+<br /><br />
+<p>adding another tree with the datasource pageFlow.expandModesDynTree11 will give the dynamic version of the same tree. The
+dynamic version does not reproduce the error.</p>
<script language="JavaScript" type="text/JavaScript">
<!--
@@ -423,7 +423,7 @@
netUI.netUITree.trees["Tree1013"].ajaxParam = "Tree1013";
-->
-</script></body>
+</script></body>
</html>]]>
</responseBody>
Propchange: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J519.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J522.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J522.xml?rev=405798&r1=405797&r2=405798&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J522.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J522.xml Wed May 10 09:49:14 2006
@@ -1,68 +1,68 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session">
- <ses:sessionName>J522</ses:sessionName>
- <ses:tester>Daryl</ses:tester>
- <ses:startDate>14 Apr 2005, 01:51:34.558 PM MDT</ses:startDate>
- <ses:description>Verification of errors in Area.</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/bugs/j522/Controller.jpf</ses:uri>
- <ses:method>GET</ses:method>
- <ses:parameters/>
- <ses:cookies>
- <ses:cookie>
- <ses:name>JSESSIONID</ses:name>
- <ses:value>F19772AE32919CFE9D28ECB791665E96</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>cookie</ses:name>
- <ses:value>JSESSIONID=F19772AE32919CFE9D28ECB791665E96</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>user-agent</ses:name>
- <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2</ses:value>
- </ses:header>
- </ses:headers>
- </ses:request>
- <ses:response>
- <ses:statusCode>200</ses:statusCode>
- <ses:reason/>
+<?xml version="1.0" encoding="UTF-8"?>
+<ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session">
+ <ses:sessionName>J522</ses:sessionName>
+ <ses:tester>Daryl</ses:tester>
+ <ses:startDate>14 Apr 2005, 01:51:34.558 PM MDT</ses:startDate>
+ <ses:description>Verification of errors in Area.</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/bugs/j522/Controller.jpf</ses:uri>
+ <ses:method>GET</ses:method>
+ <ses:parameters/>
+ <ses:cookies>
+ <ses:cookie>
+ <ses:name>JSESSIONID</ses:name>
+ <ses:value>F19772AE32919CFE9D28ECB791665E96</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>cookie</ses:name>
+ <ses:value>JSESSIONID=F19772AE32919CFE9D28ECB791665E96</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>user-agent</ses:name>
+ <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2</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">
@@ -159,10 +159,10 @@
-->
</script></body>
-</html>]]></ses:responseBody>
- </ses:response>
- </ses:test>
- </ses:tests>
- <ses:endDate>14 Apr 2005, 01:51:44.453 PM MDT</ses:endDate>
- <ses:testCount>1</ses:testCount>
+</html>]]></ses:responseBody>
+ </ses:response>
+ </ses:test>
+ </ses:tests>
+ <ses:endDate>14 Apr 2005, 01:51:44.453 PM MDT</ses:endDate>
+ <ses:testCount>1</ses:testCount>
</ses:recorderSession>
Propchange: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J522.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/UseFormBean.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/UseFormBean.xml?rev=405798&r1=405797&r2=405798&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/UseFormBean.xml (original)
+++ beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/UseFormBean.xml Wed May 10 09:49:14 2006
@@ -77,30 +77,30 @@
<statusCode>200</statusCode>
<reason></reason>
<responseBody>
-<![CDATA[<html>
- <head>
- </head>
- <body>
- This is a test to ensure that sending a form bean from a JSF page to an action (where the
- action specifies useFormBean=<i>some member variable</i>) causes the page flow form bean
- member variable to be replaced with the one sent from the JSF page.
-
-
- <form id="_id0" name="_id0" method="post" action="/jsfWeb/useFormBean/input.faces" enctype="application/x-www-form-urlencoded">
- #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
- <br/>
- <br/>
-
-
- <input id="_id0:_id2" name="_id0:_id2" type="submit" value="send bean through attribute" onclick="clear__5Fid0();"/>
- <br/>
- <input id="_id0:_id3" name="_id0:_id3" type="submit" value="send bean through command handler" onclick="clear__5Fid0();"/>
- <br/>
-
-
- <a href="#" onclick="clear__5Fid0();document.forms['_id0'].elements['_id0:_link_hidden_'].value='_id0:_id4';if(document.forms['_id0'].onsubmit){document.forms['_id0'].onsubmit();}document.forms['_id0'].submit();return false;" id="_id0:_id4">send bean through attribute</a>
- <br/>
- <a href="#" onclick="clear__5Fid0();document.forms['_id0'].elements['_id0:_link_hidden_'].value='_id0:_id5';if(document.forms['_id0'].onsubmit){document.forms['_id0'].onsubmit();}document.forms['_id0'].submit();return false;" id="_id0:_id5">send bean through command handler</a>
+<![CDATA[<html>
+ <head>
+ </head>
+ <body>
+ This is a test to ensure that sending a form bean from a JSF page to an action (where the
+ action specifies useFormBean=<i>some member variable</i>) causes the page flow form bean
+ member variable to be replaced with the one sent from the JSF page.
+
+
+ <form id="_id0" name="_id0" method="post" action="/jsfWeb/useFormBean/input.faces" enctype="application/x-www-form-urlencoded">
+ #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
+ <br/>
+ <br/>
+
+
+ <input id="_id0:_id2" name="_id0:_id2" type="submit" value="send bean through attribute" onclick="clear__5Fid0();"/>
+ <br/>
+ <input id="_id0:_id3" name="_id0:_id3" type="submit" value="send bean through command handler" onclick="clear__5Fid0();"/>
+ <br/>
+
+
+ <a href="#" onclick="clear__5Fid0();document.forms['_id0'].elements['_id0:_link_hidden_'].value='_id0:_id4';if(document.forms['_id0'].onsubmit){document.forms['_id0'].onsubmit();}document.forms['_id0'].submit();return false;" id="_id0:_id4">send bean through attribute</a>
+ <br/>
+ <a href="#" onclick="clear__5Fid0();document.forms['_id0'].elements['_id0:_link_hidden_'].value='_id0:_id5';if(document.forms['_id0'].onsubmit){document.forms['_id0'].onsubmit();}document.forms['_id0'].submit();return false;" id="_id0:_id5">send bean through command handler</a>
<input type="hidden" name="_id0_SUBMIT" value="1"/><input type="hidden" name="_id0:_link_hidden_"/><script type="text/javascript">
<!--
function clear__5Fid0() {
@@ -110,9 +110,9 @@
}
clear__5Fid0();
//-->
-</script></form>
-
- </body>
+</script></form>
+
+ </body>
</html>]]>
</responseBody>
</response>
@@ -220,15 +220,15 @@
<![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>
<html lang="en">
-
- <head>
- <base href="http://localhost:8080/jsfWeb/useFormBean/output.jsp">
- </head>
- <body>
- submitted value: <span>a</span>
- <br/>
- <a href="/jsfWeb/useFormBean/begin.do">start over</a>
- </body>
+
+ <head>
+ <base href="http://localhost:8080/jsfWeb/useFormBean/output.jsp">
+ </head>
+ <body>
+ submitted value: <span>a</span>
+ <br/>
+ <a href="/jsfWeb/useFormBean/begin.do">start over</a>
+ </body>
</html>]]>
</responseBody>
@@ -310,30 +310,30 @@
<statusCode>200</statusCode>
<reason></reason>
<responseBody>
-<![CDATA[<html>
- <head>
- </head>
- <body>
- This is a test to ensure that sending a form bean from a JSF page to an action (where the
- action specifies useFormBean=<i>some member variable</i>) causes the page flow form bean
- member variable to be replaced with the one sent from the JSF page.
-
-
- <form id="_id0" name="_id0" method="post" action="/jsfWeb/useFormBean/input.faces" enctype="application/x-www-form-urlencoded">
- #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
- <br/>
- <br/>
-
-
- <input id="_id0:_id2" name="_id0:_id2" type="submit" value="send bean through attribute" onclick="clear__5Fid0();"/>
- <br/>
- <input id="_id0:_id3" name="_id0:_id3" type="submit" value="send bean through command handler" onclick="clear__5Fid0();"/>
- <br/>
-
-
- <a href="#" onclick="clear__5Fid0();document.forms['_id0'].elements['_id0:_link_hidden_'].value='_id0:_id4';if(document.forms['_id0'].onsubmit){document.forms['_id0'].onsubmit();}document.forms['_id0'].submit();return false;" id="_id0:_id4">send bean through attribute</a>
- <br/>
- <a href="#" onclick="clear__5Fid0();document.forms['_id0'].elements['_id0:_link_hidden_'].value='_id0:_id5';if(document.forms['_id0'].onsubmit){document.forms['_id0'].onsubmit();}document.forms['_id0'].submit();return false;" id="_id0:_id5">send bean through command handler</a>
+<![CDATA[<html>
+ <head>
+ </head>
+ <body>
+ This is a test to ensure that sending a form bean from a JSF page to an action (where the
+ action specifies useFormBean=<i>some member variable</i>) causes the page flow form bean
+ member variable to be replaced with the one sent from the JSF page.
+
+
+ <form id="_id0" name="_id0" method="post" action="/jsfWeb/useFormBean/input.faces" enctype="application/x-www-form-urlencoded">
+ #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
+ <br/>
+ <br/>
+
+
+ <input id="_id0:_id2" name="_id0:_id2" type="submit" value="send bean through attribute" onclick="clear__5Fid0();"/>
+ <br/>
+ <input id="_id0:_id3" name="_id0:_id3" type="submit" value="send bean through command handler" onclick="clear__5Fid0();"/>
+ <br/>
+
+
+ <a href="#" onclick="clear__5Fid0();document.forms['_id0'].elements['_id0:_link_hidden_'].value='_id0:_id4';if(document.forms['_id0'].onsubmit){document.forms['_id0'].onsubmit();}document.forms['_id0'].submit();return false;" id="_id0:_id4">send bean through attribute</a>
+ <br/>
+ <a href="#" onclick="clear__5Fid0();document.forms['_id0'].elements['_id0:_link_hidden_'].value='_id0:_id5';if(document.forms['_id0'].onsubmit){document.forms['_id0'].onsubmit();}document.forms['_id0'].submit();return false;" id="_id0:_id5">send bean through command handler</a>
<input type="hidden" name="_id0_SUBMIT" value="1"/><input type="hidden" name="_id0:_link_hidden_"/><script type="text/javascript">
<!--
function clear__5Fid0() {
@@ -343,9 +343,9 @@
}
clear__5Fid0();
//-->
-</script></form>
-
- </body>
+</script></form>
+
+ </body>
</html>]]>
</responseBody>
</response>
@@ -453,15 +453,15 @@
<![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>
<html lang="en">
-
- <head>
- <base href="http://localhost:8080/jsfWeb/useFormBean/output.jsp">
- </head>
- <body>
- submitted value: <span>b</span>
- <br/>
- <a href="/jsfWeb/useFormBean/begin.do">start over</a>
- </body>
+
+ <head>
+ <base href="http://localhost:8080/jsfWeb/useFormBean/output.jsp">
+ </head>
+ <body>
+ submitted value: <span>b</span>
+ <br/>
+ <a href="/jsfWeb/useFormBean/begin.do">start over</a>
+ </body>
</html>]]>
</responseBody>
@@ -543,30 +543,30 @@
<statusCode>200</statusCode>
<reason></reason>
<responseBody>
-<![CDATA[<html>
- <head>
- </head>
- <body>
- This is a test to ensure that sending a form bean from a JSF page to an action (where the
- action specifies useFormBean=<i>some member variable</i>) causes the page flow form bean
- member variable to be replaced with the one sent from the JSF page.
-
-
- <form id="_id0" name="_id0" method="post" action="/jsfWeb/useFormBean/input.faces" enctype="application/x-www-form-urlencoded">
- #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
- <br/>
- <br/>
-
-
- <input id="_id0:_id2" name="_id0:_id2" type="submit" value="send bean through attribute" onclick="clear__5Fid0();"/>
- <br/>
- <input id="_id0:_id3" name="_id0:_id3" type="submit" value="send bean through command handler" onclick="clear__5Fid0();"/>
- <br/>
-
-
- <a href="#" onclick="clear__5Fid0();document.forms['_id0'].elements['_id0:_link_hidden_'].value='_id0:_id4';if(document.forms['_id0'].onsubmit){document.forms['_id0'].onsubmit();}document.forms['_id0'].submit();return false;" id="_id0:_id4">send bean through attribute</a>
- <br/>
- <a href="#" onclick="clear__5Fid0();document.forms['_id0'].elements['_id0:_link_hidden_'].value='_id0:_id5';if(document.forms['_id0'].onsubmit){document.forms['_id0'].onsubmit();}document.forms['_id0'].submit();return false;" id="_id0:_id5">send bean through command handler</a>
+<![CDATA[<html>
+ <head>
+ </head>
+ <body>
+ This is a test to ensure that sending a form bean from a JSF page to an action (where the
+ action specifies useFormBean=<i>some member variable</i>) causes the page flow form bean
+ member variable to be replaced with the one sent from the JSF page.
+
+
+ <form id="_id0" name="_id0" method="post" action="/jsfWeb/useFormBean/input.faces" enctype="application/x-www-form-urlencoded">
+ #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
+ <br/>
+ <br/>
+
+
+ <input id="_id0:_id2" name="_id0:_id2" type="submit" value="send bean through attribute" onclick="clear__5Fid0();"/>
+ <br/>
+ <input id="_id0:_id3" name="_id0:_id3" type="submit" value="send bean through command handler" onclick="clear__5Fid0();"/>
+ <br/>
+
+
+ <a href="#" onclick="clear__5Fid0();document.forms['_id0'].elements['_id0:_link_hidden_'].value='_id0:_id4';if(document.forms['_id0'].onsubmit){document.forms['_id0'].onsubmit();}document.forms['_id0'].submit();return false;" id="_id0:_id4">send bean through attribute</a>
+ <br/>
+ <a href="#" onclick="clear__5Fid0();document.forms['_id0'].elements['_id0:_link_hidden_'].value='_id0:_id5';if(document.forms['_id0'].onsubmit){document.forms['_id0'].onsubmit();}document.forms['_id0'].submit();return false;" id="_id0:_id5">send bean through command handler</a>
<input type="hidden" name="_id0_SUBMIT" value="1"/><input type="hidden" name="_id0:_link_hidden_"/><script type="text/javascript">
<!--
function clear__5Fid0() {
@@ -576,9 +576,9 @@
}
clear__5Fid0();
//-->
-</script></form>
-
- </body>
+</script></form>
+
+ </body>
</html>]]>
</responseBody>
</response>
@@ -682,15 +682,15 @@
<![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>
<html lang="en">
-
- <head>
- <base href="http://localhost:8080/jsfWeb/useFormBean/output.jsp">
- </head>
- <body>
- submitted value: <span>c</span>
- <br/>
- <a href="/jsfWeb/useFormBean/begin.do">start over</a>
- </body>
+
+ <head>
+ <base href="http://localhost:8080/jsfWeb/useFormBean/output.jsp">
+ </head>
+ <body>
+ submitted value: <span>c</span>
+ <br/>
+ <a href="/jsfWeb/useFormBean/begin.do">start over</a>
+ </body>
</html>]]>
</responseBody>
@@ -772,30 +772,30 @@
<statusCode>200</statusCode>
<reason></reason>
<responseBody>
-<![CDATA[<html>
- <head>
- </head>
- <body>
- This is a test to ensure that sending a form bean from a JSF page to an action (where the
- action specifies useFormBean=<i>some member variable</i>) causes the page flow form bean
- member variable to be replaced with the one sent from the JSF page.
-
-
- <form id="_id0" name="_id0" method="post" action="/jsfWeb/useFormBean/input.faces" enctype="application/x-www-form-urlencoded">
- #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
- <br/>
- <br/>
-
-
- <input id="_id0:_id2" name="_id0:_id2" type="submit" value="send bean through attribute" onclick="clear__5Fid0();"/>
- <br/>
- <input id="_id0:_id3" name="_id0:_id3" type="submit" value="send bean through command handler" onclick="clear__5Fid0();"/>
- <br/>
-
-
- <a href="#" onclick="clear__5Fid0();document.forms['_id0'].elements['_id0:_link_hidden_'].value='_id0:_id4';if(document.forms['_id0'].onsubmit){document.forms['_id0'].onsubmit();}document.forms['_id0'].submit();return false;" id="_id0:_id4">send bean through attribute</a>
- <br/>
- <a href="#" onclick="clear__5Fid0();document.forms['_id0'].elements['_id0:_link_hidden_'].value='_id0:_id5';if(document.forms['_id0'].onsubmit){document.forms['_id0'].onsubmit();}document.forms['_id0'].submit();return false;" id="_id0:_id5">send bean through command handler</a>
+<![CDATA[<html>
+ <head>
+ </head>
+ <body>
+ This is a test to ensure that sending a form bean from a JSF page to an action (where the
+ action specifies useFormBean=<i>some member variable</i>) causes the page flow form bean
+ member variable to be replaced with the one sent from the JSF page.
+
+
+ <form id="_id0" name="_id0" method="post" action="/jsfWeb/useFormBean/input.faces" enctype="application/x-www-form-urlencoded">
+ #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
+ <br/>
+ <br/>
+
+
+ <input id="_id0:_id2" name="_id0:_id2" type="submit" value="send bean through attribute" onclick="clear__5Fid0();"/>
+ <br/>
+ <input id="_id0:_id3" name="_id0:_id3" type="submit" value="send bean through command handler" onclick="clear__5Fid0();"/>
+ <br/>
+
+
+ <a href="#" onclick="clear__5Fid0();document.forms['_id0'].elements['_id0:_link_hidden_'].value='_id0:_id4';if(document.forms['_id0'].onsubmit){document.forms['_id0'].onsubmit();}document.forms['_id0'].submit();return false;" id="_id0:_id4">send bean through attribute</a>
+ <br/>
+ <a href="#" onclick="clear__5Fid0();document.forms['_id0'].elements['_id0:_link_hidden_'].value='_id0:_id5';if(document.forms['_id0'].onsubmit){document.forms['_id0'].onsubmit();}document.forms['_id0'].submit();return false;" id="_id0:_id5">send bean through command handler</a>
<input type="hidden" name="_id0_SUBMIT" value="1"/><input type="hidden" name="_id0:_link_hidden_"/><script type="text/javascript">
<!--
function clear__5Fid0() {
@@ -805,9 +805,9 @@
}
clear__5Fid0();
//-->
-</script></form>
-
- </body>
+</script></form>
+
+ </body>
</html>]]>
</responseBody>
</response>
@@ -911,15 +911,15 @@
<![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>
<html lang="en">
-
- <head>
- <base href="http://localhost:8080/jsfWeb/useFormBean/output.jsp">
- </head>
- <body>
- submitted value: <span>d</span>
- <br/>
- <a href="/jsfWeb/useFormBean/begin.do">start over</a>
- </body>
+
+ <head>
+ <base href="http://localhost:8080/jsfWeb/useFormBean/output.jsp">
+ </head>
+ <body>
+ submitted value: <span>d</span>
+ <br/>
+ <a href="/jsfWeb/useFormBean/begin.do">start over</a>
+ </body>
</html>]]>
</responseBody>
@@ -1001,30 +1001,30 @@
<statusCode>200</statusCode>
<reason></reason>
<responseBody>
-<![CDATA[<html>
- <head>
- </head>
- <body>
- This is a test to ensure that sending a form bean from a JSF page to an action (where the
- action specifies useFormBean=<i>some member variable</i>) causes the page flow form bean
- member variable to be replaced with the one sent from the JSF page.
-
-
- <form id="_id0" name="_id0" method="post" action="/jsfWeb/useFormBean/input.faces" enctype="application/x-www-form-urlencoded">
- #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
- <br/>
- <br/>
-
-
- <input id="_id0:_id2" name="_id0:_id2" type="submit" value="send bean through attribute" onclick="clear__5Fid0();"/>
- <br/>
- <input id="_id0:_id3" name="_id0:_id3" type="submit" value="send bean through command handler" onclick="clear__5Fid0();"/>
- <br/>
-
-
- <a href="#" onclick="clear__5Fid0();document.forms['_id0'].elements['_id0:_link_hidden_'].value='_id0:_id4';if(document.forms['_id0'].onsubmit){document.forms['_id0'].onsubmit();}document.forms['_id0'].submit();return false;" id="_id0:_id4">send bean through attribute</a>
- <br/>
- <a href="#" onclick="clear__5Fid0();document.forms['_id0'].elements['_id0:_link_hidden_'].value='_id0:_id5';if(document.forms['_id0'].onsubmit){document.forms['_id0'].onsubmit();}document.forms['_id0'].submit();return false;" id="_id0:_id5">send bean through command handler</a>
+<![CDATA[<html>
+ <head>
+ </head>
+ <body>
+ This is a test to ensure that sending a form bean from a JSF page to an action (where the
+ action specifies useFormBean=<i>some member variable</i>) causes the page flow form bean
+ member variable to be replaced with the one sent from the JSF page.
+
+
+ <form id="_id0" name="_id0" method="post" action="/jsfWeb/useFormBean/input.faces" enctype="application/x-www-form-urlencoded">
+ #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
+ <br/>
+ <br/>
+
+
+ <input id="_id0:_id2" name="_id0:_id2" type="submit" value="send bean through attribute" onclick="clear__5Fid0();"/>
+ <br/>
+ <input id="_id0:_id3" name="_id0:_id3" type="submit" value="send bean through command handler" onclick="clear__5Fid0();"/>
+ <br/>
+
+
+ <a href="#" onclick="clear__5Fid0();document.forms['_id0'].elements['_id0:_link_hidden_'].value='_id0:_id4';if(document.forms['_id0'].onsubmit){document.forms['_id0'].onsubmit();}document.forms['_id0'].submit();return false;" id="_id0:_id4">send bean through attribute</a>
+ <br/>
+ <a href="#" onclick="clear__5Fid0();document.forms['_id0'].elements['_id0:_link_hidden_'].value='_id0:_id5';if(document.forms['_id0'].onsubmit){document.forms['_id0'].onsubmit();}document.forms['_id0'].submit();return false;" id="_id0:_id5">send bean through command handler</a>
<input type="hidden" name="_id0_SUBMIT" value="1"/><input type="hidden" name="_id0:_link_hidden_"/><script type="text/javascript">
<!--
function clear__5Fid0() {
@@ -1034,9 +1034,9 @@
}
clear__5Fid0();
//-->
-</script></form>
-
- </body>
+</script></form>
+
+ </body>
</html>]]>
</responseBody>
</response>
Propchange: beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/UseFormBean.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/jsf/web/jpfFaces/JpfFacesController.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/jsf/web/jpfFaces/JpfFacesController.java?rev=405798&r1=405797&r2=405798&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/web/jpfFaces/JpfFacesController.java (original)
+++ beehive/trunk/netui/test/webapps/jsf/web/jpfFaces/JpfFacesController.java Wed May 10 09:49:14 2006
@@ -15,57 +15,57 @@
*
* $Header:$
*/
-package jpfFaces;
-
-import org.apache.beehive.netui.pageflow.*;
-import org.apache.beehive.netui.pageflow.annotations.Jpf;
-
-@Jpf.Controller
-public class JpfFacesController extends PageFlowController
-{
- public static class BarForm extends FormData
- {
- private String _bar;
-
- public void setBar( String bar )
- {
- _bar = bar;
- }
-
- public String getBar()
- {
- return _bar;
- }
- }
-
- @Jpf.Action(forwards=@Jpf.Forward(name="page1", path="page1.faces"))
- public Forward begin()
- {
- return new Forward( "page1" );
- }
-
- @Jpf.Action(forwards=@Jpf.Forward(name="page1", path="page1.faces"))
- public Forward go1()
- {
- return new Forward( "page1" );
- }
-
- @Jpf.Action(forwards=@Jpf.Forward(name="page2", path="page2.faces"))
- public Forward go2( BarForm form )
- {
- getRequest().setAttribute( "message", "got form; bar was '" + form.getBar() + "'" );
- return new Forward( "page2" );
- }
-
- @Jpf.Action(forwards=@Jpf.Forward(name="page3", path="page3.faces"))
- public Forward go3()
- {
- return new Forward( "page3" );
- }
-
- @Jpf.Action(forwards=@Jpf.Forward(name="page4", path="page4.faces"))
- public Forward go4()
- {
- return new Forward( "page4" );
- }
-}
+package jpfFaces;
+
+import org.apache.beehive.netui.pageflow.*;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+
+@Jpf.Controller
+public class JpfFacesController extends PageFlowController
+{
+ public static class BarForm extends FormData
+ {
+ private String _bar;
+
+ public void setBar( String bar )
+ {
+ _bar = bar;
+ }
+
+ public String getBar()
+ {
+ return _bar;
+ }
+ }
+
+ @Jpf.Action(forwards=@Jpf.Forward(name="page1", path="page1.faces"))
+ public Forward begin()
+ {
+ return new Forward( "page1" );
+ }
+
+ @Jpf.Action(forwards=@Jpf.Forward(name="page1", path="page1.faces"))
+ public Forward go1()
+ {
+ return new Forward( "page1" );
+ }
+
+ @Jpf.Action(forwards=@Jpf.Forward(name="page2", path="page2.faces"))
+ public Forward go2( BarForm form )
+ {
+ getRequest().setAttribute( "message", "got form; bar was '" + form.getBar() + "'" );
+ return new Forward( "page2" );
+ }
+
+ @Jpf.Action(forwards=@Jpf.Forward(name="page3", path="page3.faces"))
+ public Forward go3()
+ {
+ return new Forward( "page3" );
+ }
+
+ @Jpf.Action(forwards=@Jpf.Forward(name="page4", path="page4.faces"))
+ public Forward go4()
+ {
+ return new Forward( "page4" );
+ }
+}
Propchange: beehive/trunk/netui/test/webapps/jsf/web/jpfFaces/JpfFacesController.java
------------------------------------------------------------------------------
svn:eol-style = native