beehive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r330357 [1/2] - in /beehive/trunk/netui/test/webapps/jsf: testRecorder/config/ testRecorder/tests-jsf-ri/ testRecorder/tests-myfaces/ web/useFormBean/
Date Wed, 02 Nov 2005 20:47:34 GMT
Author: rich
Date: Wed Nov  2 12:47:28 2005
New Revision: 330357

URL: http://svn.apache.org/viewcvs?rev=330357&view=rev
Log:
Added a test to ensure that the useFormBean attribute on a Page Flow action works correctly with form beans sent from JSF pages.

tests: bvt.jsf-ri, bvt.myfaces in netui/test/webapps/jsf (WinXP)
BB: same (linux)


Added:
    beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-jsf-ri/UseFormBean.xml
    beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/UseFormBean.xml
    beehive/trunk/netui/test/webapps/jsf/web/useFormBean/
    beehive/trunk/netui/test/webapps/jsf/web/useFormBean/Controller.java   (with props)
    beehive/trunk/netui/test/webapps/jsf/web/useFormBean/input.java   (with props)
    beehive/trunk/netui/test/webapps/jsf/web/useFormBean/input.jsp   (with props)
    beehive/trunk/netui/test/webapps/jsf/web/useFormBean/output.jsp   (with props)
Modified:
    beehive/trunk/netui/test/webapps/jsf/testRecorder/config/testRecorder-tests.xml
    beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/SubmitFormBean.xml

Modified: beehive/trunk/netui/test/webapps/jsf/testRecorder/config/testRecorder-tests.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/jsf/testRecorder/config/testRecorder-tests.xml?rev=330357&r1=330356&r2=330357&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/testRecorder/config/testRecorder-tests.xml (original)
+++ beehive/trunk/netui/test/webapps/jsf/testRecorder/config/testRecorder-tests.xml Wed Nov  2 12:47:28 2005
@@ -144,6 +144,16 @@
             <webapp>jsfWeb</webapp>
             <categories>
                 <category>drt</category>
+                <category>bvt</category>
+            </categories>
+        </test>
+        <test>
+            <name>UseFormBean</name>
+            <description>Test to ensure that sending a form bean from a JSF page to an action (where the action specifies useFormBean=some member variable) causes the page flow form bean member variable to be replaced with the one sent from the JSF page.</description>
+            <webapp>jsfWeb</webapp>
+            <categories>
+                <category>drt</category>
+                <category>bvt</category>
             </categories>
         </test>
     </tests>

