Author: dolander
Date: Wed Jan 12 14:26:53 2005
New Revision: 124998

URL: http://svn.apache.org/viewcvs?view=rev&rev=124998
Log:
Remove the TagID to Id map from the JavaScript because the Id can
be constructed from the netui:scopeId attributes written into the HTMl



Modified:
   
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/JavaScriptUtils.java
   
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ScriptContainer.java
   
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/javaScript.properties
   
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/sc/scopeid/index.jsp
   
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/javascript/jsAllScript/index.jsp
   incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B34263.xml
   incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B34998.xml
   incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B39820.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ButtonSubmitTagId.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtAreaBase.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtButtonId.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtImageButtonId.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtScScopeId.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerCustomSelect.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DivPanel.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DivPanelTree.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapForm.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapFormNoHtml.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapGenScopeId.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapHtmlScopeId.xml
   incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapId.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapNonCtrls.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapScopeId.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapSpan.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/InheritControls.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScript.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScriptHtml.xml
   incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsFind.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsNoContainers.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortal.xml
   incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/OnTest.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteNameVar.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteTags.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RtexpTagId.xml
   incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagIds.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagSizeBinding.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlFormLabel.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr180865.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr183774.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsScriptScopeId.xml
   incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsid.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsidnohtml.xml

Modified: 
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/JavaScriptUtils.java
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/JavaScriptUtils.java?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/JavaScriptUtils.java&r1=124997&p2=incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/JavaScriptUtils.java&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/JavaScriptUtils.java
 (original)
+++ 
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/JavaScriptUtils.java
 Wed Jan 12 14:26:53 2005
@@ -42,6 +42,7 @@
     private static final int ALLOCATE_LEGACY = 0x0040;
     private static final int ALLOCATE_ID = 0x0080;
     private static final int ALLOCATE_NAME = 0x0100;
+    private static final int LEGACY_SCOPE_LOOKUP = 0x0200;
 
     private static final String BUNDLE_NAME = 
"org.apache.beehive.netui.tags.html.javaScript";
 
@@ -144,15 +145,9 @@
         if (realId != null) {
             if ((_javaScriptFeatures & ALLOCATE_ID) == 0) {
                 _javaScriptFeatures |= ALLOCATE_ID;
-                String s = getString("singleIdToIdMappingTable", new 
Object[]{tagId, realId});
                 String meths = writeNetuiNameFunctions(null, false, true, 
false);
                 if (meths != null)
-                    s += meths;
-                sb.append(s);
-            }
-            else {
-                String s = getString("tagIdMappingEntry", new Object[]{tagId, 
realId});
-                sb.append(s);
+                    sb.append(meths);
             }
         }
 
@@ -227,6 +222,7 @@
         // if we are supporting legacy javascript then output the original 
javascript method
         if (TagConfig.isLegacyJavaScript() && writeLegacy) {
             writeLookupMethod(scriptReporter, sb, "getNetuiTagNameAdvanced", 
LEGACY_LOOKUP);
+            writeLookupMethod(scriptReporter, sb, "getScopeId", 
LEGACY_SCOPE_LOOKUP);
         }
 
         // if we are supporting the default javascript then output the lookup 
methods for id and name
@@ -236,9 +232,11 @@
 
             if (writeName)
                 writeLookupMethod(scriptReporter, sb, "lookupNameByTagId", 
NAME_LOOKUP);
+
+            if (writeId || writeName)
+                writeLookupMethod(scriptReporter, sb, "lookupScopeId", 
SCOPE_LOOKUP);
         }
 
-        writeLookupMethod(scriptReporter, sb, "getScopeId", SCOPE_LOOKUP);
         return (sb != null) ? sb.toString() : null;
     }
 

Modified: 
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ScriptContainer.java
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ScriptContainer.java?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ScriptContainer.java&r1=124997&p2=incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ScriptContainer.java&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ScriptContainer.java
 (original)
+++ 
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ScriptContainer.java
 Wed Jan 12 14:26:53 2005
@@ -77,6 +77,7 @@
     private boolean _runAtClient = false;
     private boolean _writeScript = false;
     private boolean _writeInitScript = false;
