Added: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtFormCases.xml
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtFormCases.xml?view=auto&rev=153510
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtFormCases.xml
 (added)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtFormCases.xml
 Sat Feb 12 06:52:08 2005
@@ -0,0 +1,3161 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
+   <ses:sessionName>CtFormCases</ses:sessionName>
+   <ses:tester>Daryl</ses:tester>
+   <ses:startDate>11 Feb 2005, 10:25:02.640 PM MST</ses:startDate>
+   <ses:description>Test of all the individual cases of Form 
Submit.</ses:description>
+   <ses:tests>
+      <ses:test>
+         <ses:testNumber>1</ses:testNumber>
+         <ses:request>
+            <ses:protocol>HTTP</ses:protocol>
+            <ses:protocolVersion>1.1</ses:protocolVersion>
+            <ses:host>localhost</ses:host>
+            <ses:port>8080</ses:port>
+            <ses:uri>/coreWeb/coretags/form/cases/Controller.jpf</ses:uri>
+            <ses:method>GET</ses:method>
+            <ses:parameters/>
+            <ses:cookies>
+               <ses:cookie>
+                  <ses:name>JSESSIONID</ses:name>
+                  <ses:value>D17FA2E37F84E14AD6FF81CEE574E9AB</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=D17FA2E37F84E14AD6FF81CEE574E9AB</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;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 
Transitional//EN"
+       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+&lt;html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"; 
netui:idScope="html">
+
+    &lt;head>
+        &lt;base 
href="http://localhost:8080/coreWeb/coretags/form/cases/index.jsp"; />
+    &lt;/head>
+    &lt;body>
+        &lt;a href="/coreWeb/coretags/form/cases/html.do">html&lt;/a>&lt;br>
+        Action: &lt;span>begin&lt;/span>&lt;br>
+        Text: &lt;span>&lt;/span>
+       &lt;p style="color:green">This is an XHTML generated document that 
contains
+       six different types of form submits.  Each type differs in either how
+       the form is submitted, or how the form binds to the bean.
+       &lt;/p>
+       &lt;table width="100%">
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case One -- Form Submit to an Action&lt;/h4>
+          &lt;p style="color:green">Normal button submit, and bean on 
action&lt;/p>
+           &lt;form id="html.f1" action="/coreWeb/coretags/form/cases/post.do" 
method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" />
+              &lt;input type="submit" value="submit" />
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Two -- Form Submit To PageFlow&lt;/h4>
+          &lt;p style="color:green">Normal button submit, binding to page 
flow&lt;/p>
+           &lt;form id="html.f2" 
action="/coreWeb/coretags/form/cases/postNoForm.do" method="post">
+              Text: &lt;input type="text" name="{pageFlow.textPage}" />
+              &lt;input type="submit" value="submit" />
+          &lt;/form>
+       &lt;/td>&lt;/tr>
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case Three -- Form Submit Override Action&lt;/h4>
+          &lt;p style="color:green">Override the action submitted on the 
button&lt;/p>
+           &lt;form id="html.f3" action="/coreWeb/coretags/form/cases/post.do" 
method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" />
+              &lt;input type="submit" name="actionOverride:postOverride" 
value="submit" />
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Four -- Form Submit Override Action/Different Bean&lt;/h4>
+          &lt;p style="color:green">Override the action and go to a different 
bean type&lt;/p>
+           &lt;form id="html.f4" action="/coreWeb/coretags/form/cases/post.do" 
method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" />
+              &lt;input type="submit" 
name="actionOverride:postOverrideNewForm" value="submit" />
+          &lt;/form>
+       &lt;/td>&lt;/tr>
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case Five -- Form Submit/Action UseBean&lt;/h4>
+          &lt;p style="color:green">Normal Submit, the action has a 
useFormBean binding to a bean&lt;/p>
+           &lt;form id="html.f5" 
action="/coreWeb/coretags/form/cases/postUseFormBean.do" method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" value="Bean 
Defined" />
+              &lt;input type="submit" value="submit" />
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Six -- Form Submit Direct Bean Binding&lt;/h4>
+          &lt;p style="color:green">Normal Submit, the form tag specifies a 
bean in the Session&lt;/p>
+           &lt;form id="html.f6" 
action="/coreWeb/coretags/form/cases/postDirect.do" method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" 
value="Direct Defined" />
+              &lt;input type="submit" value="submit" />
+          &lt;/form>
+       &lt;/td>&lt;/tr>
+        &lt;/table>
+    &lt;script language="JavaScript" type="text/JavaScript">
+&lt;!--
+
+// **** Start the NetUI Framework Generated JavaScript ****
+
+// Build the netui_names table to map the tagId attributes
+// to the real id written into the HTML
+if (netui_names == null)
+   var netui_names = new Object();
+netui_names.html__f2="html.f2"
+netui_names.html__f5="html.f5"
+netui_names.html__f1="html.f1"
+netui_names.html__f4="html.f4"
+netui_names.html__f6="html.f6"
+netui_names.html__f3="html.f3"
+
+
+// Build the netui_names table to map the tagId attributes
+// to the real id written into the HTML
+if (netui_tagIdNameMap == null)
+   var netui_tagIdNameMap = new Object();
+netui_tagIdNameMap.html___f2="html.f2"
+netui_tagIdNameMap.html___f5="html.f5"
+netui_tagIdNameMap.html___f1="html.f1"
+netui_tagIdNameMap.html___f4="html.f4"
+netui_tagIdNameMap.html___f6="html.f6"
+netui_tagIdNameMap.html___f3="html.f3"
+
+
+// method which will return a real id for a tagId,
+// the tag parameter will be used to find the idScope for
+// containers that may scope their ids
+function getNetuiTagName(id, tag)
+{
+   var idScope = getScopeId(tag);
+   if (idScope == "")
+      return netui_names[id];
+   else
+      return netui_names[idScope  + "__" + id];
+}
+
+// This method will walk the hierarchy from the pass element looking for a 
idScope.
+// The first idScope found will be returned or the empty string if a idScope 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:idScope");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
+// lookup by tagId to "real id"
+function lookupIdByTagId(id, tag)
+{
+   var idScope = lookupIdScope(tag,".");
+   return (idScope == "") ? id : idScope + id;
+}
+
+// lookup by tagId to "real name"
+function lookupNameByTagId(id, tag)
+{
+   var idScope = lookupIdScope(tag,"_");
+   if (idScope == "")
+      return netui_tagIdNameMap[id];
+   else
+      return netui_tagIdNameMap[idScope  + "__" + id];
+}
+
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupIdScope(tag,sep)
+{
+   var val = "";
+   if (sep == null) sep = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:idScope");
+      if (attrVal != null)
+         val = attrVal + sep + val;
+      tag = tag.parentNode;
+   }
+   return val;
+}
+-->
+&lt;/script>&lt;/div>
+&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>/coreWeb/coretags/form/cases/post.do</ses:uri>
+            <ses:method>POST</ses:method>
+            <ses:parameters>
+               <ses:parameter>
+                  <ses:name>{actionForm.text}</ses:name>
+                  <ses:value>one</ses:value>
+               </ses:parameter>
+            </ses:parameters>
+            <ses:cookies>
+               <ses:cookie>
+                  <ses:name>JSESSIONID</ses:name>
+                  <ses:value>D17FA2E37F84E14AD6FF81CEE574E9AB</ses:value>
+               </ses:cookie>
+            </ses:cookies>
+            <ses:headers>
+               <ses:header>
+                  <ses:name>-------</ses:name>
+                  
<ses:value>----:-----------:-----------------------------------------------</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>---------------</ses:name>
+                  <ses:value>------------</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept</ses:name>
+                  
<ses:value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-charset</ses:name>
+                  <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-language</ses:name>
+                  <ses:value>en-us,en;q=0.5</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>connection</ses:name>
+                  <ses:value>keep-alive</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>content-length</ses:name>
+                  <ses:value>25</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=D17FA2E37F84E14AD6FF81CEE574E9AB</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;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 
Transitional//EN"
+       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+&lt;html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"; 
netui:idScope="html">
+
+    &lt;head>
+        &lt;base 
href="http://localhost:8080/coreWeb/coretags/form/cases/index.jsp"; />
+    &lt;/head>
+    &lt;body>
+        &lt;a href="/coreWeb/coretags/form/cases/html.do">html&lt;/a>&lt;br>
+        Action: &lt;span>post&lt;/span>&lt;br>
+        Text: &lt;span>one&lt;/span>
+       &lt;p style="color:green">This is an XHTML generated document that 
contains
+       six different types of form submits.  Each type differs in either how
+       the form is submitted, or how the form binds to the bean.
+       &lt;/p>
+       &lt;table width="100%">
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case One -- Form Submit to an Action&lt;/h4>
+          &lt;p style="color:green">Normal button submit, and bean on 
action&lt;/p>
+           &lt;form id="html.f1" action="/coreWeb/coretags/form/cases/post.do" 
method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" />
+              &lt;input type="submit" value="submit" />
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Two -- Form Submit To PageFlow&lt;/h4>
+          &lt;p style="color:green">Normal button submit, binding to page 
flow&lt;/p>
+           &lt;form id="html.f2" 
action="/coreWeb/coretags/form/cases/postNoForm.do" method="post">
+              Text: &lt;input type="text" name="{pageFlow.textPage}" />
+              &lt;input type="submit" value="submit" />
+          &lt;/form>
+       &lt;/td>&lt;/tr>
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case Three -- Form Submit Override Action&lt;/h4>
+          &lt;p style="color:green">Override the action submitted on the 
button&lt;/p>
+           &lt;form id="html.f3" action="/coreWeb/coretags/form/cases/post.do" 
method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" />
+              &lt;input type="submit" name="actionOverride:postOverride" 
value="submit" />
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Four -- Form Submit Override Action/Different Bean&lt;/h4>
+          &lt;p style="color:green">Override the action and go to a different 
bean type&lt;/p>
+           &lt;form id="html.f4" action="/coreWeb/coretags/form/cases/post.do" 
method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" />
+              &lt;input type="submit" 
name="actionOverride:postOverrideNewForm" value="submit" />
+          &lt;/form>
+       &lt;/td>&lt;/tr>
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case Five -- Form Submit/Action UseBean&lt;/h4>
+          &lt;p style="color:green">Normal Submit, the action has a 
useFormBean binding to a bean&lt;/p>
+           &lt;form id="html.f5" 
action="/coreWeb/coretags/form/cases/postUseFormBean.do" method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" value="Bean 
Defined" />
+              &lt;input type="submit" value="submit" />
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Six -- Form Submit Direct Bean Binding&lt;/h4>
+          &lt;p style="color:green">Normal Submit, the form tag specifies a 
bean in the Session&lt;/p>
+           &lt;form id="html.f6" 
action="/coreWeb/coretags/form/cases/postDirect.do" method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" 
value="Direct Defined" />
+              &lt;input type="submit" value="submit" />
+          &lt;/form>
+       &lt;/td>&lt;/tr>
+        &lt;/table>
+    &lt;script language="JavaScript" type="text/JavaScript">
+&lt;!--
+
+// **** Start the NetUI Framework Generated JavaScript ****
+
+// Build the netui_names table to map the tagId attributes
+// to the real id written into the HTML
+if (netui_names == null)
+   var netui_names = new Object();
+netui_names.html__f2="html.f2"
+netui_names.html__f5="html.f5"
+netui_names.html__f1="html.f1"
+netui_names.html__f4="html.f4"
+netui_names.html__f6="html.f6"
+netui_names.html__f3="html.f3"
+
+
+// Build the netui_names table to map the tagId attributes
+// to the real id written into the HTML
+if (netui_tagIdNameMap == null)
+   var netui_tagIdNameMap = new Object();
+netui_tagIdNameMap.html___f2="html.f2"
+netui_tagIdNameMap.html___f5="html.f5"
+netui_tagIdNameMap.html___f1="html.f1"
+netui_tagIdNameMap.html___f4="html.f4"
+netui_tagIdNameMap.html___f6="html.f6"
+netui_tagIdNameMap.html___f3="html.f3"
+
+
+// method which will return a real id for a tagId,
+// the tag parameter will be used to find the idScope for
+// containers that may scope their ids
+function getNetuiTagName(id, tag)
+{
+   var idScope = getScopeId(tag);
+   if (idScope == "")
+      return netui_names[id];
+   else
+      return netui_names[idScope  + "__" + id];
+}
+
+// This method will walk the hierarchy from the pass element looking for a 
idScope.
+// The first idScope found will be returned or the empty string if a idScope 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:idScope");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
+// lookup by tagId to "real id"
+function lookupIdByTagId(id, tag)
+{
+   var idScope = lookupIdScope(tag,".");
+   return (idScope == "") ? id : idScope + id;
+}
+
+// lookup by tagId to "real name"
+function lookupNameByTagId(id, tag)
+{
+   var idScope = lookupIdScope(tag,"_");
+   if (idScope == "")
+      return netui_tagIdNameMap[id];
+   else
+      return netui_tagIdNameMap[idScope  + "__" + id];
+}
+
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupIdScope(tag,sep)
+{
+   var val = "";
+   if (sep == null) sep = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:idScope");
+      if (attrVal != null)
+         val = attrVal + sep + val;
+      tag = tag.parentNode;
+   }
+   return val;
+}
+-->
+&lt;/script>&lt;/div>
+&lt;/body>
+&lt;/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>/coreWeb/coretags/form/cases/postNoForm.do</ses:uri>
+            <ses:method>POST</ses:method>
+            <ses:parameters>
+               <ses:parameter>
+                  <ses:name>{pageFlow.textPage}</ses:name>
+                  <ses:value>two</ses:value>
+               </ses:parameter>
+            </ses:parameters>
+            <ses:cookies>
+               <ses:cookie>
+                  <ses:name>JSESSIONID</ses:name>
+                  <ses:value>D17FA2E37F84E14AD6FF81CEE574E9AB</ses:value>
+               </ses:cookie>
+            </ses:cookies>
+            <ses:headers>
+               <ses:header>
+                  <ses:name>-------</ses:name>
+                  
<ses:value>----:-----------:----------------------------------------</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>---------------</ses:name>
+                  <ses:value>------------</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept</ses:name>
+                  
<ses:value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-charset</ses:name>
+                  <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-language</ses:name>
+                  <ses:value>en-us,en;q=0.5</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>connection</ses:name>
+                  <ses:value>keep-alive</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>content-length</ses:name>
+                  <ses:value>27</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=D17FA2E37F84E14AD6FF81CEE574E9AB</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;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 
Transitional//EN"
+       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+&lt;html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"; 
netui:idScope="html">
+
+    &lt;head>
+        &lt;base 
href="http://localhost:8080/coreWeb/coretags/form/cases/index.jsp"; />
+    &lt;/head>
+    &lt;body>
+        &lt;a href="/coreWeb/coretags/form/cases/html.do">html&lt;/a>&lt;br>
+        Action: &lt;span>postNoForm&lt;/span>&lt;br>
+        Text: &lt;span>two&lt;/span>
+       &lt;p style="color:green">This is an XHTML generated document that 
contains
+       six different types of form submits.  Each type differs in either how
+       the form is submitted, or how the form binds to the bean.
+       &lt;/p>
+       &lt;table width="100%">
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case One -- Form Submit to an Action&lt;/h4>
+          &lt;p style="color:green">Normal button submit, and bean on 
action&lt;/p>
+           &lt;form id="html.f1" action="/coreWeb/coretags/form/cases/post.do" 
method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" />
+              &lt;input type="submit" value="submit" />
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Two -- Form Submit To PageFlow&lt;/h4>
+          &lt;p style="color:green">Normal button submit, binding to page 
flow&lt;/p>
+           &lt;form id="html.f2" 
action="/coreWeb/coretags/form/cases/postNoForm.do" method="post">
+              Text: &lt;input type="text" name="{pageFlow.textPage}" 
value="two" />
+              &lt;input type="submit" value="submit" />
+          &lt;/form>
+       &lt;/td>&lt;/tr>
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case Three -- Form Submit Override Action&lt;/h4>
+          &lt;p style="color:green">Override the action submitted on the 
button&lt;/p>
+           &lt;form id="html.f3" action="/coreWeb/coretags/form/cases/post.do" 
method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" />
+              &lt;input type="submit" name="actionOverride:postOverride" 
value="submit" />
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Four -- Form Submit Override Action/Different Bean&lt;/h4>
+          &lt;p style="color:green">Override the action and go to a different 
bean type&lt;/p>
+           &lt;form id="html.f4" action="/coreWeb/coretags/form/cases/post.do" 
method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" />
+              &lt;input type="submit" 
name="actionOverride:postOverrideNewForm" value="submit" />
+          &lt;/form>
+       &lt;/td>&lt;/tr>
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case Five -- Form Submit/Action UseBean&lt;/h4>
+          &lt;p style="color:green">Normal Submit, the action has a 
useFormBean binding to a bean&lt;/p>
+           &lt;form id="html.f5" 
action="/coreWeb/coretags/form/cases/postUseFormBean.do" method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" value="Bean 
Defined" />
+              &lt;input type="submit" value="submit" />
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Six -- Form Submit Direct Bean Binding&lt;/h4>
+          &lt;p style="color:green">Normal Submit, the form tag specifies a 
bean in the Session&lt;/p>
+           &lt;form id="html.f6" 
action="/coreWeb/coretags/form/cases/postDirect.do" method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" 
value="Direct Defined" />
+              &lt;input type="submit" value="submit" />
+          &lt;/form>
+       &lt;/td>&lt;/tr>
+        &lt;/table>
+    &lt;script language="JavaScript" type="text/JavaScript">
+&lt;!--
+
+// **** Start the NetUI Framework Generated JavaScript ****
+
+// Build the netui_names table to map the tagId attributes
+// to the real id written into the HTML
+if (netui_names == null)
+   var netui_names = new Object();
+netui_names.html__f2="html.f2"
+netui_names.html__f5="html.f5"
+netui_names.html__f1="html.f1"
+netui_names.html__f4="html.f4"
+netui_names.html__f6="html.f6"
+netui_names.html__f3="html.f3"
+
+
+// Build the netui_names table to map the tagId attributes
+// to the real id written into the HTML
+if (netui_tagIdNameMap == null)
+   var netui_tagIdNameMap = new Object();
+netui_tagIdNameMap.html___f2="html.f2"
+netui_tagIdNameMap.html___f5="html.f5"
+netui_tagIdNameMap.html___f1="html.f1"
+netui_tagIdNameMap.html___f4="html.f4"
+netui_tagIdNameMap.html___f6="html.f6"
+netui_tagIdNameMap.html___f3="html.f3"
+
+
+// method which will return a real id for a tagId,
+// the tag parameter will be used to find the idScope for
+// containers that may scope their ids
+function getNetuiTagName(id, tag)
+{
+   var idScope = getScopeId(tag);
+   if (idScope == "")
+      return netui_names[id];
+   else
+      return netui_names[idScope  + "__" + id];
+}
+
+// This method will walk the hierarchy from the pass element looking for a 
idScope.
+// The first idScope found will be returned or the empty string if a idScope 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:idScope");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
+// lookup by tagId to "real id"
+function lookupIdByTagId(id, tag)
+{
+   var idScope = lookupIdScope(tag,".");
+   return (idScope == "") ? id : idScope + id;
+}
+
+// lookup by tagId to "real name"
+function lookupNameByTagId(id, tag)
+{
+   var idScope = lookupIdScope(tag,"_");
+   if (idScope == "")
+      return netui_tagIdNameMap[id];
+   else
+      return netui_tagIdNameMap[idScope  + "__" + id];
+}
+
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupIdScope(tag,sep)
+{
+   var val = "";
+   if (sep == null) sep = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:idScope");
+      if (attrVal != null)
+         val = attrVal + sep + val;
+      tag = tag.parentNode;
+   }
+   return val;
+}
+-->
+&lt;/script>&lt;/div>
+&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>/coreWeb/coretags/form/cases/post.do</ses:uri>
+            <ses:method>POST</ses:method>
+            <ses:parameters>
+               <ses:parameter>
+                  <ses:name>actionOverride:postOverride</ses:name>
+                  <ses:value>submit</ses:value>
+               </ses:parameter>
+               <ses:parameter>
+                  <ses:name>{actionForm.text}</ses:name>
+                  <ses:value>three</ses:value>
+               </ses:parameter>
+            </ses:parameters>
+            <ses:cookies>
+               <ses:cookie>
+                  <ses:name>JSESSIONID</ses:name>
+                  <ses:value>D17FA2E37F84E14AD6FF81CEE574E9AB</ses:value>
+               </ses:cookie>
+            </ses:cookies>
+            <ses:headers>
+               <ses:header>
+                  <ses:name>-------</ses:name>
+                  
<ses:value>----:-----------:----------------------------------------------</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>---------------</ses:name>
+                  <ses:value>------------</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept</ses:name>
+                  
<ses:value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-charset</ses:name>
+                  <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-language</ses:name>
+                  <ses:value>en-us,en;q=0.5</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>connection</ses:name>
+                  <ses:value>keep-alive</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>content-length</ses:name>
+                  <ses:value>64</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=D17FA2E37F84E14AD6FF81CEE574E9AB</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;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 
Transitional//EN"
+       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+&lt;html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"; 
netui:idScope="html">
+
+    &lt;head>
+        &lt;base 
href="http://localhost:8080/coreWeb/coretags/form/cases/index.jsp"; />
+    &lt;/head>
+    &lt;body>
+        &lt;a href="/coreWeb/coretags/form/cases/html.do">html&lt;/a>&lt;br>
+        Action: &lt;span>postOverride&lt;/span>&lt;br>
+        Text: &lt;span>three&lt;/span>
+       &lt;p style="color:green">This is an XHTML generated document that 
contains
+       six different types of form submits.  Each type differs in either how
+       the form is submitted, or how the form binds to the bean.
+       &lt;/p>
+       &lt;table width="100%">
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case One -- Form Submit to an Action&lt;/h4>
+          &lt;p style="color:green">Normal button submit, and bean on 
action&lt;/p>
+           &lt;form id="html.f1" action="/coreWeb/coretags/form/cases/post.do" 
method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" />
+              &lt;input type="submit" value="submit" />
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Two -- Form Submit To PageFlow&lt;/h4>
+          &lt;p style="color:green">Normal button submit, binding to page 
flow&lt;/p>
+           &lt;form id="html.f2" 
action="/coreWeb/coretags/form/cases/postNoForm.do" method="post">
+              Text: &lt;input type="text" name="{pageFlow.textPage}" 
value="two" />
+              &lt;input type="submit" value="submit" />
+          &lt;/form>
+       &lt;/td>&lt;/tr>
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case Three -- Form Submit Override Action&lt;/h4>
+          &lt;p style="color:green">Override the action submitted on the 
button&lt;/p>
+           &lt;form id="html.f3" action="/coreWeb/coretags/form/cases/post.do" 
method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" />
+              &lt;input type="submit" name="actionOverride:postOverride" 
value="submit" />
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Four -- Form Submit Override Action/Different Bean&lt;/h4>
+          &lt;p style="color:green">Override the action and go to a different 
bean type&lt;/p>
+           &lt;form id="html.f4" action="/coreWeb/coretags/form/cases/post.do" 
method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" />
+              &lt;input type="submit" 
name="actionOverride:postOverrideNewForm" value="submit" />
+          &lt;/form>
+       &lt;/td>&lt;/tr>
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case Five -- Form Submit/Action UseBean&lt;/h4>
+          &lt;p style="color:green">Normal Submit, the action has a 
useFormBean binding to a bean&lt;/p>
+           &lt;form id="html.f5" 
action="/coreWeb/coretags/form/cases/postUseFormBean.do" method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" value="Bean 
Defined" />
+              &lt;input type="submit" value="submit" />
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Six -- Form Submit Direct Bean Binding&lt;/h4>
+          &lt;p style="color:green">Normal Submit, the form tag specifies a 
bean in the Session&lt;/p>
+           &lt;form id="html.f6" 
action="/coreWeb/coretags/form/cases/postDirect.do" method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" 
value="Direct Defined" />
+              &lt;input type="submit" value="submit" />
+          &lt;/form>
+       &lt;/td>&lt;/tr>
+        &lt;/table>
+    &lt;script language="JavaScript" type="text/JavaScript">
+&lt;!--
+
+// **** Start the NetUI Framework Generated JavaScript ****
+
+// Build the netui_names table to map the tagId attributes
+// to the real id written into the HTML
+if (netui_names == null)
+   var netui_names = new Object();
+netui_names.html__f2="html.f2"
+netui_names.html__f5="html.f5"
+netui_names.html__f1="html.f1"
+netui_names.html__f4="html.f4"
+netui_names.html__f6="html.f6"
+netui_names.html__f3="html.f3"
+
+
+// Build the netui_names table to map the tagId attributes
+// to the real id written into the HTML
+if (netui_tagIdNameMap == null)
+   var netui_tagIdNameMap = new Object();
+netui_tagIdNameMap.html___f2="html.f2"
+netui_tagIdNameMap.html___f5="html.f5"
+netui_tagIdNameMap.html___f1="html.f1"
+netui_tagIdNameMap.html___f4="html.f4"
+netui_tagIdNameMap.html___f6="html.f6"
+netui_tagIdNameMap.html___f3="html.f3"
+
+
+// method which will return a real id for a tagId,
+// the tag parameter will be used to find the idScope for
+// containers that may scope their ids
+function getNetuiTagName(id, tag)
+{
+   var idScope = getScopeId(tag);
+   if (idScope == "")
+      return netui_names[id];
+   else
+      return netui_names[idScope  + "__" + id];
+}
+
+// This method will walk the hierarchy from the pass element looking for a 
idScope.
+// The first idScope found will be returned or the empty string if a idScope 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:idScope");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
+// lookup by tagId to "real id"
+function lookupIdByTagId(id, tag)
+{
+   var idScope = lookupIdScope(tag,".");
+   return (idScope == "") ? id : idScope + id;
+}
+
+// lookup by tagId to "real name"
+function lookupNameByTagId(id, tag)
+{
+   var idScope = lookupIdScope(tag,"_");
+   if (idScope == "")
+      return netui_tagIdNameMap[id];
+   else
+      return netui_tagIdNameMap[idScope  + "__" + id];
+}
+
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupIdScope(tag,sep)
+{
+   var val = "";
+   if (sep == null) sep = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:idScope");
+      if (attrVal != null)
+         val = attrVal + sep + val;
+      tag = tag.parentNode;
+   }
+   return val;
+}
+-->
+&lt;/script>&lt;/div>
+&lt;/body>
+&lt;/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>/coreWeb/coretags/form/cases/post.do</ses:uri>
+            <ses:method>POST</ses:method>
+            <ses:parameters>
+               <ses:parameter>
+                  <ses:name>actionOverride:postOverrideNewForm</ses:name>
+                  <ses:value>submit</ses:value>
+               </ses:parameter>
+               <ses:parameter>
+                  <ses:name>{actionForm.text}</ses:name>
+                  <ses:value>four</ses:value>
+               </ses:parameter>
+            </ses:parameters>
+            <ses:cookies>
+               <ses:cookie>
+                  <ses:name>JSESSIONID</ses:name>
+                  <ses:value>D17FA2E37F84E14AD6FF81CEE574E9AB</ses:value>
+               </ses:cookie>
+            </ses:cookies>
+            <ses:headers>
+               <ses:header>
+                  <ses:name>-------</ses:name>
+                  
<ses:value>----:-----------:----------------------------------------</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>---------------</ses:name>
+                  <ses:value>------------</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept</ses:name>
+                  
<ses:value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-charset</ses:name>
+                  <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-language</ses:name>
+                  <ses:value>en-us,en;q=0.5</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>connection</ses:name>
+                  <ses:value>keep-alive</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>content-length</ses:name>
+                  <ses:value>70</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=D17FA2E37F84E14AD6FF81CEE574E9AB</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;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 
Transitional//EN"
+       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+&lt;html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"; 
netui:idScope="html">
+
+    &lt;head>
+        &lt;base 
href="http://localhost:8080/coreWeb/coretags/form/cases/index.jsp"; />
+    &lt;/head>
+    &lt;body>
+        &lt;a href="/coreWeb/coretags/form/cases/html.do">html&lt;/a>&lt;br>
+        Action: &lt;span>postOverrideNewForm&lt;/span>&lt;br>
+        Text: &lt;span>four&lt;/span>
+       &lt;p style="color:green">This is an XHTML generated document that 
contains
+       six different types of form submits.  Each type differs in either how
+       the form is submitted, or how the form binds to the bean.
+       &lt;/p>
+       &lt;table width="100%">
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case One -- Form Submit to an Action&lt;/h4>
+          &lt;p style="color:green">Normal button submit, and bean on 
action&lt;/p>
+           &lt;form id="html.f1" action="/coreWeb/coretags/form/cases/post.do" 
method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" />
+              &lt;input type="submit" value="submit" />
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Two -- Form Submit To PageFlow&lt;/h4>
+          &lt;p style="color:green">Normal button submit, binding to page 
flow&lt;/p>
+           &lt;form id="html.f2" 
action="/coreWeb/coretags/form/cases/postNoForm.do" method="post">
+              Text: &lt;input type="text" name="{pageFlow.textPage}" 
value="two" />
+              &lt;input type="submit" value="submit" />
+          &lt;/form>
+       &lt;/td>&lt;/tr>
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case Three -- Form Submit Override Action&lt;/h4>
+          &lt;p style="color:green">Override the action submitted on the 
button&lt;/p>
+           &lt;form id="html.f3" action="/coreWeb/coretags/form/cases/post.do" 
method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" />
+              &lt;input type="submit" name="actionOverride:postOverride" 
value="submit" />
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Four -- Form Submit Override Action/Different Bean&lt;/h4>
+          &lt;p style="color:green">Override the action and go to a different 
bean type&lt;/p>
+           &lt;form id="html.f4" action="/coreWeb/coretags/form/cases/post.do" 
method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" />
+              &lt;input type="submit" 
name="actionOverride:postOverrideNewForm" value="submit" />
+          &lt;/form>
+       &lt;/td>&lt;/tr>
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case Five -- Form Submit/Action UseBean&lt;/h4>
+          &lt;p style="color:green">Normal Submit, the action has a 
useFormBean binding to a bean&lt;/p>
+           &lt;form id="html.f5" 
action="/coreWeb/coretags/form/cases/postUseFormBean.do" method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" value="Bean 
Defined" />
+              &lt;input type="submit" value="submit" />
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Six -- Form Submit Direct Bean Binding&lt;/h4>
+          &lt;p style="color:green">Normal Submit, the form tag specifies a 
bean in the Session&lt;/p>
+           &lt;form id="html.f6" 
action="/coreWeb/coretags/form/cases/postDirect.do" method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" 
value="Direct Defined" />
+              &lt;input type="submit" value="submit" />
+          &lt;/form>
+       &lt;/td>&lt;/tr>
+        &lt;/table>
+    &lt;script language="JavaScript" type="text/JavaScript">
+&lt;!--
+
+// **** Start the NetUI Framework Generated JavaScript ****
+
+// Build the netui_names table to map the tagId attributes
+// to the real id written into the HTML
+if (netui_names == null)
+   var netui_names = new Object();
+netui_names.html__f2="html.f2"
+netui_names.html__f5="html.f5"
+netui_names.html__f1="html.f1"
+netui_names.html__f4="html.f4"
+netui_names.html__f6="html.f6"
+netui_names.html__f3="html.f3"
+
+
+// Build the netui_names table to map the tagId attributes
+// to the real id written into the HTML
+if (netui_tagIdNameMap == null)
+   var netui_tagIdNameMap = new Object();
+netui_tagIdNameMap.html___f2="html.f2"
+netui_tagIdNameMap.html___f5="html.f5"
+netui_tagIdNameMap.html___f1="html.f1"
+netui_tagIdNameMap.html___f4="html.f4"
+netui_tagIdNameMap.html___f6="html.f6"
+netui_tagIdNameMap.html___f3="html.f3"
+
+
+// method which will return a real id for a tagId,
+// the tag parameter will be used to find the idScope for
+// containers that may scope their ids
+function getNetuiTagName(id, tag)
+{
+   var idScope = getScopeId(tag);
+   if (idScope == "")
+      return netui_names[id];
+   else
+      return netui_names[idScope  + "__" + id];
+}
+
+// This method will walk the hierarchy from the pass element looking for a 
idScope.
+// The first idScope found will be returned or the empty string if a idScope 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:idScope");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
+// lookup by tagId to "real id"
+function lookupIdByTagId(id, tag)
+{
+   var idScope = lookupIdScope(tag,".");
+   return (idScope == "") ? id : idScope + id;
+}
+
+// lookup by tagId to "real name"
+function lookupNameByTagId(id, tag)
+{
+   var idScope = lookupIdScope(tag,"_");
+   if (idScope == "")
+      return netui_tagIdNameMap[id];
+   else
+      return netui_tagIdNameMap[idScope  + "__" + id];
+}
+
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupIdScope(tag,sep)
+{
+   var val = "";
+   if (sep == null) sep = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:idScope");
+      if (attrVal != null)
+         val = attrVal + sep + val;
+      tag = tag.parentNode;
+   }
+   return val;
+}
+-->
+&lt;/script>&lt;/div>
+&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>/coreWeb/coretags/form/cases/postUseFormBean.do</ses:uri>
+            <ses:method>POST</ses:method>
+            <ses:parameters>
+               <ses:parameter>
+                  <ses:name>{actionForm.text}</ses:name>
+                  <ses:value>Bean Defined</ses:value>
+               </ses:parameter>
+            </ses:parameters>
+            <ses:cookies>
+               <ses:cookie>
+                  <ses:name>JSESSIONID</ses:name>
+                  <ses:value>D17FA2E37F84E14AD6FF81CEE574E9AB</ses:value>
+               </ses:cookie>
+            </ses:cookies>
+            <ses:headers>
+               <ses:header>
+                  <ses:name>-------</ses:name>
+                  
<ses:value>----:-----------:----------------------------------------</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>---------------</ses:name>
+                  <ses:value>------------</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept</ses:name>
+                  
<ses:value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-charset</ses:name>
+                  <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-language</ses:name>
+                  <ses:value>en-us,en;q=0.5</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>connection</ses:name>
+                  <ses:value>keep-alive</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>content-length</ses:name>
+                  <ses:value>34</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=D17FA2E37F84E14AD6FF81CEE574E9AB</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;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 
Transitional//EN"
+       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+&lt;html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"; 
netui:idScope="html">
+
+    &lt;head>
+        &lt;base 
href="http://localhost:8080/coreWeb/coretags/form/cases/index.jsp"; />
+    &lt;/head>
+    &lt;body>
+        &lt;a href="/coreWeb/coretags/form/cases/html.do">html&lt;/a>&lt;br>
+        Action: &lt;span>useFormBean&lt;/span>&lt;br>
+        Text: &lt;span>Bean Defined&lt;/span>
+       &lt;p style="color:green">This is an XHTML generated document that 
contains
+       six different types of form submits.  Each type differs in either how
+       the form is submitted, or how the form binds to the bean.
+       &lt;/p>
+       &lt;table width="100%">
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case One -- Form Submit to an Action&lt;/h4>
+          &lt;p style="color:green">Normal button submit, and bean on 
action&lt;/p>
+           &lt;form id="html.f1" action="/coreWeb/coretags/form/cases/post.do" 
method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" />
+              &lt;input type="submit" value="submit" />
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Two -- Form Submit To PageFlow&lt;/h4>
+          &lt;p style="color:green">Normal button submit, binding to page 
flow&lt;/p>
+           &lt;form id="html.f2" 
action="/coreWeb/coretags/form/cases/postNoForm.do" method="post">
+              Text: &lt;input type="text" name="{pageFlow.textPage}" 
value="two" />
+              &lt;input type="submit" value="submit" />
+          &lt;/form>
+       &lt;/td>&lt;/tr>
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case Three -- Form Submit Override Action&lt;/h4>
+          &lt;p style="color:green">Override the action submitted on the 
button&lt;/p>
+           &lt;form id="html.f3" action="/coreWeb/coretags/form/cases/post.do" 
method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" />
+              &lt;input type="submit" name="actionOverride:postOverride" 
value="submit" />
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Four -- Form Submit Override Action/Different Bean&lt;/h4>
+          &lt;p style="color:green">Override the action and go to a different 
bean type&lt;/p>
+           &lt;form id="html.f4" action="/coreWeb/coretags/form/cases/post.do" 
method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" />
+              &lt;input type="submit" 
name="actionOverride:postOverrideNewForm" value="submit" />
+          &lt;/form>
+       &lt;/td>&lt;/tr>
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case Five -- Form Submit/Action UseBean&lt;/h4>
+          &lt;p style="color:green">Normal Submit, the action has a 
useFormBean binding to a bean&lt;/p>
+           &lt;form id="html.f5" 
action="/coreWeb/coretags/form/cases/postUseFormBean.do" method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" value="Bean 
Defined" />
+              &lt;input type="submit" value="submit" />
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Six -- Form Submit Direct Bean Binding&lt;/h4>
+          &lt;p style="color:green">Normal Submit, the form tag specifies a 
bean in the Session&lt;/p>
+           &lt;form id="html.f6" 
action="/coreWeb/coretags/form/cases/postDirect.do" method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" 
value="Direct Defined" />
+              &lt;input type="submit" value="submit" />
+          &lt;/form>
+       &lt;/td>&lt;/tr>
+        &lt;/table>
+    &lt;script language="JavaScript" type="text/JavaScript">
+&lt;!--
+
+// **** Start the NetUI Framework Generated JavaScript ****
+
+// Build the netui_names table to map the tagId attributes
+// to the real id written into the HTML
+if (netui_names == null)
+   var netui_names = new Object();
+netui_names.html__f2="html.f2"
+netui_names.html__f5="html.f5"
+netui_names.html__f1="html.f1"
+netui_names.html__f4="html.f4"
+netui_names.html__f6="html.f6"
+netui_names.html__f3="html.f3"
+
+
+// Build the netui_names table to map the tagId attributes
+// to the real id written into the HTML
+if (netui_tagIdNameMap == null)
+   var netui_tagIdNameMap = new Object();
+netui_tagIdNameMap.html___f2="html.f2"
+netui_tagIdNameMap.html___f5="html.f5"
+netui_tagIdNameMap.html___f1="html.f1"
+netui_tagIdNameMap.html___f4="html.f4"
+netui_tagIdNameMap.html___f6="html.f6"
+netui_tagIdNameMap.html___f3="html.f3"
+
+
+// method which will return a real id for a tagId,
+// the tag parameter will be used to find the idScope for
+// containers that may scope their ids
+function getNetuiTagName(id, tag)
+{
+   var idScope = getScopeId(tag);
+   if (idScope == "")
+      return netui_names[id];
+   else
+      return netui_names[idScope  + "__" + id];
+}
+
+// This method will walk the hierarchy from the pass element looking for a 
idScope.
+// The first idScope found will be returned or the empty string if a idScope 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:idScope");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
+// lookup by tagId to "real id"
+function lookupIdByTagId(id, tag)
+{
+   var idScope = lookupIdScope(tag,".");
+   return (idScope == "") ? id : idScope + id;
+}
+
+// lookup by tagId to "real name"
+function lookupNameByTagId(id, tag)
+{
+   var idScope = lookupIdScope(tag,"_");
+   if (idScope == "")
+      return netui_tagIdNameMap[id];
+   else
+      return netui_tagIdNameMap[idScope  + "__" + id];
+}
+
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupIdScope(tag,sep)
+{
+   var val = "";
+   if (sep == null) sep = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:idScope");
+      if (attrVal != null)
+         val = attrVal + sep + val;
+      tag = tag.parentNode;
+   }
+   return val;
+}
+-->
+&lt;/script>&lt;/div>
+&lt;/body>
+&lt;/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>/coreWeb/coretags/form/cases/postDirect.do</ses:uri>
+            <ses:method>POST</ses:method>
+            <ses:parameters>
+               <ses:parameter>
+                  <ses:name>{actionForm.text}</ses:name>
+                  <ses:value>Direct Defined</ses:value>
+               </ses:parameter>
+            </ses:parameters>
+            <ses:cookies>
+               <ses:cookie>
+                  <ses:name>JSESSIONID</ses:name>
+                  <ses:value>D17FA2E37F84E14AD6FF81CEE574E9AB</ses:value>
+               </ses:cookie>
+            </ses:cookies>
+            <ses:headers>
+               <ses:header>
+                  <ses:name>-------</ses:name>
+                  
<ses:value>----:-----------:---------------------------------------------------</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>---------------</ses:name>
+                  <ses:value>------------</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept</ses:name>
+                  
<ses:value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-charset</ses:name>
+                  <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-language</ses:name>
+                  <ses:value>en-us,en;q=0.5</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>connection</ses:name>
+                  <ses:value>keep-alive</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>content-length</ses:name>
+                  <ses:value>36</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=D17FA2E37F84E14AD6FF81CEE574E9AB</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;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 
Transitional//EN"
+       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+&lt;html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"; 
netui:idScope="html">
+
+    &lt;head>
+        &lt;base 
href="http://localhost:8080/coreWeb/coretags/form/cases/index.jsp"; />
+    &lt;/head>
+    &lt;body>
+        &lt;a href="/coreWeb/coretags/form/cases/html.do">html&lt;/a>&lt;br>
+        Action: &lt;span>direct&lt;/span>&lt;br>
+        Text: &lt;span>Direct Defined&lt;/span>
+       &lt;p style="color:green">This is an XHTML generated document that 
contains
+       six different types of form submits.  Each type differs in either how
+       the form is submitted, or how the form binds to the bean.
+       &lt;/p>
+       &lt;table width="100%">
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case One -- Form Submit to an Action&lt;/h4>
+          &lt;p style="color:green">Normal button submit, and bean on 
action&lt;/p>
+           &lt;form id="html.f1" action="/coreWeb/coretags/form/cases/post.do" 
method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" />
+              &lt;input type="submit" value="submit" />
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Two -- Form Submit To PageFlow&lt;/h4>
+          &lt;p style="color:green">Normal button submit, binding to page 
flow&lt;/p>
+           &lt;form id="html.f2" 
action="/coreWeb/coretags/form/cases/postNoForm.do" method="post">
+              Text: &lt;input type="text" name="{pageFlow.textPage}" 
value="two" />
+              &lt;input type="submit" value="submit" />
+          &lt;/form>
+       &lt;/td>&lt;/tr>
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case Three -- Form Submit Override Action&lt;/h4>
+          &lt;p style="color:green">Override the action submitted on the 
button&lt;/p>
+           &lt;form id="html.f3" action="/coreWeb/coretags/form/cases/post.do" 
method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" />
+              &lt;input type="submit" name="actionOverride:postOverride" 
value="submit" />
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Four -- Form Submit Override Action/Different Bean&lt;/h4>
+          &lt;p style="color:green">Override the action and go to a different 
bean type&lt;/p>
+           &lt;form id="html.f4" action="/coreWeb/coretags/form/cases/post.do" 
method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" />
+              &lt;input type="submit" 
name="actionOverride:postOverrideNewForm" value="submit" />
+          &lt;/form>
+       &lt;/td>&lt;/tr>
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case Five -- Form Submit/Action UseBean&lt;/h4>
+          &lt;p style="color:green">Normal Submit, the action has a 
useFormBean binding to a bean&lt;/p>
+           &lt;form id="html.f5" 
action="/coreWeb/coretags/form/cases/postUseFormBean.do" method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" value="Bean 
Defined" />
+              &lt;input type="submit" value="submit" />
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Six -- Form Submit Direct Bean Binding&lt;/h4>
+          &lt;p style="color:green">Normal Submit, the form tag specifies a 
bean in the Session&lt;/p>
+           &lt;form id="html.f6" 
action="/coreWeb/coretags/form/cases/postDirect.do" method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" 
value="Direct Defined" />
+              &lt;input type="submit" value="submit" />
+          &lt;/form>
+       &lt;/td>&lt;/tr>
+        &lt;/table>
+    &lt;script language="JavaScript" type="text/JavaScript">
+&lt;!--
+
+// **** Start the NetUI Framework Generated JavaScript ****
+
+// Build the netui_names table to map the tagId attributes
+// to the real id written into the HTML
+if (netui_names == null)
+   var netui_names = new Object();
+netui_names.html__f2="html.f2"
+netui_names.html__f5="html.f5"
+netui_names.html__f1="html.f1"
+netui_names.html__f4="html.f4"
+netui_names.html__f6="html.f6"
+netui_names.html__f3="html.f3"
+
+
+// Build the netui_names table to map the tagId attributes
+// to the real id written into the HTML
+if (netui_tagIdNameMap == null)
+   var netui_tagIdNameMap = new Object();
+netui_tagIdNameMap.html___f2="html.f2"
+netui_tagIdNameMap.html___f5="html.f5"
+netui_tagIdNameMap.html___f1="html.f1"
+netui_tagIdNameMap.html___f4="html.f4"
+netui_tagIdNameMap.html___f6="html.f6"
+netui_tagIdNameMap.html___f3="html.f3"
+
+
+// method which will return a real id for a tagId,
+// the tag parameter will be used to find the idScope for
+// containers that may scope their ids
+function getNetuiTagName(id, tag)
+{
+   var idScope = getScopeId(tag);
+   if (idScope == "")
+      return netui_names[id];
+   else
+      return netui_names[idScope  + "__" + id];
+}
+
+// This method will walk the hierarchy from the pass element looking for a 
idScope.
+// The first idScope found will be returned or the empty string if a idScope 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:idScope");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
+// lookup by tagId to "real id"
+function lookupIdByTagId(id, tag)
+{
+   var idScope = lookupIdScope(tag,".");
+   return (idScope == "") ? id : idScope + id;
+}
+
+// lookup by tagId to "real name"
+function lookupNameByTagId(id, tag)
+{
+   var idScope = lookupIdScope(tag,"_");
+   if (idScope == "")
+      return netui_tagIdNameMap[id];
+   else
+      return netui_tagIdNameMap[idScope  + "__" + id];
+}
+
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupIdScope(tag,sep)
+{
+   var val = "";
+   if (sep == null) sep = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:idScope");
+      if (attrVal != null)
+         val = attrVal + sep + val;
+      tag = tag.parentNode;
+   }
+   return val;
+}
+-->
+&lt;/script>&lt;/div>
+&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>/coreWeb/coretags/form/cases/html.do</ses:uri>
+            <ses:method>GET</ses:method>
+            <ses:parameters/>
+            <ses:cookies>
+               <ses:cookie>
+                  <ses:name>JSESSIONID</ses:name>
+                  <ses:value>D17FA2E37F84E14AD6FF81CEE574E9AB</ses:value>
+               </ses:cookie>
+            </ses:cookies>
+            <ses:headers>
+               <ses:header>
+                  <ses:name>-------</ses:name>
+                  
<ses:value>----:-----------:----------------------------------------------</ses:value>
+               </ses:header>
+               <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=D17FA2E37F84E14AD6FF81CEE574E9AB</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;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 
Transitional//EN"
+       "http://www.w3.org/TR/html4/loose.dtd";>
+&lt;html lang="en" netui:idScope="html">
+
+    &lt;head>
+        &lt;base 
href="http://localhost:8080/coreWeb/coretags/form/cases/html.jsp";>
+    &lt;/head>
+    &lt;body>
+        &lt;a href="/coreWeb/coretags/form/cases/begin.do">xhtml&lt;/a>&lt;br>
+        Action: &lt;span>html&lt;/span>&lt;br>
+        Text: &lt;span>Direct Defined&lt;/span>
+       &lt;p style="color:green">This is an HTML generated document that 
contains
+       six different types of form submits.  Each type differs in either how
+       the form is submitted, or how the form binds to the bean.
+       &lt;/p>
+       &lt;table width="100%">
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case One -- Form Submit to an Action&lt;/h4>
+          &lt;p style="color:green">Normal button submit, and bean on 
action&lt;/p>
+           &lt;form name="html.f1" id="html.f1" 
action="/coreWeb/coretags/form/cases/post.do" method="post">
+              Text: &lt;input type="text" name="{actionForm.text}">
+              &lt;input type="submit" value="submit">
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Two -- Form Submit To PageFlow&lt;/h4>
+          &lt;p style="color:green">Normal button submit, binding to page 
flow&lt;/p>
+           &lt;form name="html.f2" id="html.f2" 
action="/coreWeb/coretags/form/cases/postNoForm.do" method="post">
+              Text: &lt;input type="text" name="{pageFlow.textPage}" 
value="two">
+              &lt;input type="submit" value="submit">
+          &lt;/form>
+       &lt;/td>&lt;/tr>
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case Three -- Form Submit Override Action&lt;/h4>
+          &lt;p style="color:green">Override the action submitted on the 
button&lt;/p>
+           &lt;form name="html.f3" id="html.f3" 
action="/coreWeb/coretags/form/cases/post.do" method="post">
+              Text: &lt;input type="text" name="{actionForm.text}">
+              &lt;input type="submit" name="actionOverride:postOverride" 
value="submit">
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Four -- Form Submit Override Action/Different Bean&lt;/h4>
+          &lt;p style="color:green">Override the action and go to a different 
bean type&lt;/p>
+           &lt;form name="html.f4" id="html.f4" 
action="/coreWeb/coretags/form/cases/post.do" method="post">
+              Text: &lt;input type="text" name="{actionForm.text}">
+              &lt;input type="submit" 
name="actionOverride:postOverrideNewForm" value="submit">
+          &lt;/form>
+       &lt;/td>&lt;/tr>
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case Five -- Form Submit/Action UseBean&lt;/h4>
+          &lt;p style="color:green">Normal Submit, the action has a 
useFormBean binding to a bean&lt;/p>
+           &lt;form name="html.f5" id="html.f5" 
action="/coreWeb/coretags/form/cases/postUseFormBean.do" method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" value="Bean 
Defined">
+              &lt;input type="submit" value="submit">
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Six -- Form Submit Direct Bean Binding&lt;/h4>
+          &lt;p style="color:green">Normal Submit, the form tag specifies a 
bean in the Session&lt;/p>
+           &lt;form name="html.f6" id="html.f6" 
action="/coreWeb/coretags/form/cases/postDirect.do" method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" 
value="Direct Defined">
+              &lt;input type="submit" value="submit">
+          &lt;/form>
+       &lt;/td>&lt;/tr>
+        &lt;/table>
+    &lt;script language="JavaScript" type="text/JavaScript">
+&lt;!--
+
+// **** Start the NetUI Framework Generated JavaScript ****
+
+// Build the netui_names table to map the tagId attributes
+// to the real id written into the HTML
+if (netui_names == null)
+   var netui_names = new Object();
+netui_names.html__f2="html.f2"
+netui_names.html__f5="html.f5"
+netui_names.html__f1="html.f1"
+netui_names.html__f4="html.f4"
+netui_names.html__f6="html.f6"
+netui_names.html__f3="html.f3"
+
+
+// Build the netui_names table to map the tagId attributes
+// to the real id written into the HTML
+if (netui_tagIdNameMap == null)
+   var netui_tagIdNameMap = new Object();
+netui_tagIdNameMap.html___f2="html.f2"
+netui_tagIdNameMap.html___f5="html.f5"
+netui_tagIdNameMap.html___f1="html.f1"
+netui_tagIdNameMap.html___f4="html.f4"
+netui_tagIdNameMap.html___f6="html.f6"
+netui_tagIdNameMap.html___f3="html.f3"
+
+
+// method which will return a real id for a tagId,
+// the tag parameter will be used to find the idScope for
+// containers that may scope their ids
+function getNetuiTagName(id, tag)
+{
+   var idScope = getScopeId(tag);
+   if (idScope == "")
+      return netui_names[id];
+   else
+      return netui_names[idScope  + "__" + id];
+}
+
+// This method will walk the hierarchy from the pass element looking for a 
idScope.
+// The first idScope found will be returned or the empty string if a idScope 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:idScope");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
+// lookup by tagId to "real id"
+function lookupIdByTagId(id, tag)
+{
+   var idScope = lookupIdScope(tag,".");
+   return (idScope == "") ? id : idScope + id;
+}
+
+// lookup by tagId to "real name"
+function lookupNameByTagId(id, tag)
+{
+   var idScope = lookupIdScope(tag,"_");
+   if (idScope == "")
+      return netui_tagIdNameMap[id];
+   else
+      return netui_tagIdNameMap[idScope  + "__" + id];
+}
+
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupIdScope(tag,sep)
+{
+   var val = "";
+   if (sep == null) sep = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:idScope");
+      if (attrVal != null)
+         val = attrVal + sep + val;
+      tag = tag.parentNode;
+   }
+   return val;
+}
+-->
+&lt;/script>&lt;/div>
+&lt;/body>
+&lt;/html></ses:responseBody>
+         </ses:response>
+      </ses:test>
+      <ses:test>
+         <ses:testNumber>9</ses:testNumber>
+         <ses:request>
+            <ses:protocol>HTTP</ses:protocol>
+            <ses:protocolVersion>1.1</ses:protocolVersion>
+            <ses:host>localhost</ses:host>
+            <ses:port>8080</ses:port>
+            <ses:uri>/coreWeb/coretags/form/cases/post.do</ses:uri>
+            <ses:method>POST</ses:method>
+            <ses:parameters>
+               <ses:parameter>
+                  <ses:name>{actionForm.text}</ses:name>
+                  <ses:value>one</ses:value>
+               </ses:parameter>
+            </ses:parameters>
+            <ses:cookies>
+               <ses:cookie>
+                  <ses:name>JSESSIONID</ses:name>
+                  <ses:value>D17FA2E37F84E14AD6FF81CEE574E9AB</ses:value>
+               </ses:cookie>
+            </ses:cookies>
+            <ses:headers>
+               <ses:header>
+                  <ses:name>-------</ses:name>
+                  
<ses:value>----:-----------:----------------------------------------</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>---------------</ses:name>
+                  <ses:value>------------</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept</ses:name>
+                  
<ses:value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-charset</ses:name>
+                  <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-language</ses:name>
+                  <ses:value>en-us,en;q=0.5</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>connection</ses:name>
+                  <ses:value>keep-alive</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>content-length</ses:name>
+                  <ses:value>25</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=D17FA2E37F84E14AD6FF81CEE574E9AB</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;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 
Transitional//EN"
+       "http://www.w3.org/TR/html4/loose.dtd";>
+&lt;html lang="en" netui:idScope="html">
+
+    &lt;head>
+        &lt;base 
href="http://localhost:8080/coreWeb/coretags/form/cases/html.jsp";>
+    &lt;/head>
+    &lt;body>
+        &lt;a href="/coreWeb/coretags/form/cases/begin.do">xhtml&lt;/a>&lt;br>
+        Action: &lt;span>post&lt;/span>&lt;br>
+        Text: &lt;span>one&lt;/span>
+       &lt;p style="color:green">This is an HTML generated document that 
contains
+       six different types of form submits.  Each type differs in either how
+       the form is submitted, or how the form binds to the bean.
+       &lt;/p>
+       &lt;table width="100%">
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case One -- Form Submit to an Action&lt;/h4>
+          &lt;p style="color:green">Normal button submit, and bean on 
action&lt;/p>
+           &lt;form name="html.f1" id="html.f1" 
action="/coreWeb/coretags/form/cases/post.do" method="post">
+              Text: &lt;input type="text" name="{actionForm.text}">
+              &lt;input type="submit" value="submit">
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Two -- Form Submit To PageFlow&lt;/h4>
+          &lt;p style="color:green">Normal button submit, binding to page 
flow&lt;/p>
+           &lt;form name="html.f2" id="html.f2" 
action="/coreWeb/coretags/form/cases/postNoForm.do" method="post">
+              Text: &lt;input type="text" name="{pageFlow.textPage}" 
value="two">
+              &lt;input type="submit" value="submit">
+          &lt;/form>
+       &lt;/td>&lt;/tr>
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case Three -- Form Submit Override Action&lt;/h4>
+          &lt;p style="color:green">Override the action submitted on the 
button&lt;/p>
+           &lt;form name="html.f3" id="html.f3" 
action="/coreWeb/coretags/form/cases/post.do" method="post">
+              Text: &lt;input type="text" name="{actionForm.text}">
+              &lt;input type="submit" name="actionOverride:postOverride" 
value="submit">
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Four -- Form Submit Override Action/Different Bean&lt;/h4>
+          &lt;p style="color:green">Override the action and go to a different 
bean type&lt;/p>
+           &lt;form name="html.f4" id="html.f4" 
action="/coreWeb/coretags/form/cases/post.do" method="post">
+              Text: &lt;input type="text" name="{actionForm.text}">
+              &lt;input type="submit" 
name="actionOverride:postOverrideNewForm" value="submit">
+          &lt;/form>
+       &lt;/td>&lt;/tr>
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case Five -- Form Submit/Action UseBean&lt;/h4>
+          &lt;p style="color:green">Normal Submit, the action has a 
useFormBean binding to a bean&lt;/p>
+           &lt;form name="html.f5" id="html.f5" 
action="/coreWeb/coretags/form/cases/postUseFormBean.do" method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" value="Bean 
Defined">
+              &lt;input type="submit" value="submit">
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Six -- Form Submit Direct Bean Binding&lt;/h4>
+          &lt;p style="color:green">Normal Submit, the form tag specifies a 
bean in the Session&lt;/p>
+           &lt;form name="html.f6" id="html.f6" 
action="/coreWeb/coretags/form/cases/postDirect.do" method="post">
+              Text: &lt;input type="text" name="{actionForm.text}" 
value="Direct Defined">
+              &lt;input type="submit" value="submit">
+          &lt;/form>
+       &lt;/td>&lt;/tr>
+        &lt;/table>
+    &lt;script language="JavaScript" type="text/JavaScript">
+&lt;!--
+
+// **** Start the NetUI Framework Generated JavaScript ****
+
+// Build the netui_names table to map the tagId attributes
+// to the real id written into the HTML
+if (netui_names == null)
+   var netui_names = new Object();
+netui_names.html__f2="html.f2"
+netui_names.html__f5="html.f5"
+netui_names.html__f1="html.f1"
+netui_names.html__f4="html.f4"
+netui_names.html__f6="html.f6"
+netui_names.html__f3="html.f3"
+
+
+// Build the netui_names table to map the tagId attributes
+// to the real id written into the HTML
+if (netui_tagIdNameMap == null)
+   var netui_tagIdNameMap = new Object();
+netui_tagIdNameMap.html___f2="html.f2"
+netui_tagIdNameMap.html___f5="html.f5"
+netui_tagIdNameMap.html___f1="html.f1"
+netui_tagIdNameMap.html___f4="html.f4"
+netui_tagIdNameMap.html___f6="html.f6"
+netui_tagIdNameMap.html___f3="html.f3"
+
+
+// method which will return a real id for a tagId,
+// the tag parameter will be used to find the idScope for
+// containers that may scope their ids
+function getNetuiTagName(id, tag)
+{
+   var idScope = getScopeId(tag);
+   if (idScope == "")
+      return netui_names[id];
+   else
+      return netui_names[idScope  + "__" + id];
+}
+
+// This method will walk the hierarchy from the pass element looking for a 
idScope.
+// The first idScope found will be returned or the empty string if a idScope 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:idScope");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
+// lookup by tagId to "real id"
+function lookupIdByTagId(id, tag)
+{
+   var idScope = lookupIdScope(tag,".");
+   return (idScope == "") ? id : idScope + id;
+}
+
+// lookup by tagId to "real name"
+function lookupNameByTagId(id, tag)
+{
+   var idScope = lookupIdScope(tag,"_");
+   if (idScope == "")
+      return netui_tagIdNameMap[id];
+   else
+      return netui_tagIdNameMap[idScope  + "__" + id];
+}
+
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupIdScope(tag,sep)
+{
+   var val = "";
+   if (sep == null) sep = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:idScope");
+      if (attrVal != null)
+         val = attrVal + sep + val;
+      tag = tag.parentNode;
+   }
+   return val;
+}
+-->
+&lt;/script>&lt;/div>
+&lt;/body>
+&lt;/html></ses:responseBody>
+         </ses:response>
+      </ses:test>
+      <ses:test>
+         <ses:testNumber>10</ses:testNumber>
+         <ses:request>
+            <ses:protocol>HTTP</ses:protocol>
+            <ses:protocolVersion>1.1</ses:protocolVersion>
+            <ses:host>localhost</ses:host>
+            <ses:port>8080</ses:port>
+            <ses:uri>/coreWeb/coretags/form/cases/postNoForm.do</ses:uri>
+            <ses:method>POST</ses:method>
+            <ses:parameters>
+               <ses:parameter>
+                  <ses:name>{pageFlow.textPage}</ses:name>
+                  <ses:value>two</ses:value>
+               </ses:parameter>
+            </ses:parameters>
+            <ses:cookies>
+               <ses:cookie>
+                  <ses:name>JSESSIONID</ses:name>
+                  <ses:value>D17FA2E37F84E14AD6FF81CEE574E9AB</ses:value>
+               </ses:cookie>
+            </ses:cookies>
+            <ses:headers>
+               <ses:header>
+                  <ses:name>-------</ses:name>
+                  
<ses:value>----:-----------:----------------------------------------</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>---------------</ses:name>
+                  <ses:value>------------</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept</ses:name>
+                  
<ses:value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-charset</ses:name>
+                  <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-language</ses:name>
+                  <ses:value>en-us,en;q=0.5</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>connection</ses:name>
+                  <ses:value>keep-alive</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>content-length</ses:name>
+                  <ses:value>27</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=D17FA2E37F84E14AD6FF81CEE574E9AB</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;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 
Transitional//EN"
+       "http://www.w3.org/TR/html4/loose.dtd";>
+&lt;html lang="en" netui:idScope="html">
+
+    &lt;head>
+        &lt;base 
href="http://localhost:8080/coreWeb/coretags/form/cases/html.jsp";>
+    &lt;/head>
+    &lt;body>
+        &lt;a href="/coreWeb/coretags/form/cases/begin.do">xhtml&lt;/a>&lt;br>
+        Action: &lt;span>postNoForm&lt;/span>&lt;br>
+        Text: &lt;span>two&lt;/span>
+       &lt;p style="color:green">This is an HTML generated document that 
contains
+       six different types of form submits.  Each type differs in either how
+       the form is submitted, or how the form binds to the bean.
+       &lt;/p>
+       &lt;table width="100%">
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case One -- Form Submit to an Action&lt;/h4>
+          &lt;p style="color:green">Normal button submit, and bean on 
action&lt;/p>
+           &lt;form name="html.f1" id="html.f1" 
action="/coreWeb/coretags/form/cases/post.do" method="post">
+              Text: &lt;input type="text" name="{actionForm.text}">
+              &lt;input type="submit" value="submit">
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Two -- Form Submit To PageFlow&lt;/h4>
+          &lt;p style="color:green">Normal button submit, binding to page 
flow&lt;/p>
+           &lt;form name="html.f2" id="html.f2" 
action="/coreWeb/coretags/form/cases/postNoForm.do" method="post">
+              Text: &lt;input type="text" name="{pageFlow.textPage}" 
value="two">
+              &lt;input type="submit" value="submit">
+          &lt;/form>
+       &lt;/td>&lt;/tr>
+       &lt;tr>&lt;td width="50%">
+       &lt;h4>Case Three -- Form Submit Override Action&lt;/h4>
+          &lt;p style="color:green">Override the action submitted on the 
button&lt;/p>
+           &lt;form name="html.f3" id="html.f3" 
action="/coreWeb/coretags/form/cases/post.do" method="post">
+              Text: &lt;input type="text" name="{actionForm.text}">
+              &lt;input type="submit" name="actionOverride:postOverride" 
value="submit">
+          &lt;/form>
+         &lt;/td>&lt;td width="50%">
+       &lt;h4>Case Four -- Form Submit Override Action/Different Bean&lt;/h4>
+          &lt;p style="color:green">Override the action and go to a different 
bean type&lt;/p>
+           &lt;form name="html.f4" id="html.f4" 
action="/coreWeb/coretags/form/cases/post.do" method="post">
+              Text: &lt;input type="text" name="{actionForm.text}">

[... 1026 lines stripped ...]

Reply via email to