Added: beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-jsf-ri/UseFormBean.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-jsf-ri/UseFormBean.xml?rev=330357&view=auto
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-jsf-ri/UseFormBean.xml (added)
+++ beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-jsf-ri/UseFormBean.xml Wed Nov  2 12:47:28 2005
@@ -0,0 +1,899 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<recorderSession xmlns="http://beehive.apache.org/netui/tools/testrecorder/2004/session">
+<sessionName>UseFormBean</sessionName>
+<tester>rich</tester>
+<startDate>02 Nov 2005, 01:36:10.446 PM MST</startDate>
+<description>Test to ensure that sending a form bean from a JSF page to an action (where the action specifies useFormBean=some member variable) causes the page flow form bean member variable to be replaced with the one sent from the JSF page.</description>
+<tests>
+<test>
+<testNumber>1</testNumber>
+<request>
+<protocol>HTTP</protocol>
+<protocolVersion>1.1</protocolVersion>
+<host>localhost</host>
+<port>8080</port>
+<uri>/jsfWeb/useFormBean/Controller.jpf</uri>
+<method>GET</method>
+<parameters>
+</parameters>
+<cookies>
+<cookie>
+<name>JSESSIONID</name>
+<value>3C988732AC2BD4FB9E7711E1941F0AD2</value>
+</cookie>
+<cookie>
+<name>Country</name>
+<value>US</value>
+</cookie>
+<cookie>
+<name>nde-textsize</name>
+<value>16px</value>
+</cookie>
+<cookie>
+<name>Language</name>
+<value>en</value>
+</cookie>
+</cookies>
+<headers>
+<header>
+<name>accept</name>
+<value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</value>
+</header>
+<header>
+<name>accept-charset</name>
+<value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</value>
+</header>
+<header>
+<name>accept-encoding</name>
+<value>gzip,deflate</value>
+</header>
+<header>
+<name>accept-language</name>
+<value>en-us,en;q=0.7,ja;q=0.3</value>
+</header>
+<header>
+<name>connection</name>
+<value>keep-alive</value>
+</header>
+<header>
+<name>cookie</name>
+<value>JSESSIONID=3C988732AC2BD4FB9E7711E1941F0AD2; Country=US; nde-textsize=16px; Language=en</value>
+</header>
+<header>
+<name>host</name>
+<value>localhost:8080</value>
+</header>
+<header>
+<name>keep-alive</name>
+<value>300</value>
+</header>
+<header>
+<name>user-agent</name>
+<value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051025 Firefox/1.5</value>
+</header>
+</headers>
+</request>
+<response>
+<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" method="post" action="/jsfWeb/useFormBean/input.faces" enctype="application/x-www-form-urlencoded">
+
+                #{backing.theForm.foo}: <input type="text" name="_id0:_id1" />
+                <br/>
+                <br/>
+                <input type="submit" name="_id0:_id2" value="send bean through attribute" />
+                    
+                
+                <br/>
+                <input type="submit" name="_id0:_id3" value="send bean through command handler" />
+                <br/>
+                
+                    
+                <a href="#" onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id4'; document.forms['_id0'].submit(); return false;">send bean through attribute</a>
+                <br/>
+                <a href="#" onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id5'; document.forms['_id0'].submit(); return false;">send bean through command handler</a>
+            <input type="hidden" name="_id0" value="_id0" /><input type="hidden" name="_id0:_idcl" /></form>
+        
+    </body>
+</html>]]>
+</responseBody>
+</response>
+</test>
+<test>
+<testNumber>2</testNumber>
+<request>
+<protocol>HTTP</protocol>
+<protocolVersion>1.1</protocolVersion>
+<host>localhost</host>
+<port>8080</port>
+<uri>/jsfWeb/useFormBean/input.faces</uri>
+<method>POST</method>
+<parameters>
+<parameter>
+<name>_id0</name>
+<value>_id0</value>
+</parameter>
+<parameter>
+<name>_id0:_id1</name>
+<value>a</value>
+</parameter>
+<parameter>
+<name>_id0:_id2</name>
+<value>send bean through attribute</value>
+</parameter>
+<parameter>
+<name>_id0:_idcl</name>
+<value></value>
+</parameter>
+</parameters>
+<cookies>
+<cookie>
+<name>JSESSIONID</name>
+<value>3C988732AC2BD4FB9E7711E1941F0AD2</value>
+</cookie>
+<cookie>
+<name>Country</name>
+<value>US</value>
+</cookie>
+<cookie>
+<name>nde-textsize</name>
+<value>16px</value>
+</cookie>
+<cookie>
+<name>Language</name>
+<value>en</value>
+</cookie>
+</cookies>
+<headers>
+<header>
+<name>accept</name>
+<value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</value>
+</header>
+<header>
+<name>accept-charset</name>
+<value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</value>
+</header>
+<header>
+<name>accept-encoding</name>
+<value>gzip,deflate</value>
+</header>
+<header>
+<name>accept-language</name>
+<value>en-us,en;q=0.7,ja;q=0.3</value>
+</header>
+<header>
+<name>connection</name>
+<value>keep-alive</value>
+</header>
+<header>
+<name>content-length</name>
+<value>77</value>
+</header>
+<header>
+<name>content-type</name>
+<value>application/x-www-form-urlencoded</value>
+</header>
+<header>
+<name>cookie</name>
+<value>JSESSIONID=3C988732AC2BD4FB9E7711E1941F0AD2; Country=US; nde-textsize=16px; Language=en</value>
+</header>
+<header>
+<name>host</name>
+<value>localhost:8080</value>
+</header>
+<header>
+<name>keep-alive</name>
+<value>300</value>
+</header>
+<header>
+<name>referer</name>
+<value>http://localhost:8080/jsfWeb/useFormBean/Controller.jpf</value>
+</header>
+<header>
+<name>user-agent</name>
+<value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051025 Firefox/1.5</value>
+</header>
+</headers>
+</request>
+<response>
+<statusCode>200</statusCode>
+<reason></reason>
+<responseBody>
+<![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>
+
+</html>]]>
+</responseBody>
+</response>
+</test>
+<test>
+<testNumber>3</testNumber>
+<request>
+<protocol>HTTP</protocol>
+<protocolVersion>1.1</protocolVersion>
+<host>localhost</host>
+<port>8080</port>
+<uri>/jsfWeb/useFormBean/begin.do</uri>
+<method>GET</method>
+<parameters>
+</parameters>
+<cookies>
+<cookie>
+<name>JSESSIONID</name>
+<value>3C988732AC2BD4FB9E7711E1941F0AD2</value>
+</cookie>
+<cookie>
+<name>Country</name>
+<value>US</value>
+</cookie>
+<cookie>
+<name>nde-textsize</name>
+<value>16px</value>
+</cookie>
+<cookie>
+<name>Language</name>
+<value>en</value>
+</cookie>
+</cookies>
+<headers>
+<header>
+<name>accept</name>
+<value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</value>
+</header>
+<header>
+<name>accept-charset</name>
+<value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</value>
+</header>
+<header>
+<name>accept-encoding</name>
+<value>gzip,deflate</value>
+</header>
+<header>
+<name>accept-language</name>
+<value>en-us,en;q=0.7,ja;q=0.3</value>
+</header>
+<header>
+<name>connection</name>
+<value>keep-alive</value>
+</header>
+<header>
+<name>cookie</name>
+<value>JSESSIONID=3C988732AC2BD4FB9E7711E1941F0AD2; Country=US; nde-textsize=16px; Language=en</value>
+</header>
+<header>
+<name>host</name>
+<value>localhost:8080</value>
+</header>
+<header>
+<name>keep-alive</name>
+<value>300</value>
+</header>
+<header>
+<name>referer</name>
+<value>http://localhost:8080/jsfWeb/useFormBean/input.faces</value>
+</header>
+<header>
+<name>user-agent</name>
+<value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051025 Firefox/1.5</value>
+</header>
+</headers>
+</request>
+<response>
+<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" method="post" action="/jsfWeb/useFormBean/input.faces" enctype="application/x-www-form-urlencoded">
+
+                #{backing.theForm.foo}: <input type="text" name="_id0:_id1" />
+                <br/>
+                <br/>
+                <input type="submit" name="_id0:_id2" value="send bean through attribute" />
+                    
+                
+                <br/>
+                <input type="submit" name="_id0:_id3" value="send bean through command handler" />
+                <br/>
+                
+                    
+                <a href="#" onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id4'; document.forms['_id0'].submit(); return false;">send bean through attribute</a>
+                <br/>
+                <a href="#" onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id5'; document.forms['_id0'].submit(); return false;">send bean through command handler</a>
+            <input type="hidden" name="_id0" value="_id0" /><input type="hidden" name="_id0:_idcl" /></form>
+        
+    </body>
+</html>]]>
+</responseBody>
+</response>
+</test>
+<test>
+<testNumber>4</testNumber>
+<request>
+<protocol>HTTP</protocol>
+<protocolVersion>1.1</protocolVersion>
+<host>localhost</host>
+<port>8080</port>
+<uri>/jsfWeb/useFormBean/input.faces</uri>
+<method>POST</method>
+<parameters>
+<parameter>
+<name>_id0</name>
+<value>_id0</value>
+</parameter>
+<parameter>
+<name>_id0:_id1</name>
+<value>b</value>
+</parameter>
+<parameter>
+<name>_id0:_id3</name>
+<value>send bean through command handler</value>
+</parameter>
+<parameter>
+<name>_id0:_idcl</name>
+<value></value>
+</parameter>
+</parameters>
+<cookies>
+<cookie>
+<name>JSESSIONID</name>
+<value>3C988732AC2BD4FB9E7711E1941F0AD2</value>
+</cookie>
+<cookie>
+<name>Country</name>
+<value>US</value>
+</cookie>
+<cookie>
+<name>nde-textsize</name>
+<value>16px</value>
+</cookie>
+<cookie>
+<name>Language</name>
+<value>en</value>
+</cookie>
+</cookies>
+<headers>
+<header>
+<name>accept</name>
+<value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</value>
+</header>
+<header>
+<name>accept-charset</name>
+<value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</value>
+</header>
+<header>
+<name>accept-encoding</name>
+<value>gzip,deflate</value>
+</header>
+<header>
+<name>accept-language</name>
+<value>en-us,en;q=0.7,ja;q=0.3</value>
+</header>
+<header>
+<name>connection</name>
+<value>keep-alive</value>
+</header>
+<header>
+<name>content-length</name>
+<value>83</value>
+</header>
+<header>
+<name>content-type</name>
+<value>application/x-www-form-urlencoded</value>
+</header>
+<header>
+<name>cookie</name>
+<value>JSESSIONID=3C988732AC2BD4FB9E7711E1941F0AD2; Country=US; nde-textsize=16px; Language=en</value>
+</header>
+<header>
+<name>host</name>
+<value>localhost:8080</value>
+</header>
+<header>
+<name>keep-alive</name>
+<value>300</value>
+</header>
+<header>
+<name>referer</name>
+<value>http://localhost:8080/jsfWeb/useFormBean/begin.do</value>
+</header>
+<header>
+<name>user-agent</name>
+<value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051025 Firefox/1.5</value>
+</header>
+</headers>
+</request>
+<response>
+<statusCode>200</statusCode>
+<reason></reason>
+<responseBody>
+<![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>
+
+</html>]]>
+</responseBody>
+</response>
+</test>
+<test>
+<testNumber>5</testNumber>
+<request>
+<protocol>HTTP</protocol>
+<protocolVersion>1.1</protocolVersion>
+<host>localhost</host>
+<port>8080</port>
+<uri>/jsfWeb/useFormBean/begin.do</uri>
+<method>GET</method>
+<parameters>
+</parameters>
+<cookies>
+<cookie>
+<name>JSESSIONID</name>
+<value>3C988732AC2BD4FB9E7711E1941F0AD2</value>
+</cookie>
+<cookie>
+<name>Country</name>
+<value>US</value>
+</cookie>
+<cookie>
+<name>nde-textsize</name>
+<value>16px</value>
+</cookie>
+<cookie>
+<name>Language</name>
+<value>en</value>
+</cookie>
+</cookies>
+<headers>
+<header>
+<name>accept</name>
+<value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</value>
+</header>
+<header>
+<name>accept-charset</name>
+<value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</value>
+</header>
+<header>
+<name>accept-encoding</name>
+<value>gzip,deflate</value>
+</header>
+<header>
+<name>accept-language</name>
+<value>en-us,en;q=0.7,ja;q=0.3</value>
+</header>
+<header>
+<name>connection</name>
+<value>keep-alive</value>
+</header>
+<header>
+<name>cookie</name>
+<value>JSESSIONID=3C988732AC2BD4FB9E7711E1941F0AD2; Country=US; nde-textsize=16px; Language=en</value>
+</header>
+<header>
+<name>host</name>
+<value>localhost:8080</value>
+</header>
+<header>
+<name>keep-alive</name>
+<value>300</value>
+</header>
+<header>
+<name>referer</name>
+<value>http://localhost:8080/jsfWeb/useFormBean/input.faces</value>
+</header>
+<header>
+<name>user-agent</name>
+<value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051025 Firefox/1.5</value>
+</header>
+</headers>
+</request>
+<response>
+<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" method="post" action="/jsfWeb/useFormBean/input.faces" enctype="application/x-www-form-urlencoded">
+
+                #{backing.theForm.foo}: <input type="text" name="_id0:_id1" />
+                <br/>
+                <br/>
+                <input type="submit" name="_id0:_id2" value="send bean through attribute" />
+                    
+                
+                <br/>
+                <input type="submit" name="_id0:_id3" value="send bean through command handler" />
+                <br/>
+                
+                    
+                <a href="#" onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id4'; document.forms['_id0'].submit(); return false;">send bean through attribute</a>
+                <br/>
+                <a href="#" onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id5'; document.forms['_id0'].submit(); return false;">send bean through command handler</a>
+            <input type="hidden" name="_id0" value="_id0" /><input type="hidden" name="_id0:_idcl" /></form>
+        
+    </body>
+</html>]]>
+</responseBody>
+</response>
+</test>
+<test>
+<testNumber>6</testNumber>
+<request>
+<protocol>HTTP</protocol>
+<protocolVersion>1.1</protocolVersion>
+<host>localhost</host>
+<port>8080</port>
+<uri>/jsfWeb/useFormBean/input.faces</uri>
+<method>POST</method>
+<parameters>
+<parameter>
+<name>_id0</name>
+<value>_id0</value>
+</parameter>
+<parameter>
+<name>_id0:_id1</name>
+<value>c</value>
+</parameter>
+<parameter>
+<name>_id0:_idcl</name>
+<value>_id0:_id4</value>
+</parameter>
+</parameters>
+<cookies>
+<cookie>
+<name>JSESSIONID</name>
+<value>3C988732AC2BD4FB9E7711E1941F0AD2</value>
+</cookie>
+<cookie>
+<name>Country</name>
+<value>US</value>
+</cookie>
+<cookie>
+<name>nde-textsize</name>
+<value>16px</value>
+</cookie>
+<cookie>
+<name>Language</name>
+<value>en</value>
+</cookie>
+</cookies>
+<headers>
+<header>
+<name>accept</name>
+<value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</value>
+</header>
+<header>
+<name>accept-charset</name>
+<value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</value>
+</header>
+<header>
+<name>accept-encoding</name>
+<value>gzip,deflate</value>
+</header>
+<header>
+<name>accept-language</name>
+<value>en-us,en;q=0.7,ja;q=0.3</value>
+</header>
+<header>
+<name>connection</name>
+<value>keep-alive</value>
+</header>
+<header>
+<name>content-length</name>
+<value>48</value>
+</header>
+<header>
+<name>content-type</name>
+<value>application/x-www-form-urlencoded</value>
+</header>
+<header>
+<name>cookie</name>
+<value>JSESSIONID=3C988732AC2BD4FB9E7711E1941F0AD2; Country=US; nde-textsize=16px; Language=en</value>
+</header>
+<header>
+<name>host</name>
+<value>localhost:8080</value>
+</header>
+<header>
+<name>keep-alive</name>
+<value>300</value>
+</header>
+<header>
+<name>referer</name>
+<value>http://localhost:8080/jsfWeb/useFormBean/begin.do</value>
+</header>
+<header>
+<name>user-agent</name>
+<value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051025 Firefox/1.5</value>
+</header>
+</headers>
+</request>
+<response>
+<statusCode>200</statusCode>
+<reason></reason>
+<responseBody>
+<![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>
+
+</html>]]>
+</responseBody>
+</response>
+</test>
+<test>
+<testNumber>7</testNumber>
+<request>
+<protocol>HTTP</protocol>
+<protocolVersion>1.1</protocolVersion>
+<host>localhost</host>
+<port>8080</port>
+<uri>/jsfWeb/useFormBean/begin.do</uri>
+<method>GET</method>
+<parameters>
+</parameters>
+<cookies>
+<cookie>
+<name>JSESSIONID</name>
+<value>3C988732AC2BD4FB9E7711E1941F0AD2</value>
+</cookie>
+<cookie>
+<name>Country</name>
+<value>US</value>
+</cookie>
+<cookie>
+<name>nde-textsize</name>
+<value>16px</value>
+</cookie>
+<cookie>
+<name>Language</name>
+<value>en</value>
+</cookie>
+</cookies>
+<headers>
+<header>
+<name>accept</name>
+<value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</value>
+</header>
+<header>
+<name>accept-charset</name>
+<value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</value>
+</header>
+<header>
+<name>accept-encoding</name>
+<value>gzip,deflate</value>
+</header>
+<header>
+<name>accept-language</name>
+<value>en-us,en;q=0.7,ja;q=0.3</value>
+</header>
+<header>
+<name>connection</name>
+<value>keep-alive</value>
+</header>
+<header>
+<name>cookie</name>
+<value>JSESSIONID=3C988732AC2BD4FB9E7711E1941F0AD2; Country=US; nde-textsize=16px; Language=en</value>
+</header>
+<header>
+<name>host</name>
+<value>localhost:8080</value>
+</header>
+<header>
+<name>keep-alive</name>
+<value>300</value>
+</header>
+<header>
+<name>referer</name>
+<value>http://localhost:8080/jsfWeb/useFormBean/input.faces</value>
+</header>
+<header>
+<name>user-agent</name>
+<value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051025 Firefox/1.5</value>
+</header>
+</headers>
+</request>
+<response>
+<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" method="post" action="/jsfWeb/useFormBean/input.faces" enctype="application/x-www-form-urlencoded">
+
+                #{backing.theForm.foo}: <input type="text" name="_id0:_id1" />
+                <br/>
+                <br/>
+                <input type="submit" name="_id0:_id2" value="send bean through attribute" />
+                    
+                
+                <br/>
+                <input type="submit" name="_id0:_id3" value="send bean through command handler" />
+                <br/>
+                
+                    
+                <a href="#" onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id4'; document.forms['_id0'].submit(); return false;">send bean through attribute</a>
+                <br/>
+                <a href="#" onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id5'; document.forms['_id0'].submit(); return false;">send bean through command handler</a>
+            <input type="hidden" name="_id0" value="_id0" /><input type="hidden" name="_id0:_idcl" /></form>
+        
+    </body>
+</html>]]>
+</responseBody>
+</response>
+</test>
+<test>
+<testNumber>8</testNumber>
+<request>
+<protocol>HTTP</protocol>
+<protocolVersion>1.1</protocolVersion>
+<host>localhost</host>
+<port>8080</port>
+<uri>/jsfWeb/useFormBean/input.faces</uri>
+<method>POST</method>
+<parameters>
+<parameter>
+<name>_id0</name>
+<value>_id0</value>
+</parameter>
+<parameter>
+<name>_id0:_id1</name>
+<value>d</value>
+</parameter>
+<parameter>
+<name>_id0:_idcl</name>
+<value>_id0:_id5</value>
+</parameter>
+</parameters>
+<cookies>
+<cookie>
+<name>JSESSIONID</name>
+<value>3C988732AC2BD4FB9E7711E1941F0AD2</value>
+</cookie>
+<cookie>
+<name>Country</name>
+<value>US</value>
+</cookie>
+<cookie>
+<name>nde-textsize</name>
+<value>16px</value>
+</cookie>
+<cookie>
+<name>Language</name>
+<value>en</value>
+</cookie>
+</cookies>
+<headers>
+<header>
+<name>accept</name>
+<value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</value>
+</header>
+<header>
+<name>accept-charset</name>
+<value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</value>
+</header>
+<header>
+<name>accept-encoding</name>
+<value>gzip,deflate</value>
+</header>
+<header>
+<name>accept-language</name>
+<value>en-us,en;q=0.7,ja;q=0.3</value>
+</header>
+<header>
+<name>connection</name>
+<value>keep-alive</value>
+</header>
+<header>
+<name>content-length</name>
+<value>48</value>
+</header>
+<header>
+<name>content-type</name>
+<value>application/x-www-form-urlencoded</value>
+</header>
+<header>
+<name>cookie</name>
+<value>JSESSIONID=3C988732AC2BD4FB9E7711E1941F0AD2; Country=US; nde-textsize=16px; Language=en</value>
+</header>
+<header>
+<name>host</name>
+<value>localhost:8080</value>
+</header>
+<header>
+<name>keep-alive</name>
+<value>300</value>
+</header>
+<header>
+<name>referer</name>
+<value>http://localhost:8080/jsfWeb/useFormBean/begin.do</value>
+</header>
+<header>
+<name>user-agent</name>
+<value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051025 Firefox/1.5</value>
+</header>
+</headers>
+</request>
+<response>
+<statusCode>200</statusCode>
+<reason></reason>
+<responseBody>
+<![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>
+
+</html>]]>
+</responseBody>
+</response>
+</test>
+</tests>
+<endDate>02 Nov 2005, 01:36:28.191 PM MST</endDate>
+<testCount>8</testCount>
+</recorderSession>

