beehive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From crog...@apache.org
Subject svn commit: r399891 [2/2] - in /beehive/trunk/netui: src/tags-html/org/apache/beehive/netui/tags/javascript/ test/webapps/drt/testRecorder/tests/ test/webapps/drt/web/bugs/j475/
Date Fri, 05 May 2006 00:11:34 GMT
Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScript.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScript.xml?rev=399891&r1=399890&r2=399891&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScript.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScript.xml Thu May  4 17:11:25
2006
@@ -179,7 +179,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -517,7 +519,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -855,7 +859,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -1193,7 +1199,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -1531,7 +1539,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -1873,7 +1883,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -1926,4 +1938,4 @@
    <ses:testCount>11</ses:testCount>
    <ses:passedCount>5</ses:passedCount>
    <ses:failedCount>6</ses:failedCount>
-</ses:recorderSession>
\ No newline at end of file
+</ses:recorderSession>

Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScriptHtml.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScriptHtml.xml?rev=399891&r1=399890&r2=399891&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScriptHtml.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScriptHtml.xml Thu May  4
17:11:25 2006
@@ -182,7 +182,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -527,7 +529,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -872,7 +876,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -1217,7 +1223,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -1562,7 +1570,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -1911,7 +1921,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -1964,4 +1976,4 @@
    <ses:testCount>11</ses:testCount>
    <ses:passedCount>5</ses:passedCount>
    <ses:failedCount>6</ses:failedCount>
-</ses:recorderSession>
\ No newline at end of file
+</ses:recorderSession>

Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsFind.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsFind.xml?rev=399891&r1=399890&r2=399891&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsFind.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsFind.xml Thu May  4 17:11:25
2006
@@ -136,7 +136,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -341,7 +343,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -546,7 +550,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -751,7 +757,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -810,4 +818,4 @@
    <ses:testCount>4</ses:testCount>
    <ses:passedCount>0</ses:passedCount>
    <ses:failedCount>4</ses:failedCount>
-</ses:recorderSession>
\ No newline at end of file
+</ses:recorderSession>

Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsNoContainers.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsNoContainers.xml?rev=399891&r1=399890&r2=399891&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsNoContainers.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsNoContainers.xml Thu May  4
17:11:25 2006
@@ -112,7 +112,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -256,4 +258,4 @@
    <ses:testCount>1</ses:testCount>
    <ses:passedCount>0</ses:passedCount>
    <ses:failedCount>1</ses:failedCount>
-</ses:recorderSession>
\ No newline at end of file
+</ses:recorderSession>

Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortal.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortal.xml?rev=399891&r1=399890&r2=399891&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortal.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortal.xml Thu May  4 17:11:25
2006
@@ -145,7 +145,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -450,7 +452,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -826,7 +830,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -1254,7 +1260,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -1458,7 +1466,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -1572,4 +1582,4 @@
    <ses:testCount>7</ses:testCount>
    <ses:passedCount>0</ses:passedCount>
    <ses:failedCount>7</ses:failedCount>
-</ses:recorderSession>
\ No newline at end of file
+</ses:recorderSession>

Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortalPopupWindows.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortalPopupWindows.xml?rev=399891&r1=399890&r2=399891&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortalPopupWindows.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortalPopupWindows.xml Thu
May  4 17:11:25 2006
@@ -273,7 +273,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -1374,7 +1376,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);

Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortalScopingTest.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortalScopingTest.xml?rev=399891&r1=399890&r2=399891&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortalScopingTest.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortalScopingTest.xml Thu
May  4 17:11:25 2006
@@ -123,7 +123,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -397,7 +399,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -760,7 +764,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -812,4 +818,4 @@
    <ses:testCount>6</ses:testCount>
    <ses:passedCount>3</ses:passedCount>
    <ses:failedCount>3</ses:failedCount>
-</ses:recorderSession>
\ No newline at end of file
+</ses:recorderSession>

Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortalScopingTest2.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortalScopingTest2.xml?rev=399891&r1=399890&r2=399891&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortalScopingTest2.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortalScopingTest2.xml Thu
May  4 17:11:25 2006
@@ -143,7 +143,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -445,7 +447,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -796,7 +800,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -1178,4 +1184,4 @@
    <ses:testCount>7</ses:testCount>
    <ses:passedCount>3</ses:passedCount>
    <ses:failedCount>4</ses:failedCount>