+    private boolean _writeId = false;
 
     /**
      * Returns the name of the Tag.
@@ -144,6 +145,7 @@
 
         if (_idToIdMap == null)
             _idToIdMap = new HashMap();
+        _writeId = true;
         _idToIdMap.put(tagId, realId);
 
         if (realName != null) {
@@ -445,9 +447,7 @@
         JavaScriptUtils jsu = 
HtmlBaseTag.getJavaScriptUtils((HttpServletRequest) pageContext.getRequest());
 
         boolean writeLegacy = false;
-        boolean writeId = false;
         boolean writeName = false;
-
         String val;
 
         // if we are writing out legacy JavaScript support output the idMap
@@ -459,14 +459,8 @@
             }
         }
 
-        // if we are writing out default JavaScript support we create both the 
name and id map
+        // if we are writing out default JavaScript support we create the name 
map
         if (TagConfig.isDefaultJavaScript()) {
-            val = processIdMap(_idToIdMap, "tagIdMappingEntry");
-            if (val != null) {
-                jsu.writeIdMap(this, "tagIdMappingTable", val);
-                writeId = true;
-            }
-
             val = processIdMap(_idToNameMap, "tagIdNameMappingEntry");
             if (val != null) {
                 jsu.writeIdMap(this, "tagIdNameMappingTable", val);
@@ -474,8 +468,8 @@
             }
         }
 
-        if (writeLegacy || writeId || writeName)
-            jsu.writeNetuiNameFunctions(this, writeLegacy, writeId, writeName);
+        if (writeLegacy || _writeId || writeName)
+            jsu.writeNetuiNameFunctions(this, writeLegacy, _writeId, 
writeName);
 
         if (_codeBlocks != null && _codeBlocks.size() > 0) {
             if (!script) {

Modified: 
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/javaScript.properties
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/javaScript.properties?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/javaScript.properties&r1=124997&p2=incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/javaScript.properties&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/javaScript.properties
        (original)
+++ 
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/javaScript.properties
        Wed Jan 12 14:26:53 2005
@@ -60,14 +60,6 @@
 \   var netui_names = new Object();\n\
 {0}\n
 
-# JavaScript that will become the mapping between the tagId and the real id
-tagIdMappingTable=\
-// Build the netui_names table to map the tagId attributes\n\
-// to the real id written into the HTML\n\
-if (netui_tagIdMap == null)\n\
-\   var netui_tagIdMap = new Object();\n\
-{0}\n
-
 # JavaScript that will become the mapping between the tagId and the real name
 tagIdNameMappingTable=\
 // Build the netui_names table to map the tagId attributes\n\
@@ -81,10 +73,6 @@
 idMappingEntry=\
 netui_names.{0}="{1}"\n
 
-# This is a mapping between tagId and id
-tagIdMappingEntry=\
-netui_tagIdMap.{0}="{1}"\n
-
 # This is a mapping between tagId and name
 tagIdNameMappingEntry=\
 netui_tagIdNameMap.{0}="{1}"\n
@@ -103,16 +91,13 @@
 \      return netui_names[scopeId  + "__" + id];\n\
 }\n
 
-#method to do lookup in netui_tagIdMap
+#method map the TagId to the real ID
 lookupIdByTagId=\
 // lookup by tagId to "real id"\n\
 function lookupIdByTagId(id, tag)\n\
 {\n\
-\   var scopeId = getScopeId(tag);\n\
-\   if (scopeId == \"\")\n\
-\      return netui_tagIdMap[id];\n\
-\   else\n\
-\      return netui_tagIdMap[scopeId  + "__" + id];\n\
+\   var scopeId = lookupScopeId(tag);\n\
+\   return (scopeId == "") ? id : scopeId + id;\n\
 }\n
 
 #method to do lookup in netui_tagIdNameMap
@@ -141,6 +126,23 @@
 \   return getScopeId(tag.parentNode);\n\
 }\n
 
+lookupScopeId=\
+//Non-Legacy lookup method creating a fully qualified scope id\n\
+function lookupScopeId(tag)\n\
+{\n\
+\   var val = "";\n\
+\   while (tag != null && tag.getAttribute != null) {\n\
+\      var attrVal = tag.getAttribute("netui:scopeId");\n\
+\      if (attrVal != null)\n\
+\         val = attrVal + "." + val;\n\
+\      tag = tag.parentNode;\n\
+\   }\n\
+\   return val;\n\
+}\n\
+
+
+
+
 # JavaScript that will become the mapping between the id and real name (legacy 
mode)
 singleIdMappingTable=\
 // Build the netui_names table to map the tagId attributes\n\
@@ -155,14 +157,6 @@
 if (netui_tagIdNameMap == null)\n\
 \   var netui_tagIdNameMap = new Object();\n\
 netui_tagIdNameMap.{0}="{1}"\n
-
-#JavaScript that will become the mapping between the id and the real id
-singleIdToIdMappingTable=\
-\n// map tagId to "real name"\n\
-if (netui_tagIdMap == null)\n\
-\   var netui_tagIdMap = new Object();\n\
-netui_tagIdMap.{0}="{1}"\n
-
 
 # Define the base NetUI variable for scoping all our JavaScript into it
 defineNetUI=\

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/sc/scopeid/index.jsp
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/sc/scopeid/index.jsp?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/sc/scopeid/index.jsp&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/sc/scopeid/index.jsp&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/sc/scopeid/index.jsp
        (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/sc/scopeid/index.jsp
        Wed Jan 12 14:26:53 2005
@@ -44,8 +44,11 @@
     var s = document.getElementById("scopeOneSpan");
 
     var val = "<b>Document Access</b><br>";
-    val = val + "Form By Id is null: <b>" + (document.form == null) + 
"</b><br>";
-    val = val + "Form By Id is null: <b>" + (document["bean"] == null) + 
"</b><br>";
+    val = val + "JavaScript lookup real name is null: <b>" +
+       (document["bean"] == null) + "</b><br>";
+    val = val + "Form by name is null: <b>" +
+        (document[lookupNameByTagId("form",s)] == null) + "</b><br>";
+
 
     val = val + "<br><b>ScopeId value</b><br>";
     val = val + "ScopeId: <b>" + getScopeId(s) + "</b><br>";

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/javascript/jsAllScript/index.jsp
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/javascript/jsAllScript/index.jsp?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/javascript/jsAllScript/index.jsp&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/javascript/jsAllScript/index.jsp&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/javascript/jsAllScript/index.jsp
     (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/javascript/jsAllScript/index.jsp
     Wed Jan 12 14:26:53 2005
@@ -9,7 +9,7 @@
             Web Application Page
         </title>
     </head>
-    <body>
+    <netui:body>
         <netui:scriptContainer>
             <netui:form action="submit" focus="firstName">
                 <table class="tablebody">
@@ -47,5 +47,5 @@
             </netui:form><br/>
         <netui:imageAnchor action="begin" src="../../images/godzilla.gif" 
rolloverImage="../../images/godzillaRollover.gif" height="100" 
width="80">PostBack</netui:imageAnchor>
         </netui:scriptContainer>
-    </body>
+    </netui:body>
 </netui:html>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B34263.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B34263.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B34263.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B34263.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B34263.xml    
    (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B34263.xml    
    Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>B34263</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>07 Jan 2005, 07:59:29.656 AM MST</ses:startDate>
+   <ses:startDate>12 Jan 2005, 09:50:49.636 AM MST</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>14592C5C06B4FD45EA5B234F4EE0D385</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -40,7 +40,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=14592C5C06B4FD45EA5B234F4EE0D385; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-a1bb3f1:1014daed030:-7f38</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-772e</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -153,24 +153,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.FormFour="FormFour"
-netui_tagIdMap.CustomizeReset="CustomizeReset"
-netui_tagIdMap.SearchAdvanced="SearchAdvanced"
-netui_tagIdMap.SearchEnter="SearchEnter"
-netui_tagIdMap.FormThree="FormThree"
-netui_tagIdMap.NameEnter="NameEnter"
-netui_tagIdMap.CustomizeUpdate="CustomizeUpdate"
-netui_tagIdMap.NameDelete="NameDelete"
-netui_tagIdMap.MiscOne="MiscOne"
-netui_tagIdMap.MiscTwo="MiscTwo"
-netui_tagIdMap.FormOne="FormOne"
-netui_tagIdMap.FormTwo="FormTwo"
-
-
-// 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.SearchAdvanced="actionOverride:EnterAdvancedSearch"
@@ -194,14 +176,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -214,16 +205,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -237,7 +229,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>07 Jan 2005, 07:59:30.267 AM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 09:50:50.241 AM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>1</ses:testCount>
    <ses:passedCount>0</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B34998.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B34998.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B34998.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B34998.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B34998.xml    
    (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B34998.xml    
    Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>B34998</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>07 Jan 2005, 07:59:31.228 AM MST</ses:startDate>
+   <ses:startDate>12 Jan 2005, 09:50:51.380 AM MST</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>14592C5C06B4FD45EA5B234F4EE0D385</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -40,7 +40,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=14592C5C06B4FD45EA5B234F4EE0D385; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-a1bb3f1:1014daed030:-7f32</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-7728</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testnumber</ses:name>
@@ -119,13 +119,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.FormOne="FormOne"
-
-
-// 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.FormOne="name"
@@ -146,14 +139,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -166,16 +168,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -210,7 +213,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>14592C5C06B4FD45EA5B234F4EE0D385</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -244,7 +247,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=14592C5C06B4FD45EA5B234F4EE0D385; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -260,7 +263,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-a1bb3f1:1014daed030:-7f32</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-7728</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testnumber</ses:name>
@@ -304,7 +307,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>07 Jan 2005, 07:59:32.600 AM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 09:50:52.519 AM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>2</ses:testCount>
    <ses:passedCount>1</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B39820.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B39820.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B39820.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B39820.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B39820.xml    
    (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B39820.xml    
    Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>B39820</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>07 Jan 2005, 07:59:51.296 AM MST</ses:startDate>
+   <ses:startDate>12 Jan 2005, 09:51:11.264 AM MST</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>14592C5C06B4FD45EA5B234F4EE0D385</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -40,7 +40,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=14592C5C06B4FD45EA5B234F4EE0D385; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-a1bb3f1:1014daed030:-7efc</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-76f2</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -129,14 +129,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.tagId2="tagId2"
-netui_tagIdMap.tagId1="tagId1"
-
-
-// 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.tagId2="theFormBean"
@@ -173,14 +165,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -193,16 +194,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -241,7 +243,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>14592C5C06B4FD45EA5B234F4EE0D385</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -275,7 +277,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=14592C5C06B4FD45EA5B234F4EE0D385; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -291,7 +293,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-a1bb3f1:1014daed030:-7efc</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-76f2</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -341,7 +343,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>14592C5C06B4FD45EA5B234F4EE0D385</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -363,7 +365,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=14592C5C06B4FD45EA5B234F4EE0D385; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -379,7 +381,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-a1bb3f1:1014daed030:-7efc</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-76f2</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -452,14 +454,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.tagId2="tagId2"
-netui_tagIdMap.tagId1="tagId1"
-
-
-// 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.tagId2="theFormBean"
@@ -496,14 +490,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -516,16 +519,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -564,7 +568,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>14592C5C06B4FD45EA5B234F4EE0D385</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -598,7 +602,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=14592C5C06B4FD45EA5B234F4EE0D385; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -614,7 +618,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-a1bb3f1:1014daed030:-7efc</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-76f2</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -664,7 +668,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>14592C5C06B4FD45EA5B234F4EE0D385</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -686,7 +690,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=14592C5C06B4FD45EA5B234F4EE0D385; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -702,7 +706,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-a1bb3f1:1014daed030:-7efc</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-76f2</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -775,14 +779,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.tagId2="tagId2"
-netui_tagIdMap.tagId1="tagId1"
-
-
-// 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.tagId2="theFormBean"
@@ -819,14 +815,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -839,16 +844,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -887,7 +893,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>14592C5C06B4FD45EA5B234F4EE0D385</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -921,7 +927,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=14592C5C06B4FD45EA5B234F4EE0D385; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -937,7 +943,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-a1bb3f1:1014daed030:-7efc</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-76f2</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -987,7 +993,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>14592C5C06B4FD45EA5B234F4EE0D385</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -1009,7 +1015,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=14592C5C06B4FD45EA5B234F4EE0D385; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -1025,7 +1031,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-a1bb3f1:1014daed030:-7efc</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-76f2</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -1098,14 +1104,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.tagId2="tagId2"
-netui_tagIdMap.tagId1="tagId1"
-
-
-// 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.tagId2="theFormBean"
@@ -1142,14 +1140,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -1162,16 +1169,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -1210,7 +1218,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>14592C5C06B4FD45EA5B234F4EE0D385</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -1244,7 +1252,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=14592C5C06B4FD45EA5B234F4EE0D385; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -1260,7 +1268,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-a1bb3f1:1014daed030:-7efc</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-76f2</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -1310,7 +1318,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>14592C5C06B4FD45EA5B234F4EE0D385</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -1332,7 +1340,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=14592C5C06B4FD45EA5B234F4EE0D385; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -1348,7 +1356,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-a1bb3f1:1014daed030:-7efc</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-76f2</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -1421,14 +1429,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.tagId2="tagId2"
-netui_tagIdMap.tagId1="tagId1"
-
-
-// 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.tagId2="theFormBean"
@@ -1465,14 +1465,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -1485,16 +1494,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -1533,7 +1543,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>14592C5C06B4FD45EA5B234F4EE0D385</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -1567,7 +1577,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=14592C5C06B4FD45EA5B234F4EE0D385; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -1583,7 +1593,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-a1bb3f1:1014daed030:-7efc</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-76f2</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -1633,7 +1643,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>14592C5C06B4FD45EA5B234F4EE0D385</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -1655,7 +1665,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=14592C5C06B4FD45EA5B234F4EE0D385; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -1671,7 +1681,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-a1bb3f1:1014daed030:-7efc</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-76f2</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -1744,14 +1754,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.tagId2="tagId2"
-netui_tagIdMap.tagId1="tagId1"
-
-
-// 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.tagId2="theFormBean"
@@ -1788,14 +1790,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -1808,16 +1819,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -1856,7 +1868,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>14592C5C06B4FD45EA5B234F4EE0D385</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -1890,7 +1902,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=14592C5C06B4FD45EA5B234F4EE0D385; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -1906,7 +1918,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-a1bb3f1:1014daed030:-7efc</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-76f2</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -1944,7 +1956,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>07 Jan 2005, 07:59:52.808 AM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 09:51:12.532 AM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>12</ses:testCount>
    <ses:passedCount>6</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ButtonSubmitTagId.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ButtonSubmitTagId.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ButtonSubmitTagId.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ButtonSubmitTagId.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ButtonSubmitTagId.xml
     (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ButtonSubmitTagId.xml
     Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>ButtonSubmitTagId</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>07 Jan 2005, 08:00:32.544 AM MST</ses:startDate>
+   <ses:startDate>12 Jan 2005, 09:51:48.843 AM MST</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>14592C5C06B4FD45EA5B234F4EE0D385</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -40,7 +40,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=14592C5C06B4FD45EA5B234F4EE0D385; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-a1bb3f1:1014daed030:-7e63</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-7659</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -121,15 +121,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.NameEnter="NameEnter"
-netui_tagIdMap.NameDelete="NameDelete"
-netui_tagIdMap.FormOne="FormOne"
-
-
-// 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.NameDelete="actionOverride:DeleteName"
@@ -151,14 +142,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -171,16 +171,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -215,7 +216,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>14592C5C06B4FD45EA5B234F4EE0D385</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -249,7 +250,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=14592C5C06B4FD45EA5B234F4EE0D385; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -265,7 +266,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-a1bb3f1:1014daed030:-7e63</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-7659</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -330,15 +331,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.NameEnter="NameEnter"
-netui_tagIdMap.NameDelete="NameDelete"
-netui_tagIdMap.FormOne="FormOne"
-
-
-// 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.NameDelete="actionOverride:DeleteName"
@@ -360,14 +352,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -380,16 +381,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -428,7 +430,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>14592C5C06B4FD45EA5B234F4EE0D385</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -462,7 +464,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=14592C5C06B4FD45EA5B234F4EE0D385; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -478,7 +480,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-a1bb3f1:1014daed030:-7e63</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-7659</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -543,15 +545,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.NameEnter="NameEnter"
-netui_tagIdMap.NameDelete="NameDelete"
-netui_tagIdMap.FormOne="FormOne"
-
-
-// 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.NameDelete="actionOverride:DeleteName"
@@ -573,14 +566,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -593,16 +595,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -616,7 +619,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>07 Jan 2005, 08:00:33.425 AM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 09:51:49.517 AM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>3</ses:testCount>
    <ses:passedCount>0</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtAreaBase.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtAreaBase.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtAreaBase.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtAreaBase.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtAreaBase.xml
    (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtAreaBase.xml
    Wed Jan 12 14:26:53 2005
@@ -2,8 +2,8 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>CtAreaBase</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>09 Jan 2005, 01:37:38.531 PM MST</ses:startDate>
-   <ses:description>Base test of the Area tag.</ses:description>
+   <ses:startDate>12 Jan 2005, 09:52:10.223 AM MST</ses:startDate>
+   <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
          <ses:testNumber>1</ses:testNumber>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>715EDADD3B1E0B614FD9BCE9B41011C4</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -44,7 +44,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  
<ses:value>JSESSIONID=715EDADD3B1E0B614FD9BCE9B41011C4</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -55,6 +55,10 @@
                   <ses:value>300</ses:value>
                </ses:header>
                <ses:header>
+                  <ses:name>testrecorder.playback.testid</ses:name>
+                  <ses:value>2c8c3167:10167978d3c:-7614</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>
@@ -96,13 +100,6 @@
 netui_names.body="body"
 
 
-// Build the netui_names table to map the tagId attributes
-// to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.body="body"
-
-
 // **** This section contains functions typically run as events ****
 
 
@@ -118,16 +115,6 @@
       return netui_names[scopeId  + "__" + id];
 }
 
-// lookup by tagId to "real id"
-function lookupIdByTagId(id, tag)
-{
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
-}
-
 // This method will walk the hierarchy from the pass element looking for a 
scopeId.
 // The first scopeId found will be returned or the empty string if a scopeId 
is not found.
 function getScopeId(tag)
@@ -139,6 +126,26 @@
       return attrVal;
    return getScopeId(tag.parentNode);
 }
+
+// lookup by tagId to "real id"
+function lookupIdByTagId(id, tag)
+{
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
+}
+
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
+{
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
+}
 -->
 &lt;/script>
 
@@ -146,6 +153,9 @@
 
 &lt;/html></ses:responseBody>
          </ses:response>
+         <ses:testResults>
+            <ses:testStatus>fail</ses:testStatus>
+         </ses:testResults>
       </ses:test>
       <ses:test>
          <ses:testNumber>2</ses:testNumber>
@@ -160,7 +170,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>715EDADD3B1E0B614FD9BCE9B41011C4</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -190,7 +200,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  
<ses:value>JSESSIONID=715EDADD3B1E0B614FD9BCE9B41011C4</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -201,6 +211,10 @@
                   <ses:value>300</ses:value>
                </ses:header>
                <ses:header>
+                  <ses:name>testrecorder.playback.testid</ses:name>
+                  <ses:value>2c8c3167:10167978d3c:-7614</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>
@@ -242,13 +256,6 @@
 netui_names.body="body"
 
 
-// Build the netui_names table to map the tagId attributes
-// to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.body="body"
-
-
 // **** This section contains functions typically run as events ****
 
 
@@ -264,16 +271,6 @@
       return netui_names[scopeId  + "__" + id];
 }
 
-// lookup by tagId to "real id"
-function lookupIdByTagId(id, tag)
-{
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
-}
-
 // This method will walk the hierarchy from the pass element looking for a 
scopeId.
 // The first scopeId found will be returned or the empty string if a scopeId 
is not found.
 function getScopeId(tag)
@@ -285,6 +282,26 @@
       return attrVal;
    return getScopeId(tag.parentNode);
 }
+
+// lookup by tagId to "real id"
+function lookupIdByTagId(id, tag)
+{
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
+}
+
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
+{
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
+}
 -->
 &lt;/script>
 
@@ -292,6 +309,9 @@
 
 &lt;/html></ses:responseBody>
          </ses:response>
+         <ses:testResults>
+            <ses:testStatus>fail</ses:testStatus>
+         </ses:testResults>
       </ses:test>
       <ses:test>
          <ses:testNumber>3</ses:testNumber>
@@ -306,7 +326,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>715EDADD3B1E0B614FD9BCE9B41011C4</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -336,7 +356,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  
<ses:value>JSESSIONID=715EDADD3B1E0B614FD9BCE9B41011C4</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -347,6 +367,10 @@
                   <ses:value>300</ses:value>
                </ses:header>
                <ses:header>
+                  <ses:name>testrecorder.playback.testid</ses:name>
+                  <ses:value>2c8c3167:10167978d3c:-7614</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>
@@ -388,13 +412,6 @@
 netui_names.body="body"
 
 
-// Build the netui_names table to map the tagId attributes
-// to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.body="body"
-
-
 // **** This section contains functions typically run as events ****
 
 
@@ -410,16 +427,6 @@
       return netui_names[scopeId  + "__" + id];
 }
 
-// lookup by tagId to "real id"
-function lookupIdByTagId(id, tag)
-{
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
-}
-
 // This method will walk the hierarchy from the pass element looking for a 
scopeId.
 // The first scopeId found will be returned or the empty string if a scopeId 
is not found.
 function getScopeId(tag)
@@ -431,6 +438,26 @@
       return attrVal;
    return getScopeId(tag.parentNode);
 }
+
+// lookup by tagId to "real id"
+function lookupIdByTagId(id, tag)
+{
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
+}
+
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
+{
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
+}
 -->
 &lt;/script>
 
@@ -438,8 +465,14 @@
 
 &lt;/html></ses:responseBody>
          </ses:response>
+         <ses:testResults>
+            <ses:testStatus>fail</ses:testStatus>
+         </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>09 Jan 2005, 01:37:49.421 PM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 09:52:11.293 AM MST</ses:endDate>
+   <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>3</ses:testCount>
+   <ses:passedCount>0</ses:passedCount>
+   <ses:failedCount>3</ses:failedCount>
 </ses:recorderSession>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtButtonId.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtButtonId.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtButtonId.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtButtonId.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtButtonId.xml
    (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtButtonId.xml
    Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>CtButtonId</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>05 Jan 2005, 03:32:30.939 PM MST</ses:startDate>
+   <ses:startDate>12 Jan 2005, 09:52:15.355 AM MST</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -44,7 +44,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7e13</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-7605</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -110,14 +110,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.buttonOverride="buttonOverride"
-netui_tagIdMap.button="button"
-
-
-// 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.buttonOverride="actionOverride:override"
@@ -138,14 +130,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -158,16 +159,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -198,7 +200,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -232,7 +234,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -244,7 +246,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7e13</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-7605</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -298,14 +300,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.buttonOverride="buttonOverride"
-netui_tagIdMap.button="button"
-
-
-// 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.buttonOverride="actionOverride:override"
@@ -326,14 +320,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -346,16 +349,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -390,7 +394,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -424,7 +428,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -436,7 +440,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7e13</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-7605</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -490,14 +494,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.buttonOverride="buttonOverride"
-netui_tagIdMap.button="button"
-
-
-// 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.buttonOverride="actionOverride:override"
@@ -518,14 +514,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -538,16 +543,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -561,7 +567,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>05 Jan 2005, 03:32:31.560 PM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 09:52:16.138 AM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>3</ses:testCount>
    <ses:passedCount>0</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtImageButtonId.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtImageButtonId.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtImageButtonId.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtImageButtonId.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtImageButtonId.xml
       (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtImageButtonId.xml
       Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>CtImageButtonId</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>08 Jan 2005, 12:31:03.921 PM MST</ses:startDate>
+   <ses:startDate>12 Jan 2005, 09:52:31.266 AM MST</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>A40689681FEBC78DB425BAEFD773E696</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -44,7 +44,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=A40689681FEBC78DB425BAEFD773E696; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-32a71897:10153ca7c1e:-7de6</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-75d8</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -110,15 +110,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.textbox="textbox"
-netui_tagIdMap.imageButton="imageButton"
-netui_tagIdMap.button="button"
-
-
-// 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.textbox="{actionForm.text}"
@@ -139,14 +130,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -159,16 +159,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -199,7 +200,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>A40689681FEBC78DB425BAEFD773E696</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -233,7 +234,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=A40689681FEBC78DB425BAEFD773E696; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -245,7 +246,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-32a71897:10153ca7c1e:-7de6</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-75d8</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -299,15 +300,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.textbox="textbox"
-netui_tagIdMap.imageButton="imageButton"
-netui_tagIdMap.button="button"
-
-
-// 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.textbox="{actionForm.text}"
@@ -328,14 +320,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -348,16 +349,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -371,7 +373,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>08 Jan 2005, 12:31:05.390 PM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 09:52:31.891 AM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>2</ses:testCount>
    <ses:passedCount>0</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtScScopeId.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtScScopeId.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtScScopeId.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtScScopeId.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtScScopeId.xml
   (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtScScopeId.xml
   Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>CtScScopeId</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>08 Jan 2005, 12:31:05.453 PM MST</ses:startDate>
+   <ses:startDate>12 Jan 2005, 09:52:31.910 AM MST</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>A40689681FEBC78DB425BAEFD773E696</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -44,7 +44,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=A40689681FEBC78DB425BAEFD773E696; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-32a71897:10153ca7c1e:-7de3</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-75d5</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -116,17 +116,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.scopeOne__b1="html.scopeOne.b1"
-netui_tagIdMap.scopeOne__t1="html.scopeOne.t1"
-netui_tagIdMap.scopeOne__form="html.scopeOne.form"
-netui_tagIdMap.scopeOne__b2="html.scopeOne.b2"
-netui_tagIdMap.scopeOne__t2="html.scopeOne.t2"
-
-
-// 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.scopeOne__t1="{actionForm.text1}"
@@ -150,14 +139,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -170,16 +168,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -204,14 +203,6 @@
 netui_names.Results__postValue="html.Results.postValue"
 netui_names.Results__method="html.Results.method"
 
-
-// Build the netui_names table to map the tagId attributes
-// to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.Results__postValue="html.Results.postValue"
-netui_tagIdMap.Results__method="html.Results.method"
-
 -->
 &lt;/script>
 
@@ -225,8 +216,11 @@
     var s = document.getElementById("scopeOneSpan");
 
     var val = "&lt;b>Document Access&lt;/b>&lt;br>";
-    val = val + "Form By Id is null: &lt;b>" + (document.form == null) + 
"&lt;/b>&lt;br>";
-    val = val + "Form By Id is null: &lt;b>" + (document["bean"] == null) + 
"&lt;/b>&lt;br>";
+    val = val + "JavaScript lookup real name is null: &lt;b>" +
+       (document["bean"] == null) + "&lt;/b>&lt;br>";
+    val = val + "Form by name is null: &lt;b>" +
+        (document[lookupNameByTagId("form",s)] == null) + "&lt;/b>&lt;br>";
+
 
     val = val + "&lt;br>&lt;b>ScopeId value&lt;/b>&lt;br>";
     val = val + "ScopeId: &lt;b>" + getScopeId(s) + "&lt;/b>&lt;br>";
@@ -247,7 +241,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>08 Jan 2005, 12:31:06.625 PM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 09:52:32.525 AM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>1</ses:testCount>
    <ses:passedCount>0</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerCustomSelect.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerCustomSelect.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerCustomSelect.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerCustomSelect.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerCustomSelect.xml
     (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerCustomSelect.xml
     Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>DataGridPagerCustomSelect</ses:sessionName>
    <ses:tester>ekoneil</ses:tester>
-   <ses:startDate>09 Jan 2005, 09:10:17.356 AM MST</ses:startDate>
+   <ses:startDate>12 Jan 2005, 09:52:51.616 AM MST</ses:startDate>
    <ses:description>ekoneil</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>FAB162C1CEEFF27343F9AB8BAB549DC7</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -44,7 +44,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=FAB162C1CEEFF27343F9AB8BAB549DC7; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-3365506e:101583d33b5:-7fe1</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-75a6</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -220,19 +220,24 @@
 
 <script language="JavaScript" type="text/JavaScript">
 <!--
-
-// map tagId to "real name"
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.pageForm="pageForm"
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
+}
+
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
+{
+   var val = "";
+   while (tag != null && tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 
 
@@ -300,7 +305,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>FAB162C1CEEFF27343F9AB8BAB549DC7</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -326,7 +331,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=FAB162C1CEEFF27343F9AB8BAB549DC7; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -338,7 +343,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-3365506e:101583d33b5:-7fe1</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-75a6</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -502,19 +507,24 @@
 
 <script language="JavaScript" type="text/JavaScript">
 <!--
-
-// map tagId to "real name"
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.pageForm="pageForm"
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
+}
+
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
+{
+   var val = "";
+   while (tag != null && tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 
 
@@ -582,7 +592,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>FAB162C1CEEFF27343F9AB8BAB549DC7</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -608,7 +618,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=FAB162C1CEEFF27343F9AB8BAB549DC7; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -620,7 +630,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-3365506e:101583d33b5:-7fe1</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-75a6</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -784,19 +794,24 @@
 
 <script language="JavaScript" type="text/JavaScript">
 <!--
-
-// map tagId to "real name"
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.pageForm="pageForm"
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
+}
+
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
+{
+   var val = "";
+   while (tag != null && tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 
 
@@ -864,7 +879,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>FAB162C1CEEFF27343F9AB8BAB549DC7</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -890,7 +905,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=FAB162C1CEEFF27343F9AB8BAB549DC7; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -902,7 +917,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-3365506e:101583d33b5:-7fe1</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-75a6</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -1066,19 +1081,24 @@
 
 <script language="JavaScript" type="text/JavaScript">
 <!--
-
-// map tagId to "real name"
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.pageForm="pageForm"
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
+}
+
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
+{
+   var val = "";
+   while (tag != null && tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 
 
@@ -1146,7 +1166,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>FAB162C1CEEFF27343F9AB8BAB549DC7</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -1172,7 +1192,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=FAB162C1CEEFF27343F9AB8BAB549DC7; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -1184,7 +1204,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-3365506e:101583d33b5:-7fe1</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-75a6</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -1348,19 +1368,24 @@
 
 <script language="JavaScript" type="text/JavaScript">
 <!--
-
-// map tagId to "real name"
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.pageForm="pageForm"
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
+}
+
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
+{
+   var val = "";
+   while (tag != null && tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 
 
@@ -1428,7 +1453,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>FAB162C1CEEFF27343F9AB8BAB549DC7</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -1454,7 +1479,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=FAB162C1CEEFF27343F9AB8BAB549DC7; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -1466,7 +1491,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-3365506e:101583d33b5:-7fe1</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-75a6</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -1630,19 +1655,24 @@
 
 <script language="JavaScript" type="text/JavaScript">
 <!--
-
-// map tagId to "real name"
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.pageForm="pageForm"
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
+}
+
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
+{
+   var val = "";
+   while (tag != null && tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 
 
@@ -1693,7 +1723,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>09 Jan 2005, 09:10:20.601 AM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 09:52:53.915 AM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>6</ses:testCount>
    <ses:passedCount>0</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DivPanel.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DivPanel.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DivPanel.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DivPanel.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DivPanel.xml  
    (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DivPanel.xml  
    Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>DivPanel</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>05 Jan 2005, 03:33:22.402 PM MST</ses:startDate>
+   <ses:startDate>11 Jan 2005, 08:32:26.511 PM MST</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>09C12B199EB2209376745BA19999C60E</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -40,7 +40,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=09C12B199EB2209376745BA19999C60E; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7d5d</ses:value>
+                  <ses:value>28d51955:10164f76030:-7d59</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -203,7 +203,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>05 Jan 2005, 03:33:22.973 PM MST</ses:endDate>
+   <ses:endDate>11 Jan 2005, 08:32:27.112 PM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>1</ses:testCount>
    <ses:passedCount>0</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DivPanelTree.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DivPanelTree.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DivPanelTree.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DivPanelTree.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DivPanelTree.xml
  (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DivPanelTree.xml
  Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>DivPanelTree</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>05 Jan 2005, 03:33:22.993 PM MST</ses:startDate>
+   <ses:startDate>11 Jan 2005, 08:32:27.132 PM MST</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>09C12B199EB2209376745BA19999C60E</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -40,7 +40,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=09C12B199EB2209376745BA19999C60E; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7d5b</ses:value>
+                  <ses:value>28d51955:10164f76030:-7d57</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -271,7 +271,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>05 Jan 2005, 03:33:23.934 PM MST</ses:endDate>
+   <ses:endDate>11 Jan 2005, 08:32:28.163 PM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>1</ses:testCount>
    <ses:passedCount>0</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapForm.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapForm.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapForm.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapForm.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapForm.xml 
    (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapForm.xml 
    Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>IdMapForm</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>08 Jan 2005, 10:44:31.406 AM MST</ses:startDate>
+   <ses:startDate>12 Jan 2005, 09:53:45.671 AM MST</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>44581E3FE4C8B93C3A4037163FA5B93D</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -44,7 +44,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=44581E3FE4C8B93C3A4037163FA5B93D; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>6f6aca2:101536730ee:-7cea</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74dc</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -125,13 +125,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.n0__form="n0.form"
-
-
-// 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.n0__form="bean"
@@ -152,14 +145,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -172,16 +174,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -231,7 +234,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>08 Jan 2005, 10:44:32.500 AM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 09:53:45.711 AM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>1</ses:testCount>
    <ses:passedCount>0</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapFormNoHtml.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapFormNoHtml.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapFormNoHtml.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapFormNoHtml.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapFormNoHtml.xml
       (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapFormNoHtml.xml
       Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>IdMapFormNoHtml</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>08 Jan 2005, 10:44:32.562 AM MST</ses:startDate>
+   <ses:startDate>12 Jan 2005, 09:53:45.770 AM MST</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>44581E3FE4C8B93C3A4037163FA5B93D</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -44,7 +44,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=44581E3FE4C8B93C3A4037163FA5B93D; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>6f6aca2:101536730ee:-7ce8</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74da</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -133,19 +133,24 @@
 
 &lt;script language="JavaScript" type="text/JavaScript">
 &lt;!--
-
-// map tagId to "real name"
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.form="form"
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
+}
+
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
+{
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 
 
@@ -221,7 +226,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>08 Jan 2005, 10:44:33.640 AM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 09:53:45.810 AM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>1</ses:testCount>
    <ses:passedCount>0</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapGenScopeId.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapGenScopeId.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapGenScopeId.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapGenScopeId.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapGenScopeId.xml
       (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapGenScopeId.xml
       Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>IdMapGenScopeId</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>08 Jan 2005, 10:44:33.671 AM MST</ses:startDate>
+   <ses:startDate>12 Jan 2005, 09:53:45.839 AM MST</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>44581E3FE4C8B93C3A4037163FA5B93D</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -44,7 +44,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=44581E3FE4C8B93C3A4037163FA5B93D; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>6f6aca2:101536730ee:-7ce6</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74d8</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -120,15 +120,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.n1__check1="n0.n1.check1"
-netui_tagIdMap.n1__check2="n0.n1.check2"
-netui_tagIdMap.n1__button="n0.n1.button"
-
-
-// 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.n1__check1="wlw-checkbox_key:{actionForm.check1}"
@@ -150,14 +141,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -170,16 +170,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -239,7 +240,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>08 Jan 2005, 10:44:35.109 AM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 09:53:45.859 AM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>1</ses:testCount>
    <ses:passedCount>0</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapHtmlScopeId.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapHtmlScopeId.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapHtmlScopeId.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapHtmlScopeId.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapHtmlScopeId.xml
      (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapHtmlScopeId.xml
      Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>IdMapHtmlScopeId</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>08 Jan 2005, 10:44:35.171 AM MST</ses:startDate>
+   <ses:startDate>12 Jan 2005, 09:53:45.889 AM MST</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>44581E3FE4C8B93C3A4037163FA5B93D</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -44,7 +44,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=44581E3FE4C8B93C3A4037163FA5B93D; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>6f6aca2:101536730ee:-7ce4</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74d6</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -126,15 +126,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.n0__check1="n0.check1"
-netui_tagIdMap.n0__check2="n0.check2"
-netui_tagIdMap.n0__button="n0.button"
-
-
-// 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.n0__check1="wlw-checkbox_key:{actionForm.check1}"
@@ -156,14 +147,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -176,16 +176,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -234,7 +235,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>08 Jan 2005, 10:44:36.281 AM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 09:53:45.909 AM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>1</ses:testCount>
    <ses:passedCount>0</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapId.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapId.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapId.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapId.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapId.xml   
    (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapId.xml   
    Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>IdMapId</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>08 Jan 2005, 10:44:36.312 AM MST</ses:startDate>
+   <ses:startDate>12 Jan 2005, 09:53:45.929 AM MST</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>44581E3FE4C8B93C3A4037163FA5B93D</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -44,7 +44,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=44581E3FE4C8B93C3A4037163FA5B93D; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>6f6aca2:101536730ee:-7ce2</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74d4</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -154,18 +154,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.check1="check1"
-netui_tagIdMap.textbox="textbox"
-netui_tagIdMap.check2="check2"
-netui_tagIdMap.textArea="textArea"
-netui_tagIdMap.button="button"
-netui_tagIdMap.select="select"
-
-
-// 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.check1="wlw-checkbox_key:{actionForm.check1}"
@@ -190,14 +178,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -210,16 +207,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -333,7 +331,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>44581E3FE4C8B93C3A4037163FA5B93D</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -367,7 +365,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=44581E3FE4C8B93C3A4037163FA5B93D; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -379,7 +377,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>6f6aca2:101536730ee:-7ce2</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74d4</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -477,18 +475,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.check1="check1"
-netui_tagIdMap.textbox="textbox"
-netui_tagIdMap.check2="check2"
-netui_tagIdMap.textArea="textArea"
-netui_tagIdMap.button="button"
-netui_tagIdMap.select="select"
-
-
-// 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.check1="wlw-checkbox_key:{actionForm.check1}"
@@ -513,14 +499,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -533,16 +528,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -611,7 +607,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>08 Jan 2005, 10:44:37.625 AM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 09:53:46.563 AM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>2</ses:testCount>
    <ses:passedCount>0</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapNonCtrls.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapNonCtrls.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapNonCtrls.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapNonCtrls.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapNonCtrls.xml
 (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapNonCtrls.xml
 Wed Jan 12 14:26:53 2005
@@ -2,8 +2,8 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>IdMapNonCtrls</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>09 Jan 2005, 01:33:10.484 PM MST</ses:startDate>
-   <ses:description>Verify all of the non-HTML Controls produce the proper 
thing with a tagId and lookup table.</ses:description>
+   <ses:startDate>12 Jan 2005, 09:53:46.592 AM MST</ses:startDate>
+   <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
          <ses:testNumber>1</ses:testNumber>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>715EDADD3B1E0B614FD9BCE9B41011C4</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -44,7 +44,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  
<ses:value>JSESSIONID=715EDADD3B1E0B614FD9BCE9B41011C4</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -55,6 +55,10 @@
                   <ses:value>300</ses:value>
                </ses:header>
                <ses:header>
+                  <ses:name>testrecorder.playback.testid</ses:name>
+                  <ses:value>2c8c3167:10167978d3c:-74d1</ses:value>
+               </ses:header>
+               <ses:header>
                   <ses:name>user-agent</ses:name>
                   <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.7.5) Gecko/20041107 Firefox/1.0</ses:value>
                </ses:header>
@@ -109,19 +113,6 @@
 netui_names.anchor="anchor"
 
 
-// Build the netui_names table to map the tagId attributes
-// to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.imageButton="imageButton"
-netui_tagIdMap.image="image"
-netui_tagIdMap.imageAnchor="imageAnchor"
-netui_tagIdMap.area="area"
-netui_tagIdMap.body="body"
-netui_tagIdMap.span="span"
-netui_tagIdMap.anchor="anchor"
-
-
 // **** This section contains functions typically run as events ****
 
 
@@ -137,16 +128,6 @@
       return netui_names[scopeId  + "__" + id];
 }
 
-// lookup by tagId to "real id"
-function lookupIdByTagId(id, tag)
-{
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
-}
-
 // This method will walk the hierarchy from the pass element looking for a 
scopeId.
 // The first scopeId found will be returned or the empty string if a scopeId 
is not found.
 function getScopeId(tag)
@@ -158,6 +139,26 @@
       return attrVal;
    return getScopeId(tag.parentNode);
 }
+
+// lookup by tagId to "real id"
+function lookupIdByTagId(id, tag)
+{
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
+}
+
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
+{
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
+}
 -->
 &lt;/script>
 
@@ -201,8 +202,14 @@
 
 &lt;/html></ses:responseBody>
          </ses:response>
+         <ses:testResults>
+            <ses:testStatus>fail</ses:testStatus>
+         </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>09 Jan 2005, 01:33:23.750 PM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 09:53:46.622 AM MST</ses:endDate>
+   <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>1</ses:testCount>
+   <ses:passedCount>0</ses:passedCount>
+   <ses:failedCount>1</ses:failedCount>
 </ses:recorderSession>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapScopeId.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapScopeId.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapScopeId.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapScopeId.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapScopeId.xml
  (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapScopeId.xml
  Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>IdMapScopeId</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>08 Jan 2005, 08:44:05.125 AM MST</ses:startDate>
+   <ses:startDate>12 Jan 2005, 09:53:46.642 AM MST</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>3676E41A39D93ECAB7A22971DD996B23</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -44,7 +44,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=3676E41A39D93ECAB7A22971DD996B23; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-2eb11a3b:10152f90f73:-7cdf</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74cf</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -151,18 +151,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.check1="check1"
-netui_tagIdMap.textbox="textbox"
-netui_tagIdMap.check2="check2"
-netui_tagIdMap.textArea="textArea"
-netui_tagIdMap.button="button"
-netui_tagIdMap.select="select"
-
-
-// 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.check1="wlw-checkbox_key:{actionForm.check1}"
@@ -187,14 +175,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -207,16 +204,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -243,7 +241,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>08 Jan 2005, 08:44:06.093 AM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 09:53:46.662 AM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>1</ses:testCount>
    <ses:passedCount>0</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapSpan.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapSpan.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapSpan.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapSpan.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapSpan.xml 
    (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapSpan.xml 
    Wed Jan 12 14:26:53 2005
@@ -2,8 +2,8 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>IdMapSpan</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>08 Jan 2005, 10:25:34.062 PM MST</ses:startDate>
-   <ses:description>Verify that tagId works for a span</ses:description>
+   <ses:startDate>12 Jan 2005, 09:53:46.691 AM MST</ses:startDate>
+   <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
          <ses:testNumber>1</ses:testNumber>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>A63DBFDC83462D56434D5D13CFDD942B</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -44,7 +44,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  
<ses:value>JSESSIONID=A63DBFDC83462D56434D5D13CFDD942B</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -55,6 +55,10 @@
                   <ses:value>300</ses:value>
                </ses:header>
                <ses:header>
+                  <ses:name>testrecorder.playback.testid</ses:name>
+                  <ses:value>2c8c3167:10167978d3c:-74cd</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>
@@ -98,13 +102,6 @@
 netui_names.n0__span="n0.span"
 
 
-// Build the netui_names table to map the tagId attributes
-// to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.n0__span="n0.span"
-
-
 // **** This section contains functions typically run as events ****
 
 
@@ -120,16 +117,6 @@
       return netui_names[scopeId  + "__" + id];
 }
 
-// lookup by tagId to "real id"
-function lookupIdByTagId(id, tag)
-{
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
-}
-
 // This method will walk the hierarchy from the pass element looking for a 
scopeId.
 // The first scopeId found will be returned or the empty string if a scopeId 
is not found.
 function getScopeId(tag)
@@ -141,6 +128,26 @@
       return attrVal;
    return getScopeId(tag.parentNode);
 }
+
+// lookup by tagId to "real id"
+function lookupIdByTagId(id, tag)
+{
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
+}
+
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
+{
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
+}
 -->
 &lt;/script>
 
@@ -183,8 +190,14 @@
 &lt;/div>
 &lt;/html></ses:responseBody>
          </ses:response>
+         <ses:testResults>
+            <ses:testStatus>fail</ses:testStatus>
+         </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>08 Jan 2005, 10:25:44.406 PM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 09:53:46.711 AM MST</ses:endDate>
+   <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>1</ses:testCount>
+   <ses:passedCount>0</ses:passedCount>
+   <ses:failedCount>1</ses:failedCount>
 </ses:recorderSession>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/InheritControls.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/InheritControls.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/InheritControls.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/InheritControls.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/InheritControls.xml
       (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/InheritControls.xml
       Wed Jan 12 14:26:53 2005
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
+!<?xml version="1.0" encoding="UTF-8"?>
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>InheritControls</ses:sessionName>
    <ses:tester>rich</ses:tester>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScript.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScript.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScript.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScript.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScript.xml
   (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScript.xml
   Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>JsAllScript</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>05 Jan 2005, 03:34:05.513 PM MST</ses:startDate>
+   <ses:startDate>12 Jan 2005, 09:53:58.283 AM MST</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -40,7 +40,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7cc7</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74ad</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -138,14 +138,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.firstName="firstName"
-netui_tagIdMap.lastName="lastName"
-
-
-// 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.firstName="{actionForm.firstName}"
@@ -188,14 +180,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -208,16 +209,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -257,7 +259,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -291,7 +293,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -307,7 +309,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7cc7</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74ad</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -361,7 +363,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -383,7 +385,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -399,7 +401,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7cc7</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74ad</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -481,14 +483,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.firstName="firstName"
-netui_tagIdMap.lastName="lastName"
-
-
-// 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.firstName="{actionForm.firstName}"
@@ -531,14 +525,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -551,16 +554,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -600,7 +604,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -634,7 +638,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -650,7 +654,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7cc7</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74ad</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -704,7 +708,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -726,7 +730,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -742,7 +746,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7cc7</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74ad</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -824,14 +828,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.firstName="firstName"
-netui_tagIdMap.lastName="lastName"
-
-
-// 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.firstName="{actionForm.firstName}"
@@ -874,14 +870,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -894,16 +899,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -943,7 +949,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -977,7 +983,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -993,7 +999,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7cc7</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74ad</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -1047,7 +1053,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -1069,7 +1075,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -1085,7 +1091,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7cc7</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74ad</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -1167,14 +1173,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.firstName="firstName"
-netui_tagIdMap.lastName="lastName"
-
-
-// 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.firstName="{actionForm.firstName}"
@@ -1217,14 +1215,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -1237,16 +1244,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -1286,7 +1294,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -1320,7 +1328,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -1336,7 +1344,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7cc7</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74ad</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -1390,7 +1398,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -1412,7 +1420,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -1428,7 +1436,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7cc7</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74ad</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -1510,14 +1518,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.firstName="firstName"
-netui_tagIdMap.lastName="lastName"
-
-
-// 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.firstName="{actionForm.firstName}"
@@ -1560,14 +1560,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -1580,16 +1589,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -1633,7 +1643,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -1667,7 +1677,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -1683,7 +1693,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7cc7</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74ad</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -1737,7 +1747,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -1759,7 +1769,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -1775,7 +1785,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7cc7</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74ad</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -1857,14 +1867,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.firstName="firstName"
-netui_tagIdMap.lastName="lastName"
-
-
-// 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.firstName="{actionForm.firstName}"
@@ -1907,14 +1909,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -1927,16 +1938,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -1951,7 +1963,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>05 Jan 2005, 03:34:07.166 PM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 09:54:00.195 AM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>11</ses:testCount>
    <ses:passedCount>5</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScriptHtml.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScriptHtml.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScriptHtml.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScriptHtml.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScriptHtml.xml
       (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScriptHtml.xml
       Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>JsAllScriptHtml</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>05 Jan 2005, 03:34:07.206 PM MST</ses:startDate>
+   <ses:startDate>12 Jan 2005, 09:54:00.235 AM MST</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -40,7 +40,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7cbb</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74a1</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testnumber</ses:name>
@@ -142,14 +142,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.firstName="firstName"
-netui_tagIdMap.lastName="lastName"
-
-
-// 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.firstName="{actionForm.firstName}"
@@ -192,14 +184,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -212,16 +213,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -260,7 +262,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -294,7 +296,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -310,7 +312,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7cbb</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74a1</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testnumber</ses:name>
@@ -368,7 +370,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -390,7 +392,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -406,7 +408,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7cbb</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74a1</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testnumber</ses:name>
@@ -492,14 +494,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.firstName="firstName"
-netui_tagIdMap.lastName="lastName"
-
-
-// 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.firstName="{actionForm.firstName}"
@@ -542,14 +536,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -562,16 +565,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -610,7 +614,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -644,7 +648,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -660,7 +664,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7cbb</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74a1</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testnumber</ses:name>
@@ -718,7 +722,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -740,7 +744,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -756,7 +760,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7cbb</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74a1</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testnumber</ses:name>
@@ -842,14 +846,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.firstName="firstName"
-netui_tagIdMap.lastName="lastName"
-
-
-// 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.firstName="{actionForm.firstName}"
@@ -892,14 +888,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -912,16 +917,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -960,7 +966,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -994,7 +1000,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -1010,7 +1016,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7cbb</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74a1</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testnumber</ses:name>
@@ -1068,7 +1074,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -1090,7 +1096,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -1106,7 +1112,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7cbb</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74a1</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testnumber</ses:name>
@@ -1192,14 +1198,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.firstName="firstName"
-netui_tagIdMap.lastName="lastName"
-
-
-// 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.firstName="{actionForm.firstName}"
@@ -1242,14 +1240,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -1262,16 +1269,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -1310,7 +1318,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -1344,7 +1352,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -1360,7 +1368,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7cbb</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74a1</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testnumber</ses:name>
@@ -1418,7 +1426,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -1440,7 +1448,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -1456,7 +1464,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7cbb</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74a1</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testnumber</ses:name>
@@ -1542,14 +1550,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.firstName="firstName"
-netui_tagIdMap.lastName="lastName"
-
-
-// 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.firstName="{actionForm.firstName}"
@@ -1592,14 +1592,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -1612,16 +1621,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -1664,7 +1674,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -1698,7 +1708,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -1714,7 +1724,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7cbb</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74a1</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testnumber</ses:name>
@@ -1772,7 +1782,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -1794,7 +1804,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -1810,7 +1820,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7cbb</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-74a1</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testnumber</ses:name>
@@ -1896,14 +1906,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.firstName="firstName"
-netui_tagIdMap.lastName="lastName"
-
-
-// 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.firstName="{actionForm.firstName}"
@@ -1946,14 +1948,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -1966,16 +1977,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -1989,7 +2001,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>05 Jan 2005, 03:34:08.828 PM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 09:54:01.533 AM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>11</ses:testCount>
    <ses:passedCount>5</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsFind.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsFind.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsFind.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsFind.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsFind.xml    
    (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsFind.xml    
    Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>JsFind</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>05 Jan 2005, 03:34:08.868 PM MST</ses:startDate>
+   <ses:startDate>12 Jan 2005, 09:54:01.572 AM MST</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -40,7 +40,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7caf</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-7495</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testnumber</ses:name>
@@ -122,13 +122,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.select="select"
-
-
-// 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.select="wlw-select_key:{actionForm.type}"
@@ -149,14 +142,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -169,16 +171,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -213,7 +216,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -247,7 +250,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -263,7 +266,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7caf</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-7495</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testnumber</ses:name>
@@ -329,13 +332,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.select="select"
-
-
-// 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.select="wlw-select_key:{actionForm.type}"
@@ -356,14 +352,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -376,16 +381,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -420,7 +426,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -454,7 +460,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -470,7 +476,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7caf</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-7495</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testnumber</ses:name>
@@ -536,13 +542,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.select="select"
-
-
-// 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.select="wlw-select_key:{actionForm.type}"
@@ -563,14 +562,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -583,16 +591,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -627,7 +636,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -661,7 +670,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -677,7 +686,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7caf</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-7495</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testnumber</ses:name>
@@ -743,13 +752,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.select="select"
-
-
-// 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.select="wlw-select_key:{actionForm.type}"
@@ -770,14 +772,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -790,16 +801,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -813,7 +825,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>05 Jan 2005, 03:34:09.549 PM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 09:54:02.702 AM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>4</ses:testCount>
    <ses:passedCount>0</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsNoContainers.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsNoContainers.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsNoContainers.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsNoContainers.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsNoContainers.xml
        (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsNoContainers.xml
        Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>JsNoContainers</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>05 Jan 2005, 03:34:11.141 PM MST</ses:startDate>
+   <ses:startDate>12 Jan 2005, 01:23:13.600 PM MST</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>92DD04175ED8B6511C549878A529D088</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -40,7 +40,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=92DD04175ED8B6511C549878A529D088; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7ca6</ses:value>
+                  <ses:value>-64638637:1016893d1d1:-7c96</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -126,19 +126,24 @@
 
 &lt;script language="JavaScript" type="text/JavaScript">
 &lt;!--
-
-// map tagId to "real name"
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.lastName="lastName"
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
+}
+
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
+{
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 
 
@@ -177,7 +182,6 @@
 
 &lt;script language="JavaScript" type="text/JavaScript">
 &lt;!--
-netui_tagIdMap.firstName="firstName"
 netui_tagIdNameMap.firstName="{actionForm.firstName}"
 -->
 &lt;/script>
@@ -258,7 +262,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>05 Jan 2005, 03:34:11.742 PM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 01:23:14.649 PM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>1</ses:testCount>
    <ses:passedCount>0</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortal.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortal.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortal.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortal.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortal.xml
    (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortal.xml
    Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>MockPortal</ses:sessionName>
    <ses:tester>rich</ses:tester>
-   <ses:startDate>05 Jan 2005, 03:34:23.809 PM MST</ses:startDate>
+   <ses:startDate>12 Jan 2005, 09:54:21.912 AM MST</ses:startDate>
    <ses:description>rich</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -44,7 +44,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7c72</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-7458</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -67,51 +67,51 @@
          <ses:response>
             <ses:statusCode>200</ses:statusCode>
             <ses:reason/>
-            <ses:responseBody>&lt;html>
-&lt;head>
-&lt;title>Mock Portal (/mockportal)&lt;/title>
-&lt;/head>
+            <ses:responseBody><![CDATA[<html>
+<head>
+<title>Mock Portal (/mockportal)</title>
+</head>
 
-&lt;h3>Mock Portal (/mockportal)&lt;/h3>
-&lt;body>
+<h3>Mock Portal (/mockportal)</h3>
+<body>
 
-    &lt;table border="1" cellspacing="1" cellpadding="5" width="100%">
-&lt;tr bordercolor="White">&lt;td bgcolor="#EEEEFF">
-&lt;b>Portlet smokeTestA&lt;/b>&lt;/td>&lt;/tr>&lt;tr 
bordercolor="White">&lt;td bgcolor="#EEEEFF">
-&lt;font color="green">Action was: &lt;b>begin&lt;/b>&lt;/font>&lt;br>
-&lt;font color="green">Action result URI: 
&lt;b>/mockportal/smokeTest/index.jsp&lt;/b>&lt;/font>&lt;br>
-&lt;font color="green">Action result isRedirect: 
&lt;b>false&lt;/b>&lt;/font>&lt;br>
-&lt;font color="black">PageFlow/StrutsModule type: 
&lt;b>mockportal.smokeTest.SmokeTestController&lt;/b>&lt;/font>&lt;br>
-&lt;font color="black">Current URL: 
&lt;b>/mockportal/smokeTest/index.jsp&lt;/b>&lt;/font>&lt;br>
-&lt;/td>&lt;/tr>
-&lt;tr>&lt;td>
+    <table border="1" cellspacing="1" cellpadding="5" width="100%">
+<tr bordercolor="White"><td bgcolor="#EEEEFF">
+<b>Portlet smokeTestA</b></td></tr><tr bordercolor="White"><td 
bgcolor="#EEEEFF">
+<font color="green">Action was: <b>begin</b></font><br>
+<font color="green">Action result URI: 
<b>/mockportal/smokeTest/index.jsp</b></font><br>
+<font color="green">Action result isRedirect: <b>false</b></font><br>
+<font color="black">PageFlow/StrutsModule type: 
<b>mockportal.smokeTest.SmokeTestController</b></font><br>
+<font color="black">Current URL: 
<b>/mockportal/smokeTest/index.jsp</b></font><br>
+</td></tr>
+<tr><td>
 
 
 
 
-&lt;!DOCTYPE HTML PUBLIC "//W3C//DTD HTML 4.01 Transitional//EN"
+<!DOCTYPE HTML PUBLIC "//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd";>
-&lt;html lang="en">
+<html lang="en">
 
-    &lt;head>
-        &lt;title>
+    <head>
+        <title>
             Mock Portal Smoke Test
-        &lt;/title>
-    &lt;/head>
-    &lt;body>
-        &lt;h3>Mock Portal Smoke Test&lt;/h3>
-        
-        &lt;form id="smokeTestANetui_Form_0" 
action="/coreWeb/mockportal/MockPortal.jsp?smokeTestAaltAction=submit&amp;smokeTestA_submit=true"
 method="post">
-            data: &lt;input type="text" name="smokeTestA{pageFlow.data}" 
id="tb">
-            &lt;input type="submit" value="submit">
-        &lt;/form>
+        </title>
+    </head>
+    <body>
+        <h3>Mock Portal Smoke Test</h3>
+        
+        <form id="smokeTestANetui_Form_0" 
action="/coreWeb/mockportal/MockPortal.jsp?smokeTestAaltAction=submit&smokeTestA_submit=true"
 method="post">
+            data: <input type="text" name="smokeTestA{pageFlow.data}" id="tb">
+            <input type="submit" value="submit">
+        </form>
 
-        &lt;a 
href="/coreWeb/mockportal/MockPortal.jsp?smokeTestAaltAction=goNested&amp;smokeTestA_submit=true">goNested&lt;/a>
-    &lt;/body>
+        <a 
href="/coreWeb/mockportal/MockPortal.jsp?smokeTestAaltAction=goNested&smokeTestA_submit=true">goNested</a>
+    </body>
 
 
-&lt;script language="JavaScript" type="text/JavaScript">
-&lt;!--
+<script language="JavaScript" type="text/JavaScript">
+<!--
 
 // **** This section contains code that will run when the page is loaded ****
 
@@ -125,13 +125,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.tb="tb"
-
-
-// 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.tb="smokeTestA{pageFlow.data}"
@@ -152,14 +145,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -172,61 +174,62 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null && tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
-&lt;/script>
+</script>
 
 
-&lt;/html>
-&lt;/td>&lt;/tr>
-&lt;/table>&lt;br>&lt;br>
-&lt;table border="1" cellspacing="1" cellpadding="5" width="100%">
-&lt;tr bordercolor="White">&lt;td bgcolor="#EEEEFF">
-&lt;b>Portlet smokeTestB&lt;/b>&lt;/td>&lt;/tr>&lt;tr 
bordercolor="White">&lt;td bgcolor="#EEEEFF">
-&lt;font color="green">Action was: &lt;b>begin&lt;/b>&lt;/font>&lt;br>
-&lt;font color="green">Action result URI: 
&lt;b>/mockportal/smokeTest/index.jsp&lt;/b>&lt;/font>&lt;br>
-&lt;font color="green">Action result isRedirect: 
&lt;b>false&lt;/b>&lt;/font>&lt;br>
-&lt;font color="black">PageFlow/StrutsModule type: 
&lt;b>mockportal.smokeTest.SmokeTestController&lt;/b>&lt;/font>&lt;br>
-&lt;font color="black">Current URL: 
&lt;b>/mockportal/smokeTest/index.jsp&lt;/b>&lt;/font>&lt;br>
-&lt;/td>&lt;/tr>
-&lt;tr>&lt;td>
+</html>
+</td></tr>
+</table><br><br>
+<table border="1" cellspacing="1" cellpadding="5" width="100%">
+<tr bordercolor="White"><td bgcolor="#EEEEFF">
+<b>Portlet smokeTestB</b></td></tr><tr bordercolor="White"><td 
bgcolor="#EEEEFF">
+<font color="green">Action was: <b>begin</b></font><br>
+<font color="green">Action result URI: 
<b>/mockportal/smokeTest/index.jsp</b></font><br>
+<font color="green">Action result isRedirect: <b>false</b></font><br>
+<font color="black">PageFlow/StrutsModule type: 
<b>mockportal.smokeTest.SmokeTestController</b></font><br>
+<font color="black">Current URL: 
<b>/mockportal/smokeTest/index.jsp</b></font><br>
+</td></tr>
+<tr><td>
 
 
 
 
-&lt;!DOCTYPE HTML PUBLIC "//W3C//DTD HTML 4.01 Transitional//EN"
+<!DOCTYPE HTML PUBLIC "//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd";>
-&lt;html lang="en">
+<html lang="en">
 
-    &lt;head>
-        &lt;title>
+    <head>
+        <title>
             Mock Portal Smoke Test
-        &lt;/title>
-    &lt;/head>
-    &lt;body>
-        &lt;h3>Mock Portal Smoke Test&lt;/h3>
-        
-        &lt;form id="smokeTestBNetui_Form_0" 
action="/coreWeb/mockportal/MockPortal.jsp?smokeTestBaltAction=submit&amp;smokeTestB_submit=true"
 method="post">
-            data: &lt;input type="text" name="smokeTestB{pageFlow.data}" 
id="tb">
-            &lt;input type="submit" value="submit">
-        &lt;/form>
+        </title>
+    </head>
+    <body>
+        <h3>Mock Portal Smoke Test</h3>
+        
+        <form id="smokeTestBNetui_Form_0" 
action="/coreWeb/mockportal/MockPortal.jsp?smokeTestBaltAction=submit&smokeTestB_submit=true"
 method="post">
+            data: <input type="text" name="smokeTestB{pageFlow.data}" id="tb">
+            <input type="submit" value="submit">
+        </form>
 
-        &lt;a 
href="/coreWeb/mockportal/MockPortal.jsp?smokeTestBaltAction=goNested&amp;smokeTestB_submit=true">goNested&lt;/a>
-    &lt;/body>
+        <a 
href="/coreWeb/mockportal/MockPortal.jsp?smokeTestBaltAction=goNested&smokeTestB_submit=true">goNested</a>
+    </body>
 
 
-&lt;script language="JavaScript" type="text/JavaScript">
-&lt;!--
+<script language="JavaScript" type="text/JavaScript">
+<!--
 
 // **** This section contains code that will run when the page is loaded ****
 
@@ -240,13 +243,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.tb="tb"
-
-
-// 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.tb="smokeTestB{pageFlow.data}"
@@ -267,14 +263,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -287,31 +292,32 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null && tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
-&lt;/script>
+</script>
 
 
-&lt;/html>
-&lt;/td>&lt;/tr>
-&lt;/table>&lt;br>&lt;br>
+</html>
+</td></tr>
+</table><br><br>
 
         
         
     
 
-&lt;/body>
-&lt;/html></ses:responseBody>
+</body>
+</html>]]></ses:responseBody>
          </ses:response>
          <ses:testResults>
             <ses:testStatus>fail</ses:testStatus>
@@ -343,7 +349,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -377,7 +383,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -389,7 +395,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7c72</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-7458</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -491,13 +497,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.tb="tb"
-
-
-// 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.tb="smokeTestB{pageFlow.data}"
@@ -518,7 +517,7 @@
 </html>]]></ses:responseBody>
          </ses:response>
          <ses:testResults>
-            <ses:testStatus>pass</ses:testStatus>
+            <ses:testStatus>fail</ses:testStatus>
          </ses:testResults>
       </ses:test>
       <ses:test>
@@ -547,7 +546,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -581,7 +580,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -593,7 +592,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7c72</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-7458</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -715,7 +714,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -741,7 +740,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -753,7 +752,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7c72</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-7458</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -822,13 +821,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.tb="tb"
-
-
-// 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.tb="smokeTestA{pageFlow.data}"
@@ -849,14 +841,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -869,16 +870,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null && tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 </script>
@@ -954,7 +956,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -980,7 +982,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -992,7 +994,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7c72</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-7458</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -1113,7 +1115,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -1139,7 +1141,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -1151,7 +1153,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7c72</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-7458</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -1252,13 +1254,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.tb="tb"
-
-
-// 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.tb="smokeTestB{pageFlow.data}"
@@ -1279,14 +1274,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -1299,16 +1303,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null && tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 </script>
@@ -1351,7 +1356,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -1377,7 +1382,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -1389,7 +1394,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7c72</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-7458</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -1458,13 +1463,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.tb="tb"
-
-
-// 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.tb="smokeTestA{pageFlow.data}"
@@ -1485,14 +1483,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -1505,16 +1512,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null && tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 </script>
@@ -1570,13 +1578,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.tb="tb"
-
-
-// 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.tb="smokeTestB{pageFlow.data}"
@@ -1601,9 +1602,9 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>05 Jan 2005, 03:34:26.613 PM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 09:54:25.142 AM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>7</ses:testCount>
-   <ses:passedCount>3</ses:passedCount>
-   <ses:failedCount>4</ses:failedCount>
+   <ses:passedCount>2</ses:passedCount>
+   <ses:failedCount>5</ses:failedCount>
 </ses:recorderSession>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/OnTest.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/OnTest.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/OnTest.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/OnTest.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/OnTest.xml    
    (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/OnTest.xml    
    Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>OnTest</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>08 Jan 2005, 12:34:26.781 PM MST</ses:startDate>
+   <ses:startDate>12 Jan 2005, 01:23:48.163 PM MST</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>A40689681FEBC78DB425BAEFD773E696</ses:value>
+                  <ses:value>92DD04175ED8B6511C549878A529D088</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -40,7 +40,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=A40689681FEBC78DB425BAEFD773E696; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=92DD04175ED8B6511C549878A529D088; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-32a71897:10153ca7c1e:-7c14</ses:value>
+                  <ses:value>-64638637:1016893d1d1:-7c0a</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testnumber</ses:name>
@@ -292,19 +292,24 @@
 
 &lt;script language="JavaScript" type="text/JavaScript">
 &lt;!--
-
-// map tagId to "real name"
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.Godzilla="Godzilla"
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
+}
+
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
+{
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 
 -->
@@ -329,7 +334,6 @@
 
 &lt;script language="JavaScript" type="text/JavaScript">
 &lt;!--
-netui_tagIdMap.Godzilla="Godzilla"
 -->
 &lt;/script>
 
@@ -360,7 +364,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>08 Jan 2005, 12:34:27.953 PM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 01:23:49.551 PM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>1</ses:testCount>
    <ses:passedCount>0</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteNameVar.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteNameVar.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteNameVar.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteNameVar.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteNameVar.xml
        (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteNameVar.xml
        Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>RewriteNameVar</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>05 Jan 2005, 03:36:59.250 PM MST</ses:startDate>
+   <ses:startDate>11 Jan 2005, 08:36:29.601 PM MST</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>09C12B199EB2209376745BA19999C60E</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -40,7 +40,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=09C12B199EB2209376745BA19999C60E; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-79f5</ses:value>
+                  <ses:value>28d51955:10164f76030:-79eb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -143,7 +143,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>05 Jan 2005, 03:36:59.810 PM MST</ses:endDate>
+   <ses:endDate>11 Jan 2005, 08:36:30.151 PM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>1</ses:testCount>
    <ses:passedCount>0</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteTags.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteTags.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteTags.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteTags.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteTags.xml
   (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteTags.xml
   Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>RewriteTags</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>05 Jan 2005, 03:36:59.830 PM MST</ses:startDate>
+   <ses:startDate>11 Jan 2005, 08:36:30.181 PM MST</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>09C12B199EB2209376745BA19999C60E</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -40,7 +40,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=09C12B199EB2209376745BA19999C60E; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-79f3</ses:value>
+                  <ses:value>28d51955:10164f76030:-79e9</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -142,7 +142,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>05 Jan 2005, 03:37:00.401 PM MST</ses:endDate>
+   <ses:endDate>11 Jan 2005, 08:36:30.782 PM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>1</ses:testCount>
    <ses:passedCount>0</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RtexpTagId.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RtexpTagId.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RtexpTagId.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RtexpTagId.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RtexpTagId.xml
    (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RtexpTagId.xml
    Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>RtexpTagId</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>08 Jan 2005, 12:38:58.781 PM MST</ses:startDate>
+   <ses:startDate>12 Jan 2005, 09:58:01.254 AM MST</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>A40689681FEBC78DB425BAEFD773E696</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -40,7 +40,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=A40689681FEBC78DB425BAEFD773E696; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-32a71897:10153ca7c1e:-7971</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-715d</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testnumber</ses:name>
@@ -125,15 +125,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.tagid3="tagid3"
-netui_tagIdMap.tagid1="tagid1"
-netui_tagIdMap.tagid2="tagid2"
-
-
-// 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.tagid1="{actionForm.firstName}"
@@ -155,14 +146,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -175,16 +175,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -219,7 +220,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>A40689681FEBC78DB425BAEFD773E696</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -253,7 +254,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=A40689681FEBC78DB425BAEFD773E696; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -269,7 +270,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-32a71897:10153ca7c1e:-7971</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-715d</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testnumber</ses:name>
@@ -338,15 +339,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.tagid3="tagid3"
-netui_tagIdMap.tagid1="tagid1"
-netui_tagIdMap.tagid2="tagid2"
-
-
-// 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.tagid1="{actionForm.firstName}"
@@ -368,14 +360,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -388,16 +389,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -411,7 +413,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>08 Jan 2005, 12:39:00.234 PM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 09:58:02.553 AM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>2</ses:testCount>
    <ses:passedCount>0</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagIds.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagIds.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagIds.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagIds.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagIds.xml    
    (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagIds.xml    
    Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>TagIds</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>08 Jan 2005, 12:40:08.234 PM MST</ses:startDate>
+   <ses:startDate>12 Jan 2005, 01:05:05.868 PM MST</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>A40689681FEBC78DB425BAEFD773E696</ses:value>
+                  <ses:value>EC626D8712037B8F5D1E8E65B78C6159</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -40,7 +40,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=A40689681FEBC78DB425BAEFD773E696; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=EC626D8712037B8F5D1E8E65B78C6159; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-32a71897:10153ca7c1e:-7902</ses:value>
+                  <ses:value>-46787ba7:101687f6ae3:-78f8</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -145,25 +145,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.form="form"
-netui_tagIdMap.opt2="opt2"
-netui_tagIdMap.opt1="opt1"
-netui_tagIdMap.firstName="firstName"
-netui_tagIdMap.lastName="lastName"
-netui_tagIdMap.select="select"
-netui_tagIdMap.submit="submit"
-netui_tagIdMap.imageButton="imageButton"
-netui_tagIdMap.label="label"
-netui_tagIdMap.image="image"
-netui_tagIdMap.imageAnchor="imageAnchor"
-netui_tagIdMap.opt3="opt3"
-netui_tagIdMap.anchor="anchor"
-
-
-// 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.form="nameBean"
@@ -187,14 +168,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -207,16 +197,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -230,7 +221,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>08 Jan 2005, 12:40:09.343 PM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 01:05:06.671 PM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>1</ses:testCount>
    <ses:passedCount>0</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagSizeBinding.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagSizeBinding.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagSizeBinding.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagSizeBinding.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagSizeBinding.xml
        (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagSizeBinding.xml
        Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>TagSizeBinding</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>08 Jan 2005, 12:40:10.625 PM MST</ses:startDate>
+   <ses:startDate>12 Jan 2005, 01:05:07.926 PM MST</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>A40689681FEBC78DB425BAEFD773E696</ses:value>
+                  <ses:value>EC626D8712037B8F5D1E8E65B78C6159</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -40,7 +40,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=A40689681FEBC78DB425BAEFD773E696; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=EC626D8712037B8F5D1E8E65B78C6159; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-32a71897:10153ca7c1e:-78fe</ses:value>
+                  <ses:value>-46787ba7:101687f6ae3:-78f4</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -111,7 +111,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>A40689681FEBC78DB425BAEFD773E696</ses:value>
+                  <ses:value>EC626D8712037B8F5D1E8E65B78C6159</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -133,7 +133,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=A40689681FEBC78DB425BAEFD773E696; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=EC626D8712037B8F5D1E8E65B78C6159; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -149,7 +149,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-32a71897:10153ca7c1e:-78fe</ses:value>
+                  <ses:value>-46787ba7:101687f6ae3:-78f4</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -201,7 +201,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>A40689681FEBC78DB425BAEFD773E696</ses:value>
+                  <ses:value>EC626D8712037B8F5D1E8E65B78C6159</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -223,7 +223,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=A40689681FEBC78DB425BAEFD773E696; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=EC626D8712037B8F5D1E8E65B78C6159; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -239,7 +239,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-32a71897:10153ca7c1e:-78fe</ses:value>
+                  <ses:value>-46787ba7:101687f6ae3:-78f4</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -310,17 +310,6 @@
 netui_names.Option-3="Option-3"
 
 
-// Build the netui_names table to map the tagId attributes
-// to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.Option-1="Option-1"
-netui_tagIdMap.Option-4="Option-4"
-netui_tagIdMap.Option-2="Option-2"
-netui_tagIdMap.Option-5="Option-5"
-netui_tagIdMap.Option-3="Option-3"
-
-
 // **** This section contains functions typically run as events ****
 
 
@@ -336,16 +325,6 @@
       return netui_names[scopeId  + "__" + id];
 }
 
-// lookup by tagId to "real id"
-function lookupIdByTagId(id, tag)
-{
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
-}
-
 // This method will walk the hierarchy from the pass element looking for a 
scopeId.
 // The first scopeId found will be returned or the empty string if a scopeId 
is not found.
 function getScopeId(tag)
@@ -357,6 +336,26 @@
       return attrVal;
    return getScopeId(tag.parentNode);
 }
+
+// lookup by tagId to "real id"
+function lookupIdByTagId(id, tag)
+{
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
+}
+
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
+{
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
+}
 -->
 &lt;/script>
 
@@ -397,7 +396,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>A40689681FEBC78DB425BAEFD773E696</ses:value>
+                  <ses:value>EC626D8712037B8F5D1E8E65B78C6159</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -431,7 +430,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=A40689681FEBC78DB425BAEFD773E696; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=EC626D8712037B8F5D1E8E65B78C6159; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -447,7 +446,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-32a71897:10153ca7c1e:-78fe</ses:value>
+                  <ses:value>-46787ba7:101687f6ae3:-78f4</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -519,7 +518,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>A40689681FEBC78DB425BAEFD773E696</ses:value>
+                  <ses:value>EC626D8712037B8F5D1E8E65B78C6159</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -553,7 +552,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=A40689681FEBC78DB425BAEFD773E696; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=EC626D8712037B8F5D1E8E65B78C6159; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -569,7 +568,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-32a71897:10153ca7c1e:-78fe</ses:value>
+                  <ses:value>-46787ba7:101687f6ae3:-78f4</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -612,7 +611,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>08 Jan 2005, 12:40:15.281 PM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 01:05:10.888 PM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>5</ses:testCount>
    <ses:passedCount>4</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlFormLabel.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlFormLabel.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlFormLabel.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlFormLabel.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlFormLabel.xml
        (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlFormLabel.xml
        Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>XhtmlFormLabel</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>05 Jan 2005, 03:38:54.233 PM MST</ses:startDate>
+   <ses:startDate>12 Jan 2005, 01:06:13.785 PM MST</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>EC626D8712037B8F5D1E8E65B78C6159</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -40,7 +40,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=EC626D8712037B8F5D1E8E65B78C6159; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-784d</ses:value>
+                  <ses:value>-46787ba7:101687f6ae3:-781b</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -135,15 +135,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.labelThree="labelThree"
-netui_tagIdMap.labelOne="labelOne"
-netui_tagIdMap.labelTwo="labelTwo"
-
-
-// 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.labelThree="{actionForm.valueThree}"
@@ -166,14 +157,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -186,16 +186,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -234,7 +235,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>EC626D8712037B8F5D1E8E65B78C6159</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -268,7 +269,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=EC626D8712037B8F5D1E8E65B78C6159; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -284,7 +285,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-784d</ses:value>
+                  <ses:value>-46787ba7:101687f6ae3:-781b</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -344,7 +345,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>05 Jan 2005, 03:38:55.865 PM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 01:06:14.950 PM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>2</ses:testCount>
    <ses:passedCount>1</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr180865.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr180865.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr180865.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr180865.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr180865.xml  
    (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr180865.xml  
    Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>Cr180865</ses:sessionName>
    <ses:tester>null</ses:tester>
-   <ses:startDate>05 Jan 2005, 03:32:23.058 PM MST</ses:startDate>
+   <ses:startDate>11 Jan 2005, 08:31:22.539 PM MST</ses:startDate>
    <ses:description>null</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>09C12B199EB2209376745BA19999C60E</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -40,7 +40,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=09C12B199EB2209376745BA19999C60E; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7e2b</ses:value>
+                  <ses:value>28d51955:10164f76030:-7e2b</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -215,7 +215,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>09C12B199EB2209376745BA19999C60E</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -237,7 +237,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=09C12B199EB2209376745BA19999C60E; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -253,7 +253,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7e2b</ses:value>
+                  <ses:value>28d51955:10164f76030:-7e2b</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -412,7 +412,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>09C12B199EB2209376745BA19999C60E</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -434,7 +434,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=09C12B199EB2209376745BA19999C60E; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -450,7 +450,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7e2b</ses:value>
+                  <ses:value>28d51955:10164f76030:-7e2b</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -609,7 +609,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>09C12B199EB2209376745BA19999C60E</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -631,7 +631,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=09C12B199EB2209376745BA19999C60E; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -647,7 +647,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7e2b</ses:value>
+                  <ses:value>28d51955:10164f76030:-7e2b</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -789,7 +789,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>05 Jan 2005, 03:32:23.779 PM MST</ses:endDate>
+   <ses:endDate>11 Jan 2005, 08:31:23.480 PM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>4</ses:testCount>
    <ses:passedCount>0</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr183774.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr183774.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr183774.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr183774.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr183774.xml  
    (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr183774.xml  
    Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>Cr183774</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>05 Jan 2005, 03:32:23.799 PM MST</ses:startDate>
+   <ses:startDate>12 Jan 2005, 09:52:07.310 AM MST</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -40,7 +40,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -48,7 +48,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7e26</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-761c</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -94,14 +94,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.barId="barId"
-netui_tagIdMap.fooId="fooId"
-
-
-// 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.barId="{actionForm.bar}"
@@ -123,14 +115,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -143,16 +144,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -165,7 +167,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>05 Jan 2005, 03:32:24.740 PM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 09:52:07.885 AM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>1</ses:testCount>
    <ses:passedCount>0</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsScriptScopeId.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsScriptScopeId.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsScriptScopeId.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsScriptScopeId.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsScriptScopeId.xml
       (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsScriptScopeId.xml
       Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>jsScriptScopeId</ses:sessionName>
    <ses:tester>Daryl</ses:tester>
-   <ses:startDate>05 Jan 2005, 03:34:12.623 PM MST</ses:startDate>
+   <ses:startDate>12 Jan 2005, 09:54:06.506 AM MST</ses:startDate>
    <ses:description>Daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -40,7 +40,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7c9e</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-7484</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -140,14 +140,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.one__firstName="one.firstName"
-netui_tagIdMap.one__lastName="one.lastName"
-
-
-// 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.one__firstName="{actionForm.firstName}"
@@ -190,14 +182,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -210,16 +211,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -267,14 +269,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.two__firstName="two.firstName"
-netui_tagIdMap.two__lastName="two.lastName"
-
-
-// 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.two__firstName="{actionForm.firstName}"
@@ -344,7 +338,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -378,7 +372,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -394,7 +388,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7c9e</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-7484</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -449,7 +443,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -471,7 +465,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -487,7 +481,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7c9e</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-7484</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -571,14 +565,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.one__firstName="one.firstName"
-netui_tagIdMap.one__lastName="one.lastName"
-
-
-// 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.one__firstName="{actionForm.firstName}"
@@ -621,14 +607,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -641,16 +636,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -698,14 +694,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.two__firstName="two.firstName"
-netui_tagIdMap.two__lastName="two.lastName"
-
-
-// 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.two__firstName="{actionForm.firstName}"
@@ -771,7 +759,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -805,7 +793,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -821,7 +809,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7c9e</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-7484</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -876,7 +864,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>56BA56A09B762C1C84636272E60B0973</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -898,7 +886,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=56BA56A09B762C1C84636272E60B0973; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>cookie2</ses:name>
@@ -914,7 +902,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-43783df1:10144ff88e4:-7c9e</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-7484</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -998,14 +986,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.one__firstName="one.firstName"
-netui_tagIdMap.one__lastName="one.lastName"
-
-
-// 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.one__firstName="{actionForm.firstName}"
@@ -1048,14 +1028,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -1068,16 +1057,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -1125,14 +1115,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.two__firstName="two.firstName"
-netui_tagIdMap.two__lastName="two.lastName"
-
-
-// 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.two__firstName="{actionForm.firstName}"
@@ -1169,7 +1151,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>05 Jan 2005, 03:34:14.246 PM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 09:54:08.468 AM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>5</ses:testCount>
    <ses:passedCount>2</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsid.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsid.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsid.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsid.xml&r2=124998
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsid.xml  
(original)
+++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsid.xml  
Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>jsid</ses:sessionName>
    <ses:tester>daryl</ses:tester>
-   <ses:startDate>07 Jan 2005, 08:02:43.767 AM MST</ses:startDate>
+   <ses:startDate>12 Jan 2005, 09:54:02.732 AM MST</ses:startDate>
    <ses:description>daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>14592C5C06B4FD45EA5B234F4EE0D385</ses:value>
+                  <ses:value>333A485541F61EB0242D17363C38C878</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -44,7 +44,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=14592C5C06B4FD45EA5B234F4EE0D385; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=333A485541F61EB0242D17363C38C878; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-a1bb3f1:1014daed030:-7ca6</ses:value>
+                  <ses:value>2c8c3167:10167978d3c:-7490</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -112,17 +112,6 @@
 
 // Build the netui_names table to map the tagId attributes
 // to the real id written into the HTML
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.b1="b1"
-netui_tagIdMap.t1="t1"
-netui_tagIdMap.form="form"
-netui_tagIdMap.b2="b2"
-netui_tagIdMap.t2="t2"
-
-
-// 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.t1="{actionForm.text1}"
@@ -146,14 +135,23 @@
       return netui_names[scopeId  + "__" + id];
 }
 
+// This method will walk the hierarchy from the pass element looking for a 
scopeId.
+// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
+function getScopeId(tag)
+{
+   if (tag == null || tag.getAttribute == null)
+      return "";
+   var attrVal = tag.getAttribute("netui:scopeId");
+   if (attrVal != null)
+      return attrVal;
+   return getScopeId(tag.parentNode);
+}
+
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
 }
 
 // lookup by tagId to "real name"
@@ -166,16 +164,17 @@
       return netui_tagIdNameMap[scopeId  + "__" + id];
 }
 
-// This method will walk the hierarchy from the pass element looking for a 
scopeId.
-// The first scopeId found will be returned or the empty string if a scopeId 
is not found.
-function getScopeId(tag)
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
 {
-   if (tag == null || tag.getAttribute == null)
-      return "";
-   var attrVal = tag.getAttribute("netui:scopeId");
-   if (attrVal != null)
-      return attrVal;
-   return getScopeId(tag.parentNode);
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 -->
 &lt;/script>
@@ -209,7 +208,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>07 Jan 2005, 08:02:44.808 AM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 09:54:03.346 AM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>1</ses:testCount>
    <ses:passedCount>0</ses:passedCount>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsidnohtml.xml
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsidnohtml.xml?view=diff&rev=124998&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsidnohtml.xml&r1=124997&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsidnohtml.xml&r2=124998
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsidnohtml.xml
    (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsidnohtml.xml
    Wed Jan 12 14:26:53 2005
@@ -2,7 +2,7 @@
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>jsidnohtml</ses:sessionName>
    <ses:tester>daryl</ses:tester>
-   <ses:startDate>07 Jan 2005, 08:02:44.849 AM MST</ses:startDate>
+   <ses:startDate>12 Jan 2005, 01:23:12.901 PM MST</ses:startDate>
    <ses:description>daryl</ses:description>
    <ses:tests>
       <ses:test>
@@ -18,7 +18,7 @@
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>14592C5C06B4FD45EA5B234F4EE0D385</ses:value>
+                  <ses:value>92DD04175ED8B6511C549878A529D088</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -44,7 +44,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  <ses:value>$Version=0; 
JSESSIONID=14592C5C06B4FD45EA5B234F4EE0D385; $Path=/coreWeb</ses:value>
+                  <ses:value>$Version=0; 
JSESSIONID=92DD04175ED8B6511C549878A529D088; $Path=/coreWeb</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -56,7 +56,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>testrecorder.playback.testid</ses:name>
-                  <ses:value>-a1bb3f1:1014daed030:-7ca4</ses:value>
+                  <ses:value>-64638637:1016893d1d1:-7c98</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
@@ -117,19 +117,24 @@
 
 &lt;script language="JavaScript" type="text/JavaScript">
 &lt;!--
-
-// map tagId to "real name"
-if (netui_tagIdMap == null)
-   var netui_tagIdMap = new Object();
-netui_tagIdMap.t1="t1"
 // lookup by tagId to "real id"
 function lookupIdByTagId(id, tag)
 {
-   var scopeId = getScopeId(tag);
-   if (scopeId == "")
-      return netui_tagIdMap[id];
-   else
-      return netui_tagIdMap[scopeId  + "__" + id];
+   var scopeId = lookupScopeId(tag);
+   return (scopeId == "") ? id : scopeId + id;
+}
+
+//Non-Legacy lookup method creating a fully qualified scope id
+function lookupScopeId(tag)
+{
+   var val = "";
+   while (tag != null &amp;&amp; tag.getAttribute != null) {
+      var attrVal = tag.getAttribute("netui:scopeId");
+      if (attrVal != null)
+         val = attrVal + "." + val;
+      tag = tag.parentNode;
+   }
+   return val;
 }
 
 
@@ -163,7 +168,6 @@
 
 &lt;script language="JavaScript" type="text/JavaScript">
 &lt;!--
-netui_tagIdMap.t2="t2"
 netui_tagIdNameMap.t2="{actionForm.text2}"
 -->
 &lt;/script>
@@ -185,7 +189,6 @@
 
 &lt;script language="JavaScript" type="text/JavaScript">
 &lt;!--
-netui_tagIdMap.b1="b1"
 -->
 &lt;/script>
 
@@ -202,7 +205,6 @@
 
 &lt;script language="JavaScript" type="text/JavaScript">
 &lt;!--
-netui_tagIdMap.b2="b2"
 netui_tagIdNameMap.b2="actionOverride:override"
 -->
 &lt;/script>
@@ -221,7 +223,6 @@
 
 &lt;script language="JavaScript" type="text/JavaScript">
 &lt;!--
-netui_tagIdMap.form="form"
 netui_tagIdNameMap.form="bean"
 -->
 &lt;/script>
@@ -254,7 +255,7 @@
          </ses:testResults>
       </ses:test>
    </ses:tests>
-   <ses:endDate>07 Jan 2005, 08:02:45.459 AM MST</ses:endDate>
+   <ses:endDate>12 Jan 2005, 01:23:13.560 PM MST</ses:endDate>
    <ses:sessionStatus>fail</ses:sessionStatus>
    <ses:testCount>1</ses:testCount>
    <ses:passedCount>0</ses:passedCount>

Reply via email to