Modified: beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/SubmitFormBean.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/SubmitFormBean.xml?rev=330357&r1=330356&r2=330357&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/SubmitFormBean.xml (original)
+++ beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/SubmitFormBean.xml Wed Nov  2 12:47:28 2005
@@ -1,95 +1,109 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session">
-   <ses:sessionName>SubmitFormBean</ses:sessionName>
-   <ses:tester>rich</ses:tester>
-   <ses:startDate>13 Feb 2005, 01:37:34.240 PM MST</ses:startDate>
-   <ses:description>Test of sending a form bean to a Page Flow action in two ways: (1) through the "submitFormBean" attribute (f:attribute tag) inside of h:commandLink or h:commandButton, or (2) through an 'outputFormBean' attribute on @Jpf.RaiseAction in a backing file command handler.</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>/jsfWeb/submitFormBean/Controller.jpf</ses:uri>
-            <ses:method>GET</ses:method>
-            <ses:parameters/>
-            <ses:cookies>
-               <ses:cookie>
-                  <ses:name>JSESSIONID</ses:name>
-                  <ses:value>1776E558464A706481F9E143F58C6BFC</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=1776E558464A706481F9E143F58C6BFC</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>&lt;html>
-    &lt;head>
-    &lt;/head>
-    &lt;body>
+<recorderSession xmlns="http://beehive.apache.org/netui/tools/testrecorder/2004/session">
+<sessionName>SubmitFormBean</sessionName>
+<tester>rich</tester>
+<startDate>02 Nov 2005, 01:44:37.535 PM MST</startDate>
+<description>Test of sending a form bean to a Page Flow action in two ways: (1) through the "submitFormBean" attribute (f:attribute tag) inside of h:commandLink or h:commandButton, or (2) through an 'outputFormBean' attribute on @Jpf.RaiseAction in a backing file command handler.</description>
+<tests>
+<test>
+<testNumber>1</testNumber>
+<request>
+<protocol>HTTP</protocol>
+<protocolVersion>1.1</protocolVersion>
+<host>localhost</host>
+<port>8080</port>
+<uri>/jsfWeb/submitFormBean/Controller.jpf</uri>
+<method>GET</method>
+<parameters>
+</parameters>
+<cookies>
+<cookie>
+<name>JSESSIONID</name>
+<value>250210BDAD6109204529B798FDC8CFF4</value>
+</cookie>
+<cookie>
+<name>Country</name>
+<value>US</value>
+</cookie>
+<cookie>
+<name>nde-textsize</name>
+<value>16px</value>
+</cookie>
+<cookie>
+<name>Language</name>
+<value>en</value>
+</cookie>
+</cookies>
+<headers>
+<header>
+<name>accept</name>
+<value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</value>
+</header>
+<header>
+<name>accept-charset</name>
+<value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</value>
+</header>
+<header>
+<name>accept-encoding</name>
+<value>gzip,deflate</value>
+</header>
+<header>
+<name>accept-language</name>
+<value>en-us,en;q=0.7,ja;q=0.3</value>
+</header>
+<header>
+<name>connection</name>
+<value>keep-alive</value>
+</header>
+<header>
+<name>cookie</name>
+<value>JSESSIONID=250210BDAD6109204529B798FDC8CFF4; Country=US; nde-textsize=16px; Language=en</value>
+</header>
+<header>
+<name>host</name>
+<value>localhost:8080</value>
+</header>
+<header>
+<name>keep-alive</name>
+<value>300</value>
+</header>
+<header>
+<name>user-agent</name>
+<value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051025 Firefox/1.5</value>
+</header>
+</headers>
+</request>
+<response>
+<statusCode>200</statusCode>
+<reason></reason>
+<responseBody>
+<![CDATA[<html>
+    <head>
+    </head>
+    <body>
         This is  a test of sending a form bean to a Page Flow action in two ways:
-        &lt;ul>
-            &lt;li>through the "submitFormBean" attribute (f:attribute tag) inside of h:commandLink or h:commandButton&lt;/li>
-            &lt;li>through an &lt;code>outputFormBean&lt;/code> attribute on @Jpf.RaiseAction in a backing file command handler&lt;/li>
-        &lt;/ul>
+        <ul>
+            <li>through the "submitFormBean" attribute (f:attribute tag) inside of h:commandLink or h:commandButton</li>
+            <li>through an <code>outputFormBean</code> attribute on @Jpf.RaiseAction in a backing file command handler</li>
+        </ul>
         
-            &lt;form id="_id0" name="_id0" method="post" action="/jsfWeb/submitFormBean/input.faces" enctype="application/x-www-form-urlencoded">
-                #{backing.theForm.foo}: &lt;input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
-                &lt;br/>
-                &lt;br/>
+            <form id="_id0" name="_id0" method="post" action="/jsfWeb/submitFormBean/input.faces" enctype="application/x-www-form-urlencoded">
+                #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
+                <br/>
+                <br/>
                 
                     
-                &lt;input id="_id0:_id2" name="_id0:_id2" type="submit" value="send bean through attribute" onclick="clear__5Fid0();"/>
-                &lt;br/>
-                &lt;input id="_id0:_id3" name="_id0:_id3" type="submit" value="send bean through command handler" onclick="clear__5Fid0();"/>
-                &lt;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/>
                 
                     
-                &lt;a href="#" onclick="clear__5Fid0();document.forms['_id0'].elements['_id0:_link_hidden_'].value='_id0:_id4';document.forms['_id0'].submit();return false;" id="_id0:_id4">send bean through attribute&lt;/a>
-                &lt;br/>
-                &lt;a href="#" onclick="clear__5Fid0();document.forms['_id0'].elements['_id0:_link_hidden_'].value='_id0:_id5';document.forms['_id0'].submit();return false;" id="_id0:_id5">send bean through command handler&lt;/a>
-            &lt;input type="hidden" name="_id0_SUBMIT" value="1"/>&lt;input type="hidden" name="_id0:_link_hidden_"/>&lt;script type="text/javascript">
-&lt;!--
+                <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() {
   var f = document.forms['_id0'];
   f.elements['_id0:_link_hidden_'].value=null;
@@ -97,100 +111,114 @@
 }
 clear__5Fid0();
 //-->
-&lt;/script>&lt;/form>
+</script></form>
         
-    &lt;/body>
-&lt;/html></ses:responseBody>
-         </ses:response>
-      </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>/jsfWeb/submitFormBean/input.faces</ses:uri>
-            <ses:method>POST</ses:method>
-            <ses:parameters>
-               <ses:parameter>
-                  <ses:name>_id0:_id1</ses:name>
-                  <ses:value>aaa</ses:value>
-               </ses:parameter>
-               <ses:parameter>
-                  <ses:name>_id0:_id2</ses:name>
-                  <ses:value>send bean through attribute</ses:value>
-               </ses:parameter>
-               <ses:parameter>
-                  <ses:name>_id0:_link_hidden_</ses:name>
-                  <ses:value/>
-               </ses:parameter>
-               <ses:parameter>
-                  <ses:name>_id0_SUBMIT</ses:name>
-                  <ses:value>1</ses:value>
-               </ses:parameter>
-            </ses:parameters>
-            <ses:cookies>
-               <ses:cookie>
-                  <ses:name>JSESSIONID</ses:name>
-                  <ses:value>1776E558464A706481F9E143F58C6BFC</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>content-length</ses:name>
-                  <ses:value>91</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>JSESSIONID=1776E558464A706481F9E143F58C6BFC</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>referer</ses:name>
-                  <ses:value>http://localhost:8080/jsfWeb/submitFormBean/Controller.jpf</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"
+    </body>
+</html>]]>
+</responseBody>
+</response>
+</test>
+<test>
+<testNumber>2</testNumber>
+<request>
+<protocol>HTTP</protocol>
+<protocolVersion>1.1</protocolVersion>
+<host>localhost</host>
+<port>8080</port>
+<uri>/jsfWeb/submitFormBean/input.faces</uri>
+<method>POST</method>
+<parameters>
+<parameter>
+<name>_id0:_id1</name>
+<value>aaa</value>
+</parameter>
+<parameter>
+<name>_id0:_id2</name>
+<value>send bean through attribute</value>
+</parameter>
+<parameter>
+<name>_id0:_link_hidden_</name>
+<value></value>
+</parameter>
+<parameter>
+<name>_id0_SUBMIT</name>
+<value>1</value>
+</parameter>
+</parameters>
+<cookies>
+<cookie>
+<name>JSESSIONID</name>
+<value>250210BDAD6109204529B798FDC8CFF4</value>
+</cookie>
+<cookie>
+<name>Country</name>
+<value>US</value>
+</cookie>
+<cookie>
+<name>nde-textsize</name>
+<value>16px</value>
+</cookie>
+<cookie>
+<name>Language</name>
+<value>en</value>
+</cookie>
+</cookies>
+<headers>
+<header>
+<name>accept</name>
+<value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</value>
+</header>
+<header>
+<name>accept-charset</name>
+<value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</value>
+</header>
+<header>
+<name>accept-encoding</name>
+<value>gzip,deflate</value>
+</header>
+<header>
+<name>accept-language</name>
+<value>en-us,en;q=0.7,ja;q=0.3</value>
+</header>
+<header>
+<name>connection</name>
+<value>keep-alive</value>
+</header>
+<header>
+<name>content-length</name>
+<value>91</value>
+</header>
+<header>
+<name>content-type</name>
+<value>application/x-www-form-urlencoded</value>
+</header>
+<header>
+<name>cookie</name>
+<value>JSESSIONID=250210BDAD6109204529B798FDC8CFF4; Country=US; nde-textsize=16px; Language=en</value>
+</header>
+<header>
+<name>host</name>
+<value>localhost:8080</value>
+</header>
+<header>
+<name>keep-alive</name>
+<value>300</value>
+</header>
+<header>
+<name>referer</name>
+<value>http://localhost:8080/jsfWeb/submitFormBean/Controller.jpf</value>
+</header>
+<header>
+<name>user-agent</name>
+<value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051025 Firefox/1.5</value>
+</header>
+</headers>
+</request>
+<response>
+<statusCode>200</statusCode>
+<reason></reason>
+<responseBody>
+<![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
 >
 <html lang="en">
 
@@ -203,98 +231,113 @@
         <a href="/jsfWeb/submitFormBean/begin.do">start over</a>
     </body>
 
-</html>]]></ses:responseBody>
-         </ses:response>
-      </ses:test>
-      <ses:test>
-         <ses:testNumber>3</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>/jsfWeb/submitFormBean/begin.do</ses:uri>
-            <ses:method>GET</ses:method>
-            <ses:parameters/>
-            <ses:cookies>
-               <ses:cookie>
-                  <ses:name>JSESSIONID</ses:name>
-                  <ses:value>1776E558464A706481F9E143F58C6BFC</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=1776E558464A706481F9E143F58C6BFC</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>referer</ses:name>
-                  <ses:value>http://localhost:8080/jsfWeb/submitFormBean/input.faces</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>&lt;html>
-    &lt;head>
-    &lt;/head>
-    &lt;body>
+</html>]]>
+</responseBody>
+</response>
+</test>
+<test>
+<testNumber>3</testNumber>
+<request>
+<protocol>HTTP</protocol>
+<protocolVersion>1.1</protocolVersion>
+<host>localhost</host>
+<port>8080</port>
+<uri>/jsfWeb/submitFormBean/begin.do</uri>
+<method>GET</method>
+<parameters>
+</parameters>
+<cookies>
+<cookie>
+<name>JSESSIONID</name>
+<value>250210BDAD6109204529B798FDC8CFF4</value>
+</cookie>
+<cookie>
+<name>Country</name>
+<value>US</value>
+</cookie>
+<cookie>
+<name>nde-textsize</name>
+<value>16px</value>
+</cookie>
+<cookie>
+<name>Language</name>
+<value>en</value>
+</cookie>
+</cookies>
+<headers>
+<header>
+<name>accept</name>
+<value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</value>
+</header>
+<header>
+<name>accept-charset</name>
+<value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</value>
+</header>
+<header>
+<name>accept-encoding</name>
+<value>gzip,deflate</value>
+</header>
+<header>
+<name>accept-language</name>
+<value>en-us,en;q=0.7,ja;q=0.3</value>
+</header>
+<header>
+<name>connection</name>
+<value>keep-alive</value>
+</header>
+<header>
+<name>cookie</name>
+<value>JSESSIONID=250210BDAD6109204529B798FDC8CFF4; Country=US; nde-textsize=16px; Language=en</value>
+</header>
+<header>
+<name>host</name>
+<value>localhost:8080</value>
+</header>
+<header>
+<name>keep-alive</name>
+<value>300</value>
+</header>
+<header>
+<name>referer</name>
+<value>http://localhost:8080/jsfWeb/submitFormBean/input.faces</value>
+</header>
+<header>
+<name>user-agent</name>
+<value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051025 Firefox/1.5</value>
+</header>
+</headers>
+</request>
+<response>
+<statusCode>200</statusCode>
+<reason></reason>
+<responseBody>
+<![CDATA[<html>
+    <head>
+    </head>
+    <body>
         This is  a test of sending a form bean to a Page Flow action in two ways:
-        &lt;ul>
-            &lt;li>through the "submitFormBean" attribute (f:attribute tag) inside of h:commandLink or h:commandButton&lt;/li>
-            &lt;li>through an &lt;code>outputFormBean&lt;/code> attribute on @Jpf.RaiseAction in a backing file command handler&lt;/li>
-        &lt;/ul>
+        <ul>
+            <li>through the "submitFormBean" attribute (f:attribute tag) inside of h:commandLink or h:commandButton</li>
+            <li>through an <code>outputFormBean</code> attribute on @Jpf.RaiseAction in a backing file command handler</li>
+        </ul>
         
-            &lt;form id="_id0" name="_id0" method="post" action="/jsfWeb/submitFormBean/input.faces" enctype="application/x-www-form-urlencoded">
-                #{backing.theForm.foo}: &lt;input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
-                &lt;br/>
-                &lt;br/>
+            <form id="_id0" name="_id0" method="post" action="/jsfWeb/submitFormBean/input.faces" enctype="application/x-www-form-urlencoded">
+                #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
+                <br/>
+                <br/>
                 
                     
-                &lt;input id="_id0:_id2" name="_id0:_id2" type="submit" value="send bean through attribute" onclick="clear__5Fid0();"/>
-                &lt;br/>
-                &lt;input id="_id0:_id3" name="_id0:_id3" type="submit" value="send bean through command handler" onclick="clear__5Fid0();"/>
-                &lt;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/>
                 
                     
-                &lt;a href="#" onclick="clear__5Fid0();document.forms['_id0'].elements['_id0:_link_hidden_'].value='_id0:_id4';document.forms['_id0'].submit();return false;" id="_id0:_id4">send bean through attribute&lt;/a>
-                &lt;br/>
-                &lt;a href="#" onclick="clear__5Fid0();document.forms['_id0'].elements['_id0:_link_hidden_'].value='_id0:_id5';document.forms['_id0'].submit();return false;" id="_id0:_id5">send bean through command handler&lt;/a>
-            &lt;input type="hidden" name="_id0_SUBMIT" value="1"/>&lt;input type="hidden" name="_id0:_link_hidden_"/>&lt;script type="text/javascript">
-&lt;!--
+                <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() {
   var f = document.forms['_id0'];
   f.elements['_id0:_link_hidden_'].value=null;
@@ -302,100 +345,114 @@
 }
 clear__5Fid0();
 //-->
-&lt;/script>&lt;/form>
+</script></form>
         
-    &lt;/body>
-&lt;/html></ses:responseBody>
-         </ses:response>
-      </ses:test>
-      <ses:test>
-         <ses:testNumber>4</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>/jsfWeb/submitFormBean/input.faces</ses:uri>
-            <ses:method>POST</ses:method>
-            <ses:parameters>
-               <ses:parameter>
-                  <ses:name>_id0:_id1</ses:name>
-                  <ses:value>bbb</ses:value>
-               </ses:parameter>
-               <ses:parameter>
-                  <ses:name>_id0:_id3</ses:name>
-                  <ses:value>send bean through command handler</ses:value>
-               </ses:parameter>
-               <ses:parameter>
-                  <ses:name>_id0:_link_hidden_</ses:name>
-                  <ses:value/>
-               </ses:parameter>
-               <ses:parameter>
-                  <ses:name>_id0_SUBMIT</ses:name>
-                  <ses:value>1</ses:value>
-               </ses:parameter>
-            </ses:parameters>
-            <ses:cookies>
-               <ses:cookie>
-                  <ses:name>JSESSIONID</ses:name>
-                  <ses:value>1776E558464A706481F9E143F58C6BFC</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>content-length</ses:name>
-                  <ses:value>97</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>JSESSIONID=1776E558464A706481F9E143F58C6BFC</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>referer</ses:name>
-                  <ses:value>http://localhost:8080/jsfWeb/submitFormBean/begin.do</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"
+    </body>
+</html>]]>
+</responseBody>
+</response>
+</test>
+<test>
+<testNumber>4</testNumber>
+<request>
+<protocol>HTTP</protocol>
+<protocolVersion>1.1</protocolVersion>
+<host>localhost</host>
+<port>8080</port>
+<uri>/jsfWeb/submitFormBean/input.faces</uri>
+<method>POST</method>
+<parameters>
+<parameter>
+<name>_id0:_id1</name>
+<value>bbb</value>
+</parameter>
+<parameter>
+<name>_id0:_id3</name>
+<value>send bean through command handler</value>
+</parameter>
+<parameter>
+<name>_id0:_link_hidden_</name>
+<value></value>
+</parameter>
+<parameter>
+<name>_id0_SUBMIT</name>
+<value>1</value>
+</parameter>
+</parameters>
+<cookies>
+<cookie>
+<name>JSESSIONID</name>
+<value>250210BDAD6109204529B798FDC8CFF4</value>
+</cookie>
+<cookie>
+<name>Country</name>
+<value>US</value>
+</cookie>
+<cookie>
+<name>nde-textsize</name>
+<value>16px</value>
+</cookie>
+<cookie>
+<name>Language</name>
+<value>en</value>
+</cookie>
+</cookies>
+<headers>
+<header>
+<name>accept</name>
+<value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</value>
+</header>
+<header>
+<name>accept-charset</name>
+<value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</value>
+</header>
+<header>
+<name>accept-encoding</name>
+<value>gzip,deflate</value>
+</header>
+<header>
+<name>accept-language</name>
+<value>en-us,en;q=0.7,ja;q=0.3</value>
+</header>
+<header>
+<name>connection</name>
+<value>keep-alive</value>
+</header>
+<header>
+<name>content-length</name>
+<value>97</value>
+</header>
+<header>
+<name>content-type</name>
+<value>application/x-www-form-urlencoded</value>
+</header>
+<header>
+<name>cookie</name>
+<value>JSESSIONID=250210BDAD6109204529B798FDC8CFF4; Country=US; nde-textsize=16px; Language=en</value>
+</header>
+<header>
+<name>host</name>
+<value>localhost:8080</value>
+</header>
+<header>
+<name>keep-alive</name>
+<value>300</value>
+</header>
+<header>
+<name>referer</name>
+<value>http://localhost:8080/jsfWeb/submitFormBean/begin.do</value>
+</header>
+<header>
+<name>user-agent</name>
+<value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051025 Firefox/1.5</value>
+</header>
+</headers>
+</request>
+<response>
+<statusCode>200</statusCode>
+<reason></reason>
+<responseBody>
+<![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
 >
 <html lang="en">
 
@@ -408,98 +465,113 @@
         <a href="/jsfWeb/submitFormBean/begin.do">start over</a>
     </body>
 
-</html>]]></ses:responseBody>
-         </ses:response>
-      </ses:test>
-      <ses:test>
-         <ses:testNumber>5</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>/jsfWeb/submitFormBean/begin.do</ses:uri>
-            <ses:method>GET</ses:method>
-            <ses:parameters/>
-            <ses:cookies>
-               <ses:cookie>
-                  <ses:name>JSESSIONID</ses:name>
-                  <ses:value>1776E558464A706481F9E143F58C6BFC</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=1776E558464A706481F9E143F58C6BFC</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>referer</ses:name>
-                  <ses:value>http://localhost:8080/jsfWeb/submitFormBean/input.faces</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>&lt;html>
-    &lt;head>
-    &lt;/head>
-    &lt;body>
+</html>]]>
+</responseBody>
+</response>
+</test>
+<test>
+<testNumber>5</testNumber>
+<request>
+<protocol>HTTP</protocol>
+<protocolVersion>1.1</protocolVersion>
+<host>localhost</host>
+<port>8080</port>
+<uri>/jsfWeb/submitFormBean/begin.do</uri>
+<method>GET</method>
+<parameters>
+</parameters>
+<cookies>
+<cookie>
+<name>JSESSIONID</name>
+<value>250210BDAD6109204529B798FDC8CFF4</value>
+</cookie>
+<cookie>
+<name>Country</name>
+<value>US</value>
+</cookie>
+<cookie>
+<name>nde-textsize</name>
+<value>16px</value>
+</cookie>
+<cookie>
+<name>Language</name>
+<value>en</value>
+</cookie>
+</cookies>
+<headers>
+<header>
+<name>accept</name>
+<value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</value>
+</header>
+<header>
+<name>accept-charset</name>
+<value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</value>
+</header>
+<header>
+<name>accept-encoding</name>
+<value>gzip,deflate</value>
+</header>
+<header>
+<name>accept-language</name>
+<value>en-us,en;q=0.7,ja;q=0.3</value>
+</header>
+<header>
+<name>connection</name>
+<value>keep-alive</value>
+</header>
+<header>
+<name>cookie</name>
+<value>JSESSIONID=250210BDAD6109204529B798FDC8CFF4; Country=US; nde-textsize=16px; Language=en</value>
+</header>
+<header>
+<name>host</name>
+<value>localhost:8080</value>
+</header>
+<header>
+<name>keep-alive</name>
+<value>300</value>
+</header>
+<header>
+<name>referer</name>
+<value>http://localhost:8080/jsfWeb/submitFormBean/input.faces</value>
+</header>
+<header>
+<name>user-agent</name>
+<value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051025 Firefox/1.5</value>
+</header>
+</headers>
+</request>
+<response>
+<statusCode>200</statusCode>
+<reason></reason>
+<responseBody>
+<![CDATA[<html>
+    <head>
+    </head>
+    <body>
         This is  a test of sending a form bean to a Page Flow action in two ways:
-        &lt;ul>
-            &lt;li>through the "submitFormBean" attribute (f:attribute tag) inside of h:commandLink or h:commandButton&lt;/li>
-            &lt;li>through an &lt;code>outputFormBean&lt;/code> attribute on @Jpf.RaiseAction in a backing file command handler&lt;/li>
-        &lt;/ul>
+        <ul>
+            <li>through the "submitFormBean" attribute (f:attribute tag) inside of h:commandLink or h:commandButton</li>
+            <li>through an <code>outputFormBean</code> attribute on @Jpf.RaiseAction in a backing file command handler</li>
+        </ul>
         
-            &lt;form id="_id0" name="_id0" method="post" action="/jsfWeb/submitFormBean/input.faces" enctype="application/x-www-form-urlencoded">
-                #{backing.theForm.foo}: &lt;input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
-                &lt;br/>
-                &lt;br/>
+            <form id="_id0" name="_id0" method="post" action="/jsfWeb/submitFormBean/input.faces" enctype="application/x-www-form-urlencoded">
+                #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
+                <br/>
+                <br/>
                 
                     
-                &lt;input id="_id0:_id2" name="_id0:_id2" type="submit" value="send bean through attribute" onclick="clear__5Fid0();"/>
-                &lt;br/>
-                &lt;input id="_id0:_id3" name="_id0:_id3" type="submit" value="send bean through command handler" onclick="clear__5Fid0();"/>
-                &lt;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/>
                 
                     
-                &lt;a href="#" onclick="clear__5Fid0();document.forms['_id0'].elements['_id0:_link_hidden_'].value='_id0:_id4';document.forms['_id0'].submit();return false;" id="_id0:_id4">send bean through attribute&lt;/a>
-                &lt;br/>
-                &lt;a href="#" onclick="clear__5Fid0();document.forms['_id0'].elements['_id0:_link_hidden_'].value='_id0:_id5';document.forms['_id0'].submit();return false;" id="_id0:_id5">send bean through command handler&lt;/a>
-            &lt;input type="hidden" name="_id0_SUBMIT" value="1"/>&lt;input type="hidden" name="_id0:_link_hidden_"/>&lt;script type="text/javascript">
-&lt;!--
+                <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() {
   var f = document.forms['_id0'];
   f.elements['_id0:_link_hidden_'].value=null;
@@ -507,96 +579,110 @@
 }
 clear__5Fid0();
 //-->
-&lt;/script>&lt;/form>
+</script></form>
         
-    &lt;/body>
-&lt;/html></ses:responseBody>
-         </ses:response>
-      </ses:test>
-      <ses:test>
-         <ses:testNumber>6</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>/jsfWeb/submitFormBean/input.faces</ses:uri>
-            <ses:method>POST</ses:method>
-            <ses:parameters>
-               <ses:parameter>
-                  <ses:name>_id0:_id1</ses:name>
-                  <ses:value>ccc</ses:value>
-               </ses:parameter>
-               <ses:parameter>
-                  <ses:name>_id0:_link_hidden_</ses:name>
-                  <ses:value>_id0:_id4</ses:value>
-               </ses:parameter>
-               <ses:parameter>
-                  <ses:name>_id0_SUBMIT</ses:name>
-                  <ses:value>1</ses:value>
-               </ses:parameter>
-            </ses:parameters>
-            <ses:cookies>
-               <ses:cookie>
-                  <ses:name>JSESSIONID</ses:name>
-                  <ses:value>1776E558464A706481F9E143F58C6BFC</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>content-length</ses:name>
-                  <ses:value>62</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>JSESSIONID=1776E558464A706481F9E143F58C6BFC</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>referer</ses:name>
-                  <ses:value>http://localhost:8080/jsfWeb/submitFormBean/begin.do</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"
+    </body>
+</html>]]>
+</responseBody>
+</response>
+</test>
+<test>
+<testNumber>6</testNumber>
+<request>
+<protocol>HTTP</protocol>
+<protocolVersion>1.1</protocolVersion>
+<host>localhost</host>
+<port>8080</port>
+<uri>/jsfWeb/submitFormBean/input.faces</uri>
+<method>POST</method>
+<parameters>
+<parameter>
+<name>_id0:_id1</name>
+<value>ccc</value>
+</parameter>
+<parameter>
+<name>_id0:_link_hidden_</name>
+<value>_id0:_id4</value>
+</parameter>
+<parameter>
+<name>_id0_SUBMIT</name>
+<value>1</value>
+</parameter>
+</parameters>
+<cookies>
+<cookie>
+<name>JSESSIONID</name>
+<value>250210BDAD6109204529B798FDC8CFF4</value>
+</cookie>
+<cookie>
+<name>Country</name>
+<value>US</value>
+</cookie>
+<cookie>
+<name>nde-textsize</name>
+<value>16px</value>
+</cookie>
+<cookie>
+<name>Language</name>
+<value>en</value>
+</cookie>
+</cookies>
+<headers>
+<header>
+<name>accept</name>
+<value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</value>
+</header>
+<header>
+<name>accept-charset</name>
+<value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</value>
+</header>
+<header>
+<name>accept-encoding</name>
+<value>gzip,deflate</value>
+</header>
+<header>
+<name>accept-language</name>
+<value>en-us,en;q=0.7,ja;q=0.3</value>
+</header>
+<header>
+<name>connection</name>
+<value>keep-alive</value>
+</header>
+<header>
+<name>content-length</name>
+<value>62</value>
+</header>
+<header>
+<name>content-type</name>
+<value>application/x-www-form-urlencoded</value>
+</header>
+<header>
+<name>cookie</name>
+<value>JSESSIONID=250210BDAD6109204529B798FDC8CFF4; Country=US; nde-textsize=16px; Language=en</value>
+</header>
+<header>
+<name>host</name>
+<value>localhost:8080</value>
+</header>
+<header>
+<name>keep-alive</name>
+<value>300</value>
+</header>
+<header>
+<name>referer</name>
+<value>http://localhost:8080/jsfWeb/submitFormBean/begin.do</value>
+</header>
+<header>
+<name>user-agent</name>
+<value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051025 Firefox/1.5</value>
+</header>
+</headers>
+</request>
+<response>
+<statusCode>200</statusCode>
+<reason></reason>
+<responseBody>
+<![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
 >
 <html lang="en">
 
@@ -609,98 +695,113 @@
         <a href="/jsfWeb/submitFormBean/begin.do">start over</a>
     </body>
 
-</html>]]></ses:responseBody>
-         </ses:response>
-      </ses:test>
-      <ses:test>
-         <ses:testNumber>7</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>/jsfWeb/submitFormBean/begin.do</ses:uri>
-            <ses:method>GET</ses:method>
-            <ses:parameters/>
-            <ses:cookies>
-               <ses:cookie>
-                  <ses:name>JSESSIONID</ses:name>
-                  <ses:value>1776E558464A706481F9E143F58C6BFC</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=1776E558464A706481F9E143F58C6BFC</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>referer</ses:name>
-                  <ses:value>http://localhost:8080/jsfWeb/submitFormBean/input.faces</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>&lt;html>
-    &lt;head>
-    &lt;/head>
-    &lt;body>
+</html>]]>
+</responseBody>
+</response>
+</test>
+<test>
+<testNumber>7</testNumber>
+<request>
+<protocol>HTTP</protocol>
+<protocolVersion>1.1</protocolVersion>
+<host>localhost</host>
+<port>8080</port>
+<uri>/jsfWeb/submitFormBean/begin.do</uri>
+<method>GET</method>
+<parameters>
+</parameters>
+<cookies>
+<cookie>
+<name>JSESSIONID</name>
+<value>250210BDAD6109204529B798FDC8CFF4</value>
+</cookie>
+<cookie>
+<name>Country</name>
+<value>US</value>
+</cookie>
+<cookie>
+<name>nde-textsize</name>
+<value>16px</value>
+</cookie>
+<cookie>
+<name>Language</name>
+<value>en</value>
+</cookie>
+</cookies>
+<headers>
+<header>
+<name>accept</name>
+<value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</value>
+</header>
+<header>
+<name>accept-charset</name>
+<value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</value>
+</header>
+<header>
+<name>accept-encoding</name>
+<value>gzip,deflate</value>
+</header>
+<header>
+<name>accept-language</name>
+<value>en-us,en;q=0.7,ja;q=0.3</value>
+</header>
+<header>
+<name>connection</name>
+<value>keep-alive</value>
+</header>
+<header>
+<name>cookie</name>
+<value>JSESSIONID=250210BDAD6109204529B798FDC8CFF4; Country=US; nde-textsize=16px; Language=en</value>
+</header>
+<header>
+<name>host</name>
+<value>localhost:8080</value>
+</header>
+<header>
+<name>keep-alive</name>
+<value>300</value>
+</header>
+<header>
+<name>referer</name>
+<value>http://localhost:8080/jsfWeb/submitFormBean/input.faces</value>
+</header>
+<header>
+<name>user-agent</name>
+<value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051025 Firefox/1.5</value>
+</header>
+</headers>
+</request>
+<response>
+<statusCode>200</statusCode>
+<reason></reason>
+<responseBody>
+<![CDATA[<html>
+    <head>
+    </head>
+    <body>
         This is  a test of sending a form bean to a Page Flow action in two ways:
-        &lt;ul>
-            &lt;li>through the "submitFormBean" attribute (f:attribute tag) inside of h:commandLink or h:commandButton&lt;/li>
-            &lt;li>through an &lt;code>outputFormBean&lt;/code> attribute on @Jpf.RaiseAction in a backing file command handler&lt;/li>
-        &lt;/ul>
+        <ul>
+            <li>through the "submitFormBean" attribute (f:attribute tag) inside of h:commandLink or h:commandButton</li>
+            <li>through an <code>outputFormBean</code> attribute on @Jpf.RaiseAction in a backing file command handler</li>
+        </ul>
         
-            &lt;form id="_id0" name="_id0" method="post" action="/jsfWeb/submitFormBean/input.faces" enctype="application/x-www-form-urlencoded">
-                #{backing.theForm.foo}: &lt;input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
-                &lt;br/>
-                &lt;br/>
+            <form id="_id0" name="_id0" method="post" action="/jsfWeb/submitFormBean/input.faces" enctype="application/x-www-form-urlencoded">
+                #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
+                <br/>
+                <br/>
                 
                     
-                &lt;input id="_id0:_id2" name="_id0:_id2" type="submit" value="send bean through attribute" onclick="clear__5Fid0();"/>
-                &lt;br/>
-                &lt;input id="_id0:_id3" name="_id0:_id3" type="submit" value="send bean through command handler" onclick="clear__5Fid0();"/>
-                &lt;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/>
                 
                     
-                &lt;a href="#" onclick="clear__5Fid0();document.forms['_id0'].elements['_id0:_link_hidden_'].value='_id0:_id4';document.forms['_id0'].submit();return false;" id="_id0:_id4">send bean through attribute&lt;/a>
-                &lt;br/>
-                &lt;a href="#" onclick="clear__5Fid0();document.forms['_id0'].elements['_id0:_link_hidden_'].value='_id0:_id5';document.forms['_id0'].submit();return false;" id="_id0:_id5">send bean through command handler&lt;/a>
-            &lt;input type="hidden" name="_id0_SUBMIT" value="1"/>&lt;input type="hidden" name="_id0:_link_hidden_"/>&lt;script type="text/javascript">
-&lt;!--
+                <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() {
   var f = document.forms['_id0'];
   f.elements['_id0:_link_hidden_'].value=null;
@@ -708,96 +809,110 @@
 }
 clear__5Fid0();
 //-->
-&lt;/script>&lt;/form>
+</script></form>
         
-    &lt;/body>
-&lt;/html></ses:responseBody>
-         </ses:response>
-      </ses:test>
-      <ses:test>
-         <ses:testNumber>8</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>/jsfWeb/submitFormBean/input.faces</ses:uri>
-            <ses:method>POST</ses:method>
-            <ses:parameters>
-               <ses:parameter>
-                  <ses:name>_id0:_id1</ses:name>
-                  <ses:value>ddd</ses:value>
-               </ses:parameter>
-               <ses:parameter>
-                  <ses:name>_id0:_link_hidden_</ses:name>
-                  <ses:value>_id0:_id5</ses:value>
-               </ses:parameter>
-               <ses:parameter>
-                  <ses:name>_id0_SUBMIT</ses:name>
-                  <ses:value>1</ses:value>
-               </ses:parameter>
-            </ses:parameters>
-            <ses:cookies>
-               <ses:cookie>
-                  <ses:name>JSESSIONID</ses:name>
-                  <ses:value>1776E558464A706481F9E143F58C6BFC</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>content-length</ses:name>
-                  <ses:value>62</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>JSESSIONID=1776E558464A706481F9E143F58C6BFC</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>referer</ses:name>
-                  <ses:value>http://localhost:8080/jsfWeb/submitFormBean/begin.do</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"
+    </body>
+</html>]]>
+</responseBody>
+</response>
+</test>
+<test>
+<testNumber>8</testNumber>
+<request>
+<protocol>HTTP</protocol>
+<protocolVersion>1.1</protocolVersion>
+<host>localhost</host>
+<port>8080</port>
+<uri>/jsfWeb/submitFormBean/input.faces</uri>
+<method>POST</method>
+<parameters>
+<parameter>
+<name>_id0:_id1</name>
+<value>ddd</value>
+</parameter>
+<parameter>
+<name>_id0:_link_hidden_</name>
+<value>_id0:_id5</value>
+</parameter>
+<parameter>
+<name>_id0_SUBMIT</name>
+<value>1</value>
+</parameter>
+</parameters>
+<cookies>
+<cookie>
+<name>JSESSIONID</name>
+<value>250210BDAD6109204529B798FDC8CFF4</value>
+</cookie>
+<cookie>
+<name>Country</name>
+<value>US</value>
+</cookie>
+<cookie>
+<name>nde-textsize</name>
+<value>16px</value>
+</cookie>
+<cookie>
+<name>Language</name>
+<value>en</value>
+</cookie>
+</cookies>
+<headers>
+<header>
+<name>accept</name>
+<value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</value>
+</header>
+<header>
+<name>accept-charset</name>
+<value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</value>
+</header>
+<header>
+<name>accept-encoding</name>
+<value>gzip,deflate</value>
+</header>
+<header>
+<name>accept-language</name>
+<value>en-us,en;q=0.7,ja;q=0.3</value>
+</header>
+<header>
+<name>connection</name>
+<value>keep-alive</value>
+</header>
+<header>
+<name>content-length</name>
+<value>62</value>
+</header>
+<header>
+<name>content-type</name>
+<value>application/x-www-form-urlencoded</value>
+</header>
+<header>
+<name>cookie</name>
+<value>JSESSIONID=250210BDAD6109204529B798FDC8CFF4; Country=US; nde-textsize=16px; Language=en</value>
+</header>
+<header>
+<name>host</name>
+<value>localhost:8080</value>
+</header>
+<header>
+<name>keep-alive</name>
+<value>300</value>
+</header>
+<header>
+<name>referer</name>
+<value>http://localhost:8080/jsfWeb/submitFormBean/begin.do</value>
+</header>
+<header>
+<name>user-agent</name>
+<value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051025 Firefox/1.5</value>
+</header>
+</headers>
+</request>
+<response>
+<statusCode>200</statusCode>
+<reason></reason>
+<responseBody>
+<![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
 >
 <html lang="en">
 
@@ -810,10 +925,11 @@
         <a href="/jsfWeb/submitFormBean/begin.do">start over</a>
     </body>
 
-</html>]]></ses:responseBody>
-         </ses:response>
-      </ses:test>
-   </ses:tests>
-   <ses:endDate>13 Feb 2005, 01:39:10.939 PM MST</ses:endDate>
-   <ses:testCount>8</ses:testCount>
-</ses:recorderSession>
+</html>]]>
+</responseBody>
+</response>
+</test>
+</tests>
+<endDate>02 Nov 2005, 01:45:25.454 PM MST</endDate>
+<testCount>8</testCount>
+</recorderSession>



Mime
View raw message