-</ses:recorderSession>
\ No newline at end of file
+</ses:recorderSession>

Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/OnTest.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/OnTest.xml?rev=399891&r1=399890&r2=399891&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/OnTest.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/OnTest.xml Thu May  4 17:11:25
2006
@@ -276,7 +276,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -362,4 +364,4 @@
    <ses:testCount>1</ses:testCount>
    <ses:passedCount>0</ses:passedCount>
    <ses:failedCount>1</ses:failedCount>
-</ses:recorderSession>
\ No newline at end of file
+</ses:recorderSession>

Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/PopupPassForm.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/PopupPassForm.xml?rev=399891&r1=399890&r2=399891&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/PopupPassForm.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/PopupPassForm.xml Thu May  4 17:11:25
2006
@@ -255,7 +255,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);

Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteNameVar.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteNameVar.xml?rev=399891&r1=399890&r2=399891&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteNameVar.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteNameVar.xml Thu May  4
17:11:25 2006
@@ -120,7 +120,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -140,4 +142,4 @@
    <ses:testCount>1</ses:testCount>
    <ses:passedCount>0</ses:passedCount>
    <ses:failedCount>1</ses:failedCount>
-</ses:recorderSession>
\ No newline at end of file
+</ses:recorderSession>

Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteTags.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteTags.xml?rev=399891&r1=399890&r2=399891&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteTags.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteTags.xml Thu May  4 17:11:25
2006
@@ -119,7 +119,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -139,4 +141,4 @@
    <ses:testCount>1</ses:testCount>
    <ses:passedCount>0</ses:passedCount>
    <ses:failedCount>1</ses:failedCount>
-</ses:recorderSession>
\ No newline at end of file
+</ses:recorderSession>

Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RtexpTagId.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RtexpTagId.xml?rev=399891&r1=399890&r2=399891&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RtexpTagId.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RtexpTagId.xml Thu May  4 17:11:25
2006
@@ -146,7 +146,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -355,7 +357,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -408,4 +412,4 @@
    <ses:testCount>2</ses:testCount>
    <ses:passedCount>0</ses:passedCount>
    <ses:failedCount>2</ses:failedCount>
-</ses:recorderSession>
\ No newline at end of file
+</ses:recorderSession>

Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagIds.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagIds.xml?rev=399891&r1=399890&r2=399891&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagIds.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagIds.xml Thu May  4 17:11:25
2006
@@ -168,7 +168,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -221,4 +223,4 @@
    <ses:testCount>1</ses:testCount>
    <ses:passedCount>0</ses:passedCount>
    <ses:failedCount>1</ses:failedCount>
-</ses:recorderSession>
\ No newline at end of file
+</ses:recorderSession>

Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagSizeBinding.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagSizeBinding.xml?rev=399891&r1=399890&r2=399891&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagSizeBinding.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagSizeBinding.xml Thu May  4
17:11:25 2006
@@ -325,7 +325,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -611,4 +613,4 @@
    <ses:testCount>5</ses:testCount>
    <ses:passedCount>4</ses:passedCount>
    <ses:failedCount>1</ses:failedCount>
-</ses:recorderSession>
\ No newline at end of file
+</ses:recorderSession>

Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/UpdateFormFromNestedPopup.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/UpdateFormFromNestedPopup.xml?rev=399891&r1=399890&r2=399891&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/UpdateFormFromNestedPopup.xml
(original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/UpdateFormFromNestedPopup.xml
Thu May  4 17:11:25 2006
@@ -247,7 +247,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);

Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlFormLabel.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlFormLabel.xml?rev=399891&r1=399890&r2=399891&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlFormLabel.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlFormLabel.xml Thu May  4
17:11:25 2006
@@ -157,7 +157,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);

Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr180865.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr180865.xml?rev=399891&r1=399890&r2=399891&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr180865.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr180865.xml Thu May  4 17:11:25
2006
@@ -138,7 +138,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -478,7 +480,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -903,7 +907,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);

Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr183774.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr183774.xml?rev=399891&r1=399890&r2=399891&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr183774.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr183774.xml Thu May  4 17:11:25
2006
@@ -115,7 +115,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -167,4 +169,4 @@
    <ses:testCount>1</ses:testCount>
    <ses:passedCount>0</ses:passedCount>
    <ses:failedCount>1</ses:failedCount>
-</ses:recorderSession>
\ No newline at end of file
+</ses:recorderSession>

Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsScriptScopeId.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsScriptScopeId.xml?rev=399891&r1=399890&r2=399891&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsScriptScopeId.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsScriptScopeId.xml Thu May  4
17:11:25 2006
@@ -180,7 +180,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -593,7 +595,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -1002,7 +1006,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -1120,4 +1126,4 @@
    <ses:testCount>5</ses:testCount>
    <ses:passedCount>2</ses:passedCount>
    <ses:failedCount>3</ses:failedCount>
-</ses:recorderSession>
\ No newline at end of file
+</ses:recorderSession>

Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsid.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsid.xml?rev=399891&r1=399890&r2=399891&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsid.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsid.xml Thu May  4 17:11:25 2006
@@ -150,7 +150,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -217,4 +219,4 @@
    <ses:testCount>1</ses:testCount>
    <ses:passedCount>0</ses:passedCount>
    <ses:failedCount>1</ses:failedCount>
-</ses:recorderSession>
\ No newline at end of file
+</ses:recorderSession>

Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsidnohtml.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsidnohtml.xml?rev=399891&r1=399890&r2=399891&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsidnohtml.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsidnohtml.xml Thu May  4 17:11:25
2006
@@ -103,7 +103,9 @@
 {
    if (tag == null || tag.getAttribute == null)
       return "";
-   var attrVal = tag.getAttribute("netui:idScope");
+   try {
+      var attrVal = tag.getAttribute("netui:idScope");
+   } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }
    if (attrVal != null)
       return attrVal;
    return getScopeId(tag.parentNode);
@@ -252,4 +254,4 @@
    <ses:testCount>1</ses:testCount>
    <ses:passedCount>0</ses:passedCount>
    <ses:failedCount>1</ses:failedCount>
-</ses:recorderSession>
\ No newline at end of file
+</ses:recorderSession>

Modified: beehive/trunk/netui/test/webapps/drt/web/bugs/j475/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/bugs/j475/Controller.java?rev=399891&r1=399890&r2=399891&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/bugs/j475/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/bugs/j475/Controller.java Thu May  4 17:11:25
2006
@@ -1,3 +1,20 @@
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
 package bugs.j475;
 
 import org.apache.beehive.netui.pageflow.Forward;
@@ -16,4 +33,4 @@
     {
         return new Forward ("success");
     }
-}
\ No newline at end of file
+}

Modified: beehive/trunk/netui/test/webapps/drt/web/bugs/j475/Test.jsp
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/bugs/j475/Test.jsp?rev=399891&r1=399890&r2=399891&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/bugs/j475/Test.jsp (original)
+++ beehive/trunk/netui/test/webapps/drt/web/bugs/j475/Test.jsp Thu May  4 17:11:25 2006
@@ -10,21 +10,23 @@
     {
         var testAttrId = lookupIdByTagId ("testElem", element);
         alert ("HTML:" + testAttrId);
+        testAttrId = getNetuiTagName ("testElem", element);
+        alert ("HTML:" + testAttrId);
         var testAttr = document.getElementById (testAttrId);
         alert ("HTML:" + testAttr.innerHTML);
     }
 </script>
 <netui:anchor href="TestXml.jsp">Xml Document</netui:anchor>
+<netui:scriptContainer generateIdScope="true">
 <table>
     <tr>
         <td>
-            <netui:scriptContainer generateIdScope="true">
                 <a href="Test.jsp" onClick="test (this);">bar</a><br>
                 <netui:span tagId="testElem" value="span" />
-            </netui:scriptContainer>
         </td>
     </tr>
 </table>
+</netui:scriptContainer>
 </netui:body>
 </netui:html>
 

Modified: beehive/trunk/netui/test/webapps/drt/web/bugs/j475/TestXml.jsp
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/bugs/j475/TestXml.jsp?rev=399891&r1=399890&r2=399891&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/bugs/j475/TestXml.jsp (original)
+++ beehive/trunk/netui/test/webapps/drt/web/bugs/j475/TestXml.jsp Thu May  4 17:11:25 2006
@@ -10,21 +10,23 @@
     {
         var testAttrId = lookupIdByTagId ("testElem", element);
         alert ("XML:" + testAttrId);
+        testAttrId = getNetuiTagName ("testElem", element);
+        alert ("XML:" + testAttrId);
         var testAttr = document.getElementById (testAttrId);
         alert ("XML:" + testAttr.innerHTML);
     }
 </script>
 <netui:anchor href="Test.jsp">Html Document</netui:anchor>
+<netui:scriptContainer generateIdScope="true">
 <table>
     <tr>
         <td>
-            <netui:scriptContainer generateIdScope="true">
                 <a href="TestXml.jsp" onClick="test (this);">bar</a><br>
                 <netui:span tagId="testElem" value="span" />
-            </netui:scriptContainer>
         </td>
     </tr>
 </table>
+</netui:scriptContainer>
 </netui:body>
 </netui:html>
 



Mime
View raw message