Added: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridTagIdMonster.xml URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridTagIdMonster.xml?rev=164665&view=auto ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridTagIdMonster.xml (added) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridTagIdMonster.xml Mon Apr 25 14:54:34 2005 @@ -0,0 +1,5573 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> + <ses:sessionName>DataGridTagIdMonster</ses:sessionName> + <ses:tester>ekoneil</ses:tester> + <ses:startDate>25 Apr 2005, 02:59:27.545 PM MDT</ses:startDate> + <ses:description>Smoke test of various tagId-able attributes in the data grid.</ses:description> + <ses:tests> + <ses:test> + <ses:testNumber>1</ses:testNumber> + <ses:request> + <ses:protocol>HTTP</ses:protocol> + <ses:protocolVersion>1.1</ses:protocolVersion> + <ses:host>localhost</ses:host> + <ses:port>8080</ses:port> + <ses:uri>/coreWeb/databinding/datagrid/tagid/Controller.jpf</ses:uri> + <ses:method>GET</ses:method> + <ses:parameters/> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>9DBCB43A71A28F3CABB7041EB7448DE9</ses:value> + </ses:cookie> + </ses:cookies> + <ses:headers> + <ses:header> + <ses:name>accept</ses:name> + <ses:value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-charset</ses:name> + <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-encoding</ses:name> + <ses:value>gzip,deflate</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-language</ses:name> + <ses:value>en-us,en;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>connection</ses:name> + <ses:value>keep-alive</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie</ses:name> + <ses:value>JSESSIONID=9DBCB43A71A28F3CABB7041EB7448DE9</ses:value> + </ses:header> + <ses:header> + <ses:name>host</ses:name> + <ses:value>localhost:8080</ses:value> + </ses:header> + <ses:header> + <ses:name>keep-alive</ses:name> + <ses:value>300</ses:value> + </ses:header> + <ses:header> + <ses:name>user-agent</ses:name> + <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3</ses:value> + </ses:header> + </ses:headers> + </ses:request> + <ses:response> + <ses:statusCode>200</ses:statusCode> + <ses:reason/> + <ses:responseBody><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/html4/loose.dtd"> +<html lang="en"> + + <head> + <title>NetUI Data Grid Samples</title> + <link rel="stylesheet" href="/coreWeb/databinding/datagrid/site/css/default.css" type="text/css"/> + </head> + <base href="http://localhost:8080/coreWeb/databinding/datagrid/tagid/index.jsp"> + <body> + <p> + <b>Data Grid TagID Tests</b> + <table width="100%"> + <tr><td></td></tr> + <tr><td> + + <p> + <table> + <tr><td>Anchor Cell</td></tr> + <tr><td><a href="/coreWeb/databinding/datagrid/tagid/legacy-anchorcell.jsp">Legacy AnchorCell</a></td></tr> + <tr><td><a href="/coreWeb/databinding/datagrid/tagid/scriptcontainer-anchorcell.jsp">ScriptContainer AnchorCell</a></td></tr> + <tr><td>Image Cell</td></tr> + <tr><td><a href="/coreWeb/databinding/datagrid/tagid/legacy-imagecell.jsp">Legacy ImageCell</a></td></tr> + <tr><td><a href="/coreWeb/databinding/datagrid/tagid/scriptcontainer-imagecell.jsp">ScriptContainer ImageCell</a></td></tr> + <tr><td>ImageAnchor Cell</td></tr> + <tr><td><a href="/coreWeb/databinding/datagrid/tagid/legacy-imageanchorcell.jsp">Legacy ImageAnchorCell</a></td></tr> + <tr><td><a href="/coreWeb/databinding/datagrid/tagid/scriptcontainer-imageanchorcell.jsp">ScriptContainer ImageAnchorCell</a></td></tr> + <tr><td>Span Cell</td></tr> + <tr><td><a href="/coreWeb/databinding/datagrid/tagid/legacy-spancell.jsp">Legacy SpanCell</a></td></tr> + <tr><td><a href="/coreWeb/databinding/datagrid/tagid/scriptcontainer-spancell.jsp">ScriptContainer SpanCell</a></td></tr> + <tr><td>THead</td></tr> + <tr><td><a href="/coreWeb/databinding/datagrid/tagid/legacy-thead.jsp">Legacy THead</a></td></tr> + <tr><td><a href="/coreWeb/databinding/datagrid/tagid/scriptcontainer-thead.jsp">ScriptContainer THead</a></td></tr> + <tr><td>TBody</td></tr> + <tr><td><a href="/coreWeb/databinding/datagrid/tagid/legacy-tbody.jsp">Legacy TBody</a></td></tr> + <tr><td><a href="/coreWeb/databinding/datagrid/tagid/scriptcontainer-tbody.jsp">ScriptContainer TBody</a></td></tr> + <tr><td>TFoot</td></tr> + <tr><td><a href="/coreWeb/databinding/datagrid/tagid/legacy-tfoot.jsp">Legacy TFoot</a></td></tr> + <tr><td><a href="/coreWeb/databinding/datagrid/tagid/scriptcontainer-tfoot.jsp">ScriptContainer TFoot</a></td></tr> + <tr><td>Caption</td></tr> + <tr><td><a href="/coreWeb/databinding/datagrid/tagid/legacy-caption.jsp">Legacy Caption</a></td></tr> + <tr><td><a href="/coreWeb/databinding/datagrid/tagid/scriptcontainer-caption.jsp">ScriptContainer Caption</a></td></tr> + <tr><td>Table</td></tr> + <tr><td><a href="/coreWeb/databinding/datagrid/tagid/legacy-table.jsp">Legacy Table</a></td></tr> + <tr><td><a href="/coreWeb/databinding/datagrid/tagid/scriptcontainer-table.jsp">ScriptContainer Table</a></td></tr> + <tr><td>All</td></tr> + <tr><td><a href="/coreWeb/databinding/datagrid/tagid/legacy-all.jsp">Legacy All</a></td></tr> + <tr><td><a href="/coreWeb/databinding/datagrid/tagid/scriptcontainer-all.jsp">ScriptContainer All</a></td></tr> + </table> + </p> + + </td></tr> + </p> + <table> + <tr><td><a href="/netuiDRT/databinding/datagrid/basic/index.jsp">Home</a></td></tr> + </table> + </p> + </body> + +</html>]]></ses:responseBody> + </ses:response> + </ses:test> + <ses:test> + <ses:testNumber>2</ses:testNumber> + <ses:request> + <ses:protocol>HTTP</ses:protocol> + <ses:protocolVersion>1.1</ses:protocolVersion> + <ses:host>localhost</ses:host> + <ses:port>8080</ses:port> + <ses:uri>/coreWeb/databinding/datagrid/tagid/legacy-anchorcell.jsp</ses:uri> + <ses:method>GET</ses:method> + <ses:parameters/> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>9DBCB43A71A28F3CABB7041EB7448DE9</ses:value> + </ses:cookie> + </ses:cookies> + <ses:headers> + <ses:header> + <ses:name>accept</ses:name> + <ses:value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-charset</ses:name> + <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-encoding</ses:name> + <ses:value>gzip,deflate</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-language</ses:name> + <ses:value>en-us,en;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>connection</ses:name> + <ses:value>keep-alive</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie</ses:name> + <ses:value>JSESSIONID=9DBCB43A71A28F3CABB7041EB7448DE9</ses:value> + </ses:header> + <ses:header> + <ses:name>host</ses:name> + <ses:value>localhost:8080</ses:value> + </ses:header> + <ses:header> + <ses:name>keep-alive</ses:name> + <ses:value>300</ses:value> + </ses:header> + <ses:header> + <ses:name>referer</ses:name> + <ses:value>http://localhost:8080/coreWeb/databinding/datagrid/tagid/Controller.jpf</ses:value> + </ses:header> + <ses:header> + <ses:name>user-agent</ses:name> + <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3</ses:value> + </ses:header> + </ses:headers> + </ses:request> + <ses:response> + <ses:statusCode>200</ses:statusCode> + <ses:reason/> + <ses:responseBody><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/html4/loose.dtd"> +<html lang="en"> + + <head> + <title>NetUI Data Grid Samples</title> + <link rel="stylesheet" href="/coreWeb/databinding/datagrid/site/css/default.css" type="text/css"/> + </head> + <base href="http://localhost:8080/coreWeb/databinding/datagrid/tagid/legacy-anchorcell.jsp"> + <body> + <p> + <b>Basic Data Grid</b> + <table width="100%"> + <tr><td></td></tr> + <tr><td> + + <p> + + + + + + + + <br/> + <br/> + Page 1 of 1 +<table class="datagrid"> + + + + + + + +<tr class="datagrid-header"> + <th class="datagrid">Symbol</th> + + + <th class="datagrid">Price</th> + + + <th class="datagrid">Web</th> + + + <th class="datagrid">Web Image (empty cells)</th> + + + <th class="datagrid">Web Image Anchor (empty cells)</th> + + + +</tr> + + + + + +<tr class="datagrid-odd"> + <td class="datagrid"><span>BEAS</span></td> + + <td class="datagrid"><span>14.35</span></td> + + <td class="datagrid"><a id="symbolAnchor0" href="http://www.bea.com?rowid=0&symbol=BEAS"><span>BEA Systems</span></a> +<script language="JavaScript" type="text/JavaScript"> +<!-- +// Build the netui_names table to map the tagId attributes +// to the real id written into the HTML +if (netui_names == null) + var netui_names = new Object(); +netui_names.symbolAnchor0="symbolAnchor0" +// method which will return a real id for a tagId, +// the tag parameter will be used to find the idScope for +// containers that may scope their ids +function getNetuiTagName(id, tag) +{ + var idScope = getScopeId(tag); + if (idScope == "") + return netui_names[id]; + else + return netui_names[idScope + "__" + id]; +} + +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. +function getScopeId(tag) +{ + if (tag == null || tag.getAttribute == null) + return ""; + var attrVal = tag.getAttribute("netui:idScope"); + if (attrVal != null) + return attrVal; + return getScopeId(tag.parentNode); +} + +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +// lookup by tagId to "real id" +function lookupIdByTagId(id, tag) +{ + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; +} + +//Non-Legacy lookup method creating a fully qualified scope id +function lookupIdScope(tag,sep) +{ + var val = ""; + if (sep == null) sep = ""; + while (tag != null && tag.getAttribute != null) { + try { + var attrVal = tag.getAttribute("netui:idScope"); + } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ } + if (attrVal != null) + val = attrVal + sep + val; + tag = tag.parentNode; + } + return val; +} + +--> +</script> +</td> + + <td class="datagrid"><img src="no-such-image.gif"></td> + + <td class="datagrid"><a><img src="no-such-image.gif"></a></td> + + +</tr> +<tr class="datagrid-even"> + <td class="datagrid"><span>CSCO</span></td> + + <td class="datagrid"><span>19.42</span></td> + + <td class="datagrid"><a id="symbolAnchor1" href="http://www.cisco.com?rowid=1&symbol=CSCO"><span>Cisco Systems</span></a> +<script language="JavaScript" type="text/JavaScript"> +<!-- +netui_names.symbolAnchor1="symbolAnchor1" +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +--> +</script> +</td> + + <td class="datagrid"><img src="no-such-image.gif"></td> + + <td class="datagrid"><a><img src="no-such-image.gif"></a></td> + + +</tr> +<tr class="datagrid-odd"> + <td class="datagrid"><span>GE</span></td> + + <td class="datagrid"><span>59.42</span></td> + + <td class="datagrid"><a id="symbolAnchor2" href="http://www.ge.com?rowid=2&symbol=GE"><span>General Electric</span></a> +<script language="JavaScript" type="text/JavaScript"> +<!-- +netui_names.symbolAnchor2="symbolAnchor2" +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +--> +</script> +</td> + + <td class="datagrid"><img src="no-such-image.gif"></td> + + <td class="datagrid"><a><img src="no-such-image.gif"></a></td> + + +</tr> +<tr class="datagrid-even"> + <td class="datagrid"><span>RHAT</span></td> + + <td class="datagrid"><span>18.2</span></td> + + <td class="datagrid"><a id="symbolAnchor3" href="http://www.redhat.com?rowid=3&symbol=RHAT"><span>RedHat Systems</span></a> +<script language="JavaScript" type="text/JavaScript"> +<!-- +netui_names.symbolAnchor3="symbolAnchor3" +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +--> +</script> +</td> + + <td class="datagrid"><img src="no-such-image.gif"></td> + + <td class="datagrid"><a><img src="no-such-image.gif"></a></td> + + +</tr> +<tr class="datagrid-odd"> + <td class="datagrid"><span>YHOO</span></td> + + <td class="datagrid"><span>48.16</span></td> + + <td class="datagrid"><a id="symbolAnchor4" href="http://www.yahoo.com?rowid=4&symbol=YHOO"><span>Yahoo Inc</span></a> +<script language="JavaScript" type="text/JavaScript"> +<!-- +netui_names.symbolAnchor4="symbolAnchor4" +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +--> +</script> +</td> + + <td class="datagrid"><img src="no-such-image.gif"></td> + + <td class="datagrid"><a><img src="no-such-image.gif"></a></td> + + +</tr> +</table> + + + + <br/> + <br/> + </p> + + </td></tr> + </p> + <table> + <tr><td><a href="/netuiDRT/databinding/datagrid/basic/index.jsp">Home</a></td></tr> + </table> + </p> + </body> + +</html>]]></ses:responseBody> + </ses:response> + </ses:test> + <ses:test> + <ses:testNumber>3</ses:testNumber> + <ses:request> + <ses:protocol>HTTP</ses:protocol> + <ses:protocolVersion>1.1</ses:protocolVersion> + <ses:host>localhost</ses:host> + <ses:port>8080</ses:port> + <ses:uri>/coreWeb/databinding/datagrid/tagid/scriptcontainer-anchorcell.jsp</ses:uri> + <ses:method>GET</ses:method> + <ses:parameters/> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>9DBCB43A71A28F3CABB7041EB7448DE9</ses:value> + </ses:cookie> + </ses:cookies> + <ses:headers> + <ses:header> + <ses:name>accept</ses:name> + <ses:value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-charset</ses:name> + <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-encoding</ses:name> + <ses:value>gzip,deflate</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-language</ses:name> + <ses:value>en-us,en;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>connection</ses:name> + <ses:value>keep-alive</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie</ses:name> + <ses:value>JSESSIONID=9DBCB43A71A28F3CABB7041EB7448DE9</ses:value> + </ses:header> + <ses:header> + <ses:name>host</ses:name> + <ses:value>localhost:8080</ses:value> + </ses:header> + <ses:header> + <ses:name>keep-alive</ses:name> + <ses:value>300</ses:value> + </ses:header> + <ses:header> + <ses:name>referer</ses:name> + <ses:value>http://localhost:8080/coreWeb/databinding/datagrid/tagid/Controller.jpf</ses:value> + </ses:header> + <ses:header> + <ses:name>user-agent</ses:name> + <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3</ses:value> + </ses:header> + </ses:headers> + </ses:request> + <ses:response> + <ses:statusCode>200</ses:statusCode> + <ses:reason/> + <ses:responseBody><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/html4/loose.dtd"> +<html lang="en"> + + <head> + <title>NetUI Data Grid Samples</title> + <link rel="stylesheet" href="/coreWeb/databinding/datagrid/site/css/default.css" type="text/css"/> + </head> + <base href="http://localhost:8080/coreWeb/databinding/datagrid/tagid/scriptcontainer-anchorcell.jsp"> + <body> + <p> + <b>Basic Data Grid</b> + <table width="100%"> + <tr><td></td></tr> + <tr><td> + + <p> + + + + + + + +<br/> +<br/> +<div netui:idScope="n0" > + Page 1 of 1 +<table class="datagrid"> + + + + + + + +<tr class="datagrid-header"> + <th class="datagrid">Symbol</th> + + + <th class="datagrid">Price</th> + + + <th class="datagrid">Web</th> + + + <th class="datagrid">Web Image (empty cells)</th> + + + <th class="datagrid">Web Image Anchor (empty cells)</th> + + + +</tr> + + + + + +<tr class="datagrid-odd"> + <td class="datagrid"><span>BEAS</span></td> + + <td class="datagrid"><span>14.35</span></td> + + <td class="datagrid"><a id="n0.symbolAnchor0" href="http://www.bea.com?rowid=0&symbol=BEAS"><span>BEA Systems</span></a></td> + + <td class="datagrid"><img src="no-such-image.gif"></td> + + <td class="datagrid"><a><img src="no-such-image.gif"></a></td> + + +</tr> +<tr class="datagrid-even"> + <td class="datagrid"><span>CSCO</span></td> + + <td class="datagrid"><span>19.42</span></td> + + <td class="datagrid"><a id="n0.symbolAnchor1" href="http://www.cisco.com?rowid=1&symbol=CSCO"><span>Cisco Systems</span></a></td> + + <td class="datagrid"><img src="no-such-image.gif"></td> + + <td class="datagrid"><a><img src="no-such-image.gif"></a></td> + + +</tr> +<tr class="datagrid-odd"> + <td class="datagrid"><span>GE</span></td> + + <td class="datagrid"><span>59.42</span></td> + + <td class="datagrid"><a id="n0.symbolAnchor2" href="http://www.ge.com?rowid=2&symbol=GE"><span>General Electric</span></a></td> + + <td class="datagrid"><img src="no-such-image.gif"></td> + + <td class="datagrid"><a><img src="no-such-image.gif"></a></td> + + +</tr> +<tr class="datagrid-even"> + <td class="datagrid"><span>RHAT</span></td> + + <td class="datagrid"><span>18.2</span></td> + + <td class="datagrid"><a id="n0.symbolAnchor3" href="http://www.redhat.com?rowid=3&symbol=RHAT"><span>RedHat Systems</span></a></td> + + <td class="datagrid"><img src="no-such-image.gif"></td> + + <td class="datagrid"><a><img src="no-such-image.gif"></a></td> + + +</tr> +<tr class="datagrid-odd"> + <td class="datagrid"><span>YHOO</span></td> + + <td class="datagrid"><span>48.16</span></td> + + <td class="datagrid"><a id="n0.symbolAnchor4" href="http://www.yahoo.com?rowid=4&symbol=YHOO"><span>Yahoo Inc</span></a></td> + + <td class="datagrid"><img src="no-such-image.gif"></td> + + <td class="datagrid"><a><img src="no-such-image.gif"></a></td> + + +</tr> +</table> + + + +</div><script language="JavaScript" type="text/JavaScript"> +<!-- + +// **** Start the NetUI Framework Generated JavaScript **** + +// Build the netui_names table to map the tagId attributes +// to the real id written into the HTML +if (netui_names == null) + var netui_names = new Object(); +netui_names.n0__symbolAnchor0="n0.symbolAnchor0" +netui_names.n0__symbolAnchor4="n0.symbolAnchor4" +netui_names.n0__symbolAnchor2="n0.symbolAnchor2" +netui_names.n0__symbolAnchor1="n0.symbolAnchor1" +netui_names.n0__symbolAnchor3="n0.symbolAnchor3" + + +// method which will return a real id for a tagId, +// the tag parameter will be used to find the idScope for +// containers that may scope their ids +function getNetuiTagName(id, tag) +{ + var idScope = getScopeId(tag); + if (idScope == "") + return netui_names[id]; + else + return netui_names[idScope + "__" + id]; +} + +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. +function getScopeId(tag) +{ + if (tag == null || tag.getAttribute == null) + return ""; + var attrVal = tag.getAttribute("netui:idScope"); + if (attrVal != null) + return attrVal; + return getScopeId(tag.parentNode); +} + +// lookup by tagId to "real id" +function lookupIdByTagId(id, tag) +{ + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; +} + +//Non-Legacy lookup method creating a fully qualified scope id +function lookupIdScope(tag,sep) +{ + var val = ""; + if (sep == null) sep = ""; + while (tag != null && tag.getAttribute != null) { + try { + var attrVal = tag.getAttribute("netui:idScope"); + } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ } + if (attrVal != null) + val = attrVal + sep + val; + tag = tag.parentNode; + } + return val; +} +--> +</script> +<br/> +<a href="/coreWeb/databinding/datagrid/tagid/index.jsp">Reset</a> +<br/> + </p> + + </td></tr> + </p> + <table> + <tr><td><a href="/netuiDRT/databinding/datagrid/basic/index.jsp">Home</a></td></tr> + </table> + </p> + </body> + +</html>]]></ses:responseBody> + </ses:response> + </ses:test> + <ses:test> + <ses:testNumber>4</ses:testNumber> + <ses:request> + <ses:protocol>HTTP</ses:protocol> + <ses:protocolVersion>1.1</ses:protocolVersion> + <ses:host>localhost</ses:host> + <ses:port>8080</ses:port> + <ses:uri>/coreWeb/databinding/datagrid/tagid/legacy-imagecell.jsp</ses:uri> + <ses:method>GET</ses:method> + <ses:parameters/> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>9DBCB43A71A28F3CABB7041EB7448DE9</ses:value> + </ses:cookie> + </ses:cookies> + <ses:headers> + <ses:header> + <ses:name>accept</ses:name> + <ses:value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-charset</ses:name> + <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-encoding</ses:name> + <ses:value>gzip,deflate</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-language</ses:name> + <ses:value>en-us,en;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>connection</ses:name> + <ses:value>keep-alive</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie</ses:name> + <ses:value>JSESSIONID=9DBCB43A71A28F3CABB7041EB7448DE9</ses:value> + </ses:header> + <ses:header> + <ses:name>host</ses:name> + <ses:value>localhost:8080</ses:value> + </ses:header> + <ses:header> + <ses:name>keep-alive</ses:name> + <ses:value>300</ses:value> + </ses:header> + <ses:header> + <ses:name>referer</ses:name> + <ses:value>http://localhost:8080/coreWeb/databinding/datagrid/tagid/Controller.jpf</ses:value> + </ses:header> + <ses:header> + <ses:name>user-agent</ses:name> + <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3</ses:value> + </ses:header> + </ses:headers> + </ses:request> + <ses:response> + <ses:statusCode>200</ses:statusCode> + <ses:reason/> + <ses:responseBody><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/html4/loose.dtd"> +<html lang="en"> + + <head> + <title>NetUI Data Grid Samples</title> + <link rel="stylesheet" href="/coreWeb/databinding/datagrid/site/css/default.css" type="text/css"/> + </head> + <base href="http://localhost:8080/coreWeb/databinding/datagrid/tagid/legacy-imagecell.jsp"> + <body> + <p> + <b>Basic Data Grid</b> + <table width="100%"> + <tr><td></td></tr> + <tr><td> + + <p> + + + + + + + + <br/> + <br/> + Page 1 of 1 +<table class="datagrid"> + + + + + + + +<tr class="datagrid-header"> + <th class="datagrid">Symbol</th> + + + <th class="datagrid">Price</th> + + + <th class="datagrid">Web</th> + + + <th class="datagrid">Web Image (empty cells)</th> + + + <th class="datagrid">Web Image Anchor (empty cells)</th> + + + +</tr> + + + + + +<tr class="datagrid-odd"> + <td class="datagrid"><span>BEAS</span></td> + + <td class="datagrid"><span>14.35</span></td> + + <td class="datagrid"><a href="http://www.bea.com?rowid=0&symbol=BEAS"><span>BEA Systems</span></a></td> + + <td class="datagrid"><img src="no-such-image.gif" id="webImage0"> +<script language="JavaScript" type="text/JavaScript"> +<!-- +// Build the netui_names table to map the tagId attributes +// to the real id written into the HTML +if (netui_names == null) + var netui_names = new Object(); +netui_names.webImage0="webImage0" +// method which will return a real id for a tagId, +// the tag parameter will be used to find the idScope for +// containers that may scope their ids +function getNetuiTagName(id, tag) +{ + var idScope = getScopeId(tag); + if (idScope == "") + return netui_names[id]; + else + return netui_names[idScope + "__" + id]; +} + +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. +function getScopeId(tag) +{ + if (tag == null || tag.getAttribute == null) + return ""; + var attrVal = tag.getAttribute("netui:idScope"); + if (attrVal != null) + return attrVal; + return getScopeId(tag.parentNode); +} + +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +// lookup by tagId to "real id" +function lookupIdByTagId(id, tag) +{ + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; +} + +//Non-Legacy lookup method creating a fully qualified scope id +function lookupIdScope(tag,sep) +{ + var val = ""; + if (sep == null) sep = ""; + while (tag != null && tag.getAttribute != null) { + try { + var attrVal = tag.getAttribute("netui:idScope"); + } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ } + if (attrVal != null) + val = attrVal + sep + val; + tag = tag.parentNode; + } + return val; +} + +--> +</script> +</td> + + <td class="datagrid"><a><img src="no-such-image.gif"></a></td> + + +</tr> +<tr class="datagrid-even"> + <td class="datagrid"><span>CSCO</span></td> + + <td class="datagrid"><span>19.42</span></td> + + <td class="datagrid"><a href="http://www.cisco.com?rowid=1&symbol=CSCO"><span>Cisco Systems</span></a></td> + + <td class="datagrid"><img src="no-such-image.gif" id="webImage1"> +<script language="JavaScript" type="text/JavaScript"> +<!-- +netui_names.webImage1="webImage1" +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +--> +</script> +</td> + + <td class="datagrid"><a><img src="no-such-image.gif"></a></td> + + +</tr> +<tr class="datagrid-odd"> + <td class="datagrid"><span>GE</span></td> + + <td class="datagrid"><span>59.42</span></td> + + <td class="datagrid"><a href="http://www.ge.com?rowid=2&symbol=GE"><span>General Electric</span></a></td> + + <td class="datagrid"><img src="no-such-image.gif" id="webImage2"> +<script language="JavaScript" type="text/JavaScript"> +<!-- +netui_names.webImage2="webImage2" +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +--> +</script> +</td> + + <td class="datagrid"><a><img src="no-such-image.gif"></a></td> + + +</tr> +<tr class="datagrid-even"> + <td class="datagrid"><span>RHAT</span></td> + + <td class="datagrid"><span>18.2</span></td> + + <td class="datagrid"><a href="http://www.redhat.com?rowid=3&symbol=RHAT"><span>RedHat Systems</span></a></td> + + <td class="datagrid"><img src="no-such-image.gif" id="webImage3"> +<script language="JavaScript" type="text/JavaScript"> +<!-- +netui_names.webImage3="webImage3" +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +--> +</script> +</td> + + <td class="datagrid"><a><img src="no-such-image.gif"></a></td> + + +</tr> +<tr class="datagrid-odd"> + <td class="datagrid"><span>YHOO</span></td> + + <td class="datagrid"><span>48.16</span></td> + + <td class="datagrid"><a href="http://www.yahoo.com?rowid=4&symbol=YHOO"><span>Yahoo Inc</span></a></td> + + <td class="datagrid"><img src="no-such-image.gif" id="webImage4"> +<script language="JavaScript" type="text/JavaScript"> +<!-- +netui_names.webImage4="webImage4" +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +--> +</script> +</td> + + <td class="datagrid"><a><img src="no-such-image.gif"></a></td> + + +</tr> +</table> + + + + <br/> + <br/> + </p> + + </td></tr> + </p> + <table> + <tr><td><a href="/netuiDRT/databinding/datagrid/basic/index.jsp">Home</a></td></tr> + </table> + </p> + </body> + +</html>]]></ses:responseBody> + </ses:response> + </ses:test> + <ses:test> + <ses:testNumber>5</ses:testNumber> + <ses:request> + <ses:protocol>HTTP</ses:protocol> + <ses:protocolVersion>1.1</ses:protocolVersion> + <ses:host>localhost</ses:host> + <ses:port>8080</ses:port> + <ses:uri>/coreWeb/databinding/datagrid/tagid/scriptcontainer-imagecell.jsp</ses:uri> + <ses:method>GET</ses:method> + <ses:parameters/> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>9DBCB43A71A28F3CABB7041EB7448DE9</ses:value> + </ses:cookie> + </ses:cookies> + <ses:headers> + <ses:header> + <ses:name>accept</ses:name> + <ses:value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-charset</ses:name> + <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-encoding</ses:name> + <ses:value>gzip,deflate</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-language</ses:name> + <ses:value>en-us,en;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>connection</ses:name> + <ses:value>keep-alive</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie</ses:name> + <ses:value>JSESSIONID=9DBCB43A71A28F3CABB7041EB7448DE9</ses:value> + </ses:header> + <ses:header> + <ses:name>host</ses:name> + <ses:value>localhost:8080</ses:value> + </ses:header> + <ses:header> + <ses:name>keep-alive</ses:name> + <ses:value>300</ses:value> + </ses:header> + <ses:header> + <ses:name>referer</ses:name> + <ses:value>http://localhost:8080/coreWeb/databinding/datagrid/tagid/Controller.jpf</ses:value> + </ses:header> + <ses:header> + <ses:name>user-agent</ses:name> + <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3</ses:value> + </ses:header> + </ses:headers> + </ses:request> + <ses:response> + <ses:statusCode>200</ses:statusCode> + <ses:reason/> + <ses:responseBody><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/html4/loose.dtd"> +<html lang="en"> + + <head> + <title>NetUI Data Grid Samples</title> + <link rel="stylesheet" href="/coreWeb/databinding/datagrid/site/css/default.css" type="text/css"/> + </head> + <base href="http://localhost:8080/coreWeb/databinding/datagrid/tagid/scriptcontainer-imagecell.jsp"> + <body> + <p> + <b>Basic Data Grid</b> + <table width="100%"> + <tr><td></td></tr> + <tr><td> + + <p> + + + + + + + +<br/> +<br/> +<div netui:idScope="n0" > + Page 1 of 1 +<table class="datagrid"> + + + + + + + +<tr class="datagrid-header"> + <th class="datagrid">Symbol</th> + + + <th class="datagrid">Price</th> + + + <th class="datagrid">Web</th> + + + <th class="datagrid">Web Image (empty cells)</th> + + + <th class="datagrid">Web Image Anchor (empty cells)</th> + + + +</tr> + + + + + +<tr class="datagrid-odd"> + <td class="datagrid"><span>BEAS</span></td> + + <td class="datagrid"><span>14.35</span></td> + + <td class="datagrid"><a href="http://www.bea.com?rowid=0&symbol=BEAS"><span>BEA Systems</span></a></td> + + <td class="datagrid"><img src="no-such-image.gif" id="n0.webImage0"></td> + + <td class="datagrid"><a><img src="no-such-image.gif"></a></td> + + +</tr> +<tr class="datagrid-even"> + <td class="datagrid"><span>CSCO</span></td> + + <td class="datagrid"><span>19.42</span></td> + + <td class="datagrid"><a href="http://www.cisco.com?rowid=1&symbol=CSCO"><span>Cisco Systems</span></a></td> + + <td class="datagrid"><img src="no-such-image.gif" id="n0.webImage1"></td> + + <td class="datagrid"><a><img src="no-such-image.gif"></a></td> + + +</tr> +<tr class="datagrid-odd"> + <td class="datagrid"><span>GE</span></td> + + <td class="datagrid"><span>59.42</span></td> + + <td class="datagrid"><a href="http://www.ge.com?rowid=2&symbol=GE"><span>General Electric</span></a></td> + + <td class="datagrid"><img src="no-such-image.gif" id="n0.webImage2"></td> + + <td class="datagrid"><a><img src="no-such-image.gif"></a></td> + + +</tr> +<tr class="datagrid-even"> + <td class="datagrid"><span>RHAT</span></td> + + <td class="datagrid"><span>18.2</span></td> + + <td class="datagrid"><a href="http://www.redhat.com?rowid=3&symbol=RHAT"><span>RedHat Systems</span></a></td> + + <td class="datagrid"><img src="no-such-image.gif" id="n0.webImage3"></td> + + <td class="datagrid"><a><img src="no-such-image.gif"></a></td> + + +</tr> +<tr class="datagrid-odd"> + <td class="datagrid"><span>YHOO</span></td> + + <td class="datagrid"><span>48.16</span></td> + + <td class="datagrid"><a href="http://www.yahoo.com?rowid=4&symbol=YHOO"><span>Yahoo Inc</span></a></td> + + <td class="datagrid"><img src="no-such-image.gif" id="n0.webImage4"></td> + + <td class="datagrid"><a><img src="no-such-image.gif"></a></td> + + +</tr> +</table> + + + +</div><script language="JavaScript" type="text/JavaScript"> +<!-- + +// **** Start the NetUI Framework Generated JavaScript **** + +// Build the netui_names table to map the tagId attributes +// to the real id written into the HTML +if (netui_names == null) + var netui_names = new Object(); +netui_names.n0__webImage0="n0.webImage0" +netui_names.n0__webImage3="n0.webImage3" +netui_names.n0__webImage1="n0.webImage1" +netui_names.n0__webImage4="n0.webImage4" +netui_names.n0__webImage2="n0.webImage2" + + +// method which will return a real id for a tagId, +// the tag parameter will be used to find the idScope for +// containers that may scope their ids +function getNetuiTagName(id, tag) +{ + var idScope = getScopeId(tag); + if (idScope == "") + return netui_names[id]; + else + return netui_names[idScope + "__" + id]; +} + +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. +function getScopeId(tag) +{ + if (tag == null || tag.getAttribute == null) + return ""; + var attrVal = tag.getAttribute("netui:idScope"); + if (attrVal != null) + return attrVal; + return getScopeId(tag.parentNode); +} + +// lookup by tagId to "real id" +function lookupIdByTagId(id, tag) +{ + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; +} + +//Non-Legacy lookup method creating a fully qualified scope id +function lookupIdScope(tag,sep) +{ + var val = ""; + if (sep == null) sep = ""; + while (tag != null && tag.getAttribute != null) { + try { + var attrVal = tag.getAttribute("netui:idScope"); + } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ } + if (attrVal != null) + val = attrVal + sep + val; + tag = tag.parentNode; + } + return val; +} +--> +</script> +<br/> +<a href="/coreWeb/databinding/datagrid/tagid/index.jsp">Reset</a> +<br/> + </p> + + </td></tr> + </p> + <table> + <tr><td><a href="/netuiDRT/databinding/datagrid/basic/index.jsp">Home</a></td></tr> + </table> + </p> + </body> + +</html>]]></ses:responseBody> + </ses:response> + </ses:test> + <ses:test> + <ses:testNumber>6</ses:testNumber> + <ses:request> + <ses:protocol>HTTP</ses:protocol> + <ses:protocolVersion>1.1</ses:protocolVersion> + <ses:host>localhost</ses:host> + <ses:port>8080</ses:port> + <ses:uri>/coreWeb/databinding/datagrid/tagid/legacy-imageanchorcell.jsp</ses:uri> + <ses:method>GET</ses:method> + <ses:parameters/> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>9DBCB43A71A28F3CABB7041EB7448DE9</ses:value> + </ses:cookie> + </ses:cookies> + <ses:headers> + <ses:header> + <ses:name>accept</ses:name> + <ses:value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-charset</ses:name> + <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-encoding</ses:name> + <ses:value>gzip,deflate</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-language</ses:name> + <ses:value>en-us,en;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>connection</ses:name> + <ses:value>keep-alive</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie</ses:name> + <ses:value>JSESSIONID=9DBCB43A71A28F3CABB7041EB7448DE9</ses:value> + </ses:header> + <ses:header> + <ses:name>host</ses:name> + <ses:value>localhost:8080</ses:value> + </ses:header> + <ses:header> + <ses:name>keep-alive</ses:name> + <ses:value>300</ses:value> + </ses:header> + <ses:header> + <ses:name>referer</ses:name> + <ses:value>http://localhost:8080/coreWeb/databinding/datagrid/tagid/Controller.jpf</ses:value> + </ses:header> + <ses:header> + <ses:name>user-agent</ses:name> + <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3</ses:value> + </ses:header> + </ses:headers> + </ses:request> + <ses:response> + <ses:statusCode>200</ses:statusCode> + <ses:reason/> + <ses:responseBody><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/html4/loose.dtd"> +<html lang="en"> + + <head> + <title>NetUI Data Grid Samples</title> + <link rel="stylesheet" href="/coreWeb/databinding/datagrid/site/css/default.css" type="text/css"/> + </head> + <base href="http://localhost:8080/coreWeb/databinding/datagrid/tagid/legacy-imageanchorcell.jsp"> + <body> + <p> + <b>Basic Data Grid</b> + <table width="100%"> + <tr><td></td></tr> + <tr><td> + + <p> + + + + + + + + <br/> + <br/> + Page 1 of 1 +<table class="datagrid"> + + + + + + + +<tr class="datagrid-header"> + <th class="datagrid">Symbol</th> + + + <th class="datagrid">Price</th> + + + <th class="datagrid">Web</th> + + + <th class="datagrid">Web Image (empty cells)</th> + + + <th class="datagrid">Web Image Anchor (empty cells)</th> + + + +</tr> + + + + + +<tr class="datagrid-odd"> + <td class="datagrid"><span>BEAS</span></td> + + <td class="datagrid"><span>14.35</span></td> + + <td class="datagrid"><a href="http://www.bea.com?rowid=0&symbol=BEAS"><span>BEA Systems</span></a></td> + + <td class="datagrid"><img src="no-such-image.gif"></td> + + <td class="datagrid"><a id="webimageAnchor_anchor0"><img src="no-such-image.gif" id="webImageAnchor_image0"></a> +<script language="JavaScript" type="text/JavaScript"> +<!-- +// Build the netui_names table to map the tagId attributes +// to the real id written into the HTML +if (netui_names == null) + var netui_names = new Object(); +netui_names.webImageAnchor_image0="webImageAnchor_image0" +// method which will return a real id for a tagId, +// the tag parameter will be used to find the idScope for +// containers that may scope their ids +function getNetuiTagName(id, tag) +{ + var idScope = getScopeId(tag); + if (idScope == "") + return netui_names[id]; + else + return netui_names[idScope + "__" + id]; +} + +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. +function getScopeId(tag) +{ + if (tag == null || tag.getAttribute == null) + return ""; + var attrVal = tag.getAttribute("netui:idScope"); + if (attrVal != null) + return attrVal; + return getScopeId(tag.parentNode); +} + +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +// lookup by tagId to "real id" +function lookupIdByTagId(id, tag) +{ + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; +} + +//Non-Legacy lookup method creating a fully qualified scope id +function lookupIdScope(tag,sep) +{ + var val = ""; + if (sep == null) sep = ""; + while (tag != null && tag.getAttribute != null) { + try { + var attrVal = tag.getAttribute("netui:idScope"); + } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ } + if (attrVal != null) + val = attrVal + sep + val; + tag = tag.parentNode; + } + return val; +} + +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +netui_names.webimageAnchor_anchor0="webimageAnchor_anchor0" +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +--> +</script> +</td> + + +</tr> +<tr class="datagrid-even"> + <td class="datagrid"><span>CSCO</span></td> + + <td class="datagrid"><span>19.42</span></td> + + <td class="datagrid"><a href="http://www.cisco.com?rowid=1&symbol=CSCO"><span>Cisco Systems</span></a></td> + + <td class="datagrid"><img src="no-such-image.gif"></td> + + <td class="datagrid"><a id="webimageAnchor_anchor1"><img src="no-such-image.gif" id="webImageAnchor_image1"></a> +<script language="JavaScript" type="text/JavaScript"> +<!-- +netui_names.webImageAnchor_image1="webImageAnchor_image1" +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +netui_names.webimageAnchor_anchor1="webimageAnchor_anchor1" +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +--> +</script> +</td> + + +</tr> +<tr class="datagrid-odd"> + <td class="datagrid"><span>GE</span></td> + + <td class="datagrid"><span>59.42</span></td> + + <td class="datagrid"><a href="http://www.ge.com?rowid=2&symbol=GE"><span>General Electric</span></a></td> + + <td class="datagrid"><img src="no-such-image.gif"></td> + + <td class="datagrid"><a id="webimageAnchor_anchor2"><img src="no-such-image.gif" id="webImageAnchor_image2"></a> +<script language="JavaScript" type="text/JavaScript"> +<!-- +netui_names.webImageAnchor_image2="webImageAnchor_image2" +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +netui_names.webimageAnchor_anchor2="webimageAnchor_anchor2" +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +--> +</script> +</td> + + +</tr> +<tr class="datagrid-even"> + <td class="datagrid"><span>RHAT</span></td> + + <td class="datagrid"><span>18.2</span></td> + + <td class="datagrid"><a href="http://www.redhat.com?rowid=3&symbol=RHAT"><span>RedHat Systems</span></a></td> + + <td class="datagrid"><img src="no-such-image.gif"></td> + + <td class="datagrid"><a id="webimageAnchor_anchor3"><img src="no-such-image.gif" id="webImageAnchor_image3"></a> +<script language="JavaScript" type="text/JavaScript"> +<!-- +netui_names.webImageAnchor_image3="webImageAnchor_image3" +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +netui_names.webimageAnchor_anchor3="webimageAnchor_anchor3" +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +--> +</script> +</td> + + +</tr> +<tr class="datagrid-odd"> + <td class="datagrid"><span>YHOO</span></td> + + <td class="datagrid"><span>48.16</span></td> + + <td class="datagrid"><a href="http://www.yahoo.com?rowid=4&symbol=YHOO"><span>Yahoo Inc</span></a></td> + + <td class="datagrid"><img src="no-such-image.gif"></td> + + <td class="datagrid"><a id="webimageAnchor_anchor4"><img src="no-such-image.gif" id="webImageAnchor_image4"></a> +<script language="JavaScript" type="text/JavaScript"> +<!-- +netui_names.webImageAnchor_image4="webImageAnchor_image4" +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +netui_names.webimageAnchor_anchor4="webimageAnchor_anchor4" +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +--> +</script> +</td> + + +</tr> +</table> + + + + <br/> + <br/> + </p> + + </td></tr> + </p> + <table> + <tr><td><a href="/netuiDRT/databinding/datagrid/basic/index.jsp">Home</a></td></tr> + </table> + </p> + </body> + +</html>]]></ses:responseBody> + </ses:response> + </ses:test> + <ses:test> + <ses:testNumber>7</ses:testNumber> + <ses:request> + <ses:protocol>HTTP</ses:protocol> + <ses:protocolVersion>1.1</ses:protocolVersion> + <ses:host>localhost</ses:host> + <ses:port>8080</ses:port> + <ses:uri>/coreWeb/databinding/datagrid/tagid/scriptcontainer-imageanchorcell.jsp</ses:uri> + <ses:method>GET</ses:method> + <ses:parameters/> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>9DBCB43A71A28F3CABB7041EB7448DE9</ses:value> + </ses:cookie> + </ses:cookies> + <ses:headers> + <ses:header> + <ses:name>accept</ses:name> + <ses:value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-charset</ses:name> + <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-encoding</ses:name> + <ses:value>gzip,deflate</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-language</ses:name> + <ses:value>en-us,en;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>connection</ses:name> + <ses:value>keep-alive</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie</ses:name> + <ses:value>JSESSIONID=9DBCB43A71A28F3CABB7041EB7448DE9</ses:value> + </ses:header> + <ses:header> + <ses:name>host</ses:name> + <ses:value>localhost:8080</ses:value> + </ses:header> + <ses:header> + <ses:name>keep-alive</ses:name> + <ses:value>300</ses:value> + </ses:header> + <ses:header> + <ses:name>referer</ses:name> + <ses:value>http://localhost:8080/coreWeb/databinding/datagrid/tagid/Controller.jpf</ses:value> + </ses:header> + <ses:header> + <ses:name>user-agent</ses:name> + <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3</ses:value> + </ses:header> + </ses:headers> + </ses:request> + <ses:response> + <ses:statusCode>200</ses:statusCode> + <ses:reason/> + <ses:responseBody><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/html4/loose.dtd"> +<html lang="en"> + + <head> + <title>NetUI Data Grid Samples</title> + <link rel="stylesheet" href="/coreWeb/databinding/datagrid/site/css/default.css" type="text/css"/> + </head> + <base href="http://localhost:8080/coreWeb/databinding/datagrid/tagid/scriptcontainer-imageanchorcell.jsp"> + <body> + <p> + <b>Basic Data Grid</b> + <table width="100%"> + <tr><td></td></tr> + <tr><td> + + <p> + + + + + + + +<br/> +<br/> +<div netui:idScope="n0" > + Page 1 of 1 +<table class="datagrid"> + + + + + + + +<tr class="datagrid-header"> + <th class="datagrid">Symbol</th> + + + <th class="datagrid">Price</th> + + + <th class="datagrid">Web</th> + + + <th class="datagrid">Web Image (empty cells)</th> + + + <th class="datagrid">Web Image Anchor (empty cells)</th> + + + +</tr> + + + + + +<tr class="datagrid-odd"> + <td class="datagrid"><span>BEAS</span></td> + + <td class="datagrid"><span>14.35</span></td> + + <td class="datagrid"><a href="http://www.bea.com?rowid=0&symbol=BEAS"><span>BEA Systems</span></a></td> + + <td class="datagrid"><img src="no-such-image.gif"></td> + + <td class="datagrid"><a id="n0.webimageAnchor_anchor0"><img src="no-such-image.gif" id="n0.webImageAnchor_image0"></a></td> + + +</tr> +<tr class="datagrid-even"> + <td class="datagrid"><span>CSCO</span></td> + + <td class="datagrid"><span>19.42</span></td> + + <td class="datagrid"><a href="http://www.cisco.com?rowid=1&symbol=CSCO"><span>Cisco Systems</span></a></td> + + <td class="datagrid"><img src="no-such-image.gif"></td> + + <td class="datagrid"><a id="n0.webimageAnchor_anchor1"><img src="no-such-image.gif" id="n0.webImageAnchor_image1"></a></td> + + +</tr> +<tr class="datagrid-odd"> + <td class="datagrid"><span>GE</span></td> + + <td class="datagrid"><span>59.42</span></td> + + <td class="datagrid"><a href="http://www.ge.com?rowid=2&symbol=GE"><span>General Electric</span></a></td> + + <td class="datagrid"><img src="no-such-image.gif"></td> + + <td class="datagrid"><a id="n0.webimageAnchor_anchor2"><img src="no-such-image.gif" id="n0.webImageAnchor_image2"></a></td> + + +</tr> +<tr class="datagrid-even"> + <td class="datagrid"><span>RHAT</span></td> + + <td class="datagrid"><span>18.2</span></td> + + <td class="datagrid"><a href="http://www.redhat.com?rowid=3&symbol=RHAT"><span>RedHat Systems</span></a></td> + + <td class="datagrid"><img src="no-such-image.gif"></td> + + <td class="datagrid"><a id="n0.webimageAnchor_anchor3"><img src="no-such-image.gif" id="n0.webImageAnchor_image3"></a></td> + + +</tr> +<tr class="datagrid-odd"> + <td class="datagrid"><span>YHOO</span></td> + + <td class="datagrid"><span>48.16</span></td> + + <td class="datagrid"><a href="http://www.yahoo.com?rowid=4&symbol=YHOO"><span>Yahoo Inc</span></a></td> + + <td class="datagrid"><img src="no-such-image.gif"></td> + + <td class="datagrid"><a id="n0.webimageAnchor_anchor4"><img src="no-such-image.gif" id="n0.webImageAnchor_image4"></a></td> + + +</tr> +</table> + + + +</div><script language="JavaScript" type="text/JavaScript"> +<!-- + +// **** Start the NetUI Framework Generated JavaScript **** + +// Build the netui_names table to map the tagId attributes +// to the real id written into the HTML +if (netui_names == null) + var netui_names = new Object(); +netui_names.n0__webimageAnchor_anchor1="n0.webimageAnchor_anchor1" +netui_names.n0__webimageAnchor_anchor3="n0.webimageAnchor_anchor3" +netui_names.n0__webImageAnchor_image3="n0.webImageAnchor_image3" +netui_names.n0__webImageAnchor_image1="n0.webImageAnchor_image1" +netui_names.n0__webImageAnchor_image0="n0.webImageAnchor_image0" +netui_names.n0__webimageAnchor_anchor2="n0.webimageAnchor_anchor2" +netui_names.n0__webimageAnchor_anchor0="n0.webimageAnchor_anchor0" +netui_names.n0__webimageAnchor_anchor4="n0.webimageAnchor_anchor4" +netui_names.n0__webImageAnchor_image4="n0.webImageAnchor_image4" +netui_names.n0__webImageAnchor_image2="n0.webImageAnchor_image2" + + +// method which will return a real id for a tagId, +// the tag parameter will be used to find the idScope for +// containers that may scope their ids +function getNetuiTagName(id, tag) +{ + var idScope = getScopeId(tag); + if (idScope == "") + return netui_names[id]; + else + return netui_names[idScope + "__" + id]; +} + +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. +function getScopeId(tag) +{ + if (tag == null || tag.getAttribute == null) + return ""; + var attrVal = tag.getAttribute("netui:idScope"); + if (attrVal != null) + return attrVal; + return getScopeId(tag.parentNode); +} + +// lookup by tagId to "real id" +function lookupIdByTagId(id, tag) +{ + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; +} + +//Non-Legacy lookup method creating a fully qualified scope id +function lookupIdScope(tag,sep) +{ + var val = ""; + if (sep == null) sep = ""; + while (tag != null && tag.getAttribute != null) { + try { + var attrVal = tag.getAttribute("netui:idScope"); + } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ } + if (attrVal != null) + val = attrVal + sep + val; + tag = tag.parentNode; + } + return val; +} +--> +</script> +<br/> +<a href="/coreWeb/databinding/datagrid/tagid/index.jsp">Reset</a> +<br/> + </p> + + </td></tr> + </p> + <table> + <tr><td><a href="/netuiDRT/databinding/datagrid/basic/index.jsp">Home</a></td></tr> + </table> + </p> + </body> + +</html>]]></ses:responseBody> + </ses:response> + </ses:test> + <ses:test> + <ses:testNumber>8</ses:testNumber> + <ses:request> + <ses:protocol>HTTP</ses:protocol> + <ses:protocolVersion>1.1</ses:protocolVersion> + <ses:host>localhost</ses:host> + <ses:port>8080</ses:port> + <ses:uri>/coreWeb/databinding/datagrid/tagid/legacy-spancell.jsp</ses:uri> + <ses:method>GET</ses:method> + <ses:parameters/> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>9DBCB43A71A28F3CABB7041EB7448DE9</ses:value> + </ses:cookie> + </ses:cookies> + <ses:headers> + <ses:header> + <ses:name>accept</ses:name> + <ses:value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-charset</ses:name> + <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-encoding</ses:name> + <ses:value>gzip,deflate</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-language</ses:name> + <ses:value>en-us,en;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>connection</ses:name> + <ses:value>keep-alive</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie</ses:name> + <ses:value>JSESSIONID=9DBCB43A71A28F3CABB7041EB7448DE9</ses:value> + </ses:header> + <ses:header> + <ses:name>host</ses:name> + <ses:value>localhost:8080</ses:value> + </ses:header> + <ses:header> + <ses:name>keep-alive</ses:name> + <ses:value>300</ses:value> + </ses:header> + <ses:header> + <ses:name>referer</ses:name> + <ses:value>http://localhost:8080/coreWeb/databinding/datagrid/tagid/Controller.jpf</ses:value> + </ses:header> + <ses:header> + <ses:name>user-agent</ses:name> + <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3</ses:value> + </ses:header> + </ses:headers> + </ses:request> + <ses:response> + <ses:statusCode>200</ses:statusCode> + <ses:reason/> + <ses:responseBody><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/html4/loose.dtd"> +<html lang="en"> + + <head> + <title>NetUI Data Grid Samples</title> + <link rel="stylesheet" href="/coreWeb/databinding/datagrid/site/css/default.css" type="text/css"/> + </head> + <base href="http://localhost:8080/coreWeb/databinding/datagrid/tagid/legacy-spancell.jsp"> + <body> + <p> + <b>Basic Data Grid</b> + <table width="100%"> + <tr><td></td></tr> + <tr><td> + + <p> + + + + + + + + <br/> + <br/> + Page 1 of 1 +<table class="datagrid"> + + + + + + + +<tr class="datagrid-header"> + <th class="datagrid">Symbol</th> + + + <th class="datagrid">Price</th> + + + <th class="datagrid">Web</th> + + + <th class="datagrid">Web Image (empty cells)</th> + + + <th class="datagrid">Web Image Anchor (empty cells)</th> + + + +</tr> + + + + + +<tr class="datagrid-odd"> + <td class="datagrid"><span id="symbolSpan0">BEAS</span> +<script language="JavaScript" type="text/JavaScript"> +<!-- +// Build the netui_names table to map the tagId attributes +// to the real id written into the HTML +if (netui_names == null) + var netui_names = new Object(); +netui_names.symbolSpan0="symbolSpan0" +// method which will return a real id for a tagId, +// the tag parameter will be used to find the idScope for +// containers that may scope their ids +function getNetuiTagName(id, tag) +{ + var idScope = getScopeId(tag); + if (idScope == "") + return netui_names[id]; + else + return netui_names[idScope + "__" + id]; +} + +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. +function getScopeId(tag) +{ + if (tag == null || tag.getAttribute == null) + return ""; + var attrVal = tag.getAttribute("netui:idScope"); + if (attrVal != null) + return attrVal; + return getScopeId(tag.parentNode); +} + +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +// lookup by tagId to "real id" +function lookupIdByTagId(id, tag) +{ + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; +} + +//Non-Legacy lookup method creating a fully qualified scope id +function lookupIdScope(tag,sep) +{ + var val = ""; + if (sep == null) sep = ""; + while (tag != null && tag.getAttribute != null) { + try { + var attrVal = tag.getAttribute("netui:idScope"); + } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ } + if (attrVal != null) + val = attrVal + sep + val; + tag = tag.parentNode; + } + return val; +} + +--> +</script> +</td> + + <td class="datagrid"><span>14.35</span></td> + + <td class="datagrid"><a href="http://www.bea.com?rowid=0&symbol=BEAS"><span>BEA Systems</span></a></td> + + <td class="datagrid"><img src="no-such-img.gif"></td> + + <td class="datagrid"><a><img src="no-such-img.gif"></a></td> + + +</tr> +<tr class="datagrid-even"> + <td class="datagrid"><span id="symbolSpan1">CSCO</span> +<script language="JavaScript" type="text/JavaScript"> +<!-- +netui_names.symbolSpan1="symbolSpan1" +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +--> +</script> +</td> + + <td class="datagrid"><span>19.42</span></td> + + <td class="datagrid"><a href="http://www.cisco.com?rowid=1&symbol=CSCO"><span>Cisco Systems</span></a></td> + + <td class="datagrid"><img src="no-such-img.gif"></td> + + <td class="datagrid"><a><img src="no-such-img.gif"></a></td> + + +</tr> +<tr class="datagrid-odd"> + <td class="datagrid"><span id="symbolSpan2">GE</span> +<script language="JavaScript" type="text/JavaScript"> +<!-- +netui_names.symbolSpan2="symbolSpan2" +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +--> +</script> +</td> + + <td class="datagrid"><span>59.42</span></td> + + <td class="datagrid"><a href="http://www.ge.com?rowid=2&symbol=GE"><span>General Electric</span></a></td> + + <td class="datagrid"><img src="no-such-img.gif"></td> + + <td class="datagrid"><a><img src="no-such-img.gif"></a></td> + + +</tr> +<tr class="datagrid-even"> + <td class="datagrid"><span id="symbolSpan3">RHAT</span> +<script language="JavaScript" type="text/JavaScript"> +<!-- +netui_names.symbolSpan3="symbolSpan3" +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +--> +</script> +</td> + + <td class="datagrid"><span>18.2</span></td> + + <td class="datagrid"><a href="http://www.redhat.com?rowid=3&symbol=RHAT"><span>RedHat Systems</span></a></td> + + <td class="datagrid"><img src="no-such-img.gif"></td> + + <td class="datagrid"><a><img src="no-such-img.gif"></a></td> + + +</tr> +<tr class="datagrid-odd"> + <td class="datagrid"><span id="symbolSpan4">YHOO</span> +<script language="JavaScript" type="text/JavaScript"> +<!-- +netui_names.symbolSpan4="symbolSpan4" +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +--> +</script> +</td> + + <td class="datagrid"><span>48.16</span></td> + + <td class="datagrid"><a href="http://www.yahoo.com?rowid=4&symbol=YHOO"><span>Yahoo Inc</span></a></td> + + <td class="datagrid"><img src="no-such-img.gif"></td> + + <td class="datagrid"><a><img src="no-such-img.gif"></a></td> + + +</tr> +</table> + + + + <br/> + <br/> + </p> + + </td></tr> + </p> + <table> + <tr><td><a href="/netuiDRT/databinding/datagrid/basic/index.jsp">Home</a></td></tr> + </table> + </p> + </body> + +</html>]]></ses:responseBody> + </ses:response> + </ses:test> + <ses:test> + <ses:testNumber>9</ses:testNumber> + <ses:request> + <ses:protocol>HTTP</ses:protocol> + <ses:protocolVersion>1.1</ses:protocolVersion> + <ses:host>localhost</ses:host> + <ses:port>8080</ses:port> + <ses:uri>/coreWeb/databinding/datagrid/tagid/scriptcontainer-spancell.jsp</ses:uri> + <ses:method>GET</ses:method> + <ses:parameters/> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>9DBCB43A71A28F3CABB7041EB7448DE9</ses:value> + </ses:cookie> + </ses:cookies> + <ses:headers> + <ses:header> + <ses:name>accept</ses:name> + <ses:value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-charset</ses:name> + <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-encoding</ses:name> + <ses:value>gzip,deflate</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-language</ses:name> + <ses:value>en-us,en;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>connection</ses:name> + <ses:value>keep-alive</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie</ses:name> + <ses:value>JSESSIONID=9DBCB43A71A28F3CABB7041EB7448DE9</ses:value> + </ses:header> + <ses:header> + <ses:name>host</ses:name> + <ses:value>localhost:8080</ses:value> + </ses:header> + <ses:header> + <ses:name>keep-alive</ses:name> + <ses:value>300</ses:value> + </ses:header> + <ses:header> + <ses:name>referer</ses:name> + <ses:value>http://localhost:8080/coreWeb/databinding/datagrid/tagid/Controller.jpf</ses:value> + </ses:header> + <ses:header> + <ses:name>user-agent</ses:name> + <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3</ses:value> + </ses:header> + </ses:headers> + </ses:request> + <ses:response> + <ses:statusCode>200</ses:statusCode> + <ses:reason/> + <ses:responseBody><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/html4/loose.dtd"> +<html lang="en"> + + <head> + <title>NetUI Data Grid Samples</title> + <link rel="stylesheet" href="/coreWeb/databinding/datagrid/site/css/default.css" type="text/css"/> + </head> + <base href="http://localhost:8080/coreWeb/databinding/datagrid/tagid/scriptcontainer-spancell.jsp"> + <body> + <p> + <b>Basic Data Grid</b> + <table width="100%"> + <tr><td></td></tr> + <tr><td> + + <p> + + + + + + + +<br/> +<br/> +<div netui:idScope="n0" > + Page 1 of 1 +<table class="datagrid"> + + + + + + + +<tr class="datagrid-header"> + <th class="datagrid">Symbol</th> + + + <th class="datagrid">Price</th> + + + <th class="datagrid">Web</th> + + + <th class="datagrid">Web Image (empty cells)</th> + + + <th class="datagrid">Web Image Anchor (empty cells)</th> + + + +</tr> + + + + + +<tr class="datagrid-odd"> + <td class="datagrid"><span id="n0.symbolSpan0">BEAS</span></td> + + <td class="datagrid"><span>14.35</span></td> + + <td class="datagrid"><a href="http://www.bea.com?rowid=0&symbol=BEAS"><span>BEA Systems</span></a></td> + + <td class="datagrid"><img src="no-such-img.gif"></td> + + <td class="datagrid"><a><img src="no-such-img.gif"></a></td> + + +</tr> +<tr class="datagrid-even"> + <td class="datagrid"><span id="n0.symbolSpan1">CSCO</span></td> + + <td class="datagrid"><span>19.42</span></td> + + <td class="datagrid"><a href="http://www.cisco.com?rowid=1&symbol=CSCO"><span>Cisco Systems</span></a></td> + + <td class="datagrid"><img src="no-such-img.gif"></td> + + <td class="datagrid"><a><img src="no-such-img.gif"></a></td> + + +</tr> +<tr class="datagrid-odd"> + <td class="datagrid"><span id="n0.symbolSpan2">GE</span></td> + + <td class="datagrid"><span>59.42</span></td> + + <td class="datagrid"><a href="http://www.ge.com?rowid=2&symbol=GE"><span>General Electric</span></a></td> + + <td class="datagrid"><img src="no-such-img.gif"></td> + + <td class="datagrid"><a><img src="no-such-img.gif"></a></td> + + +</tr> +<tr class="datagrid-even"> + <td class="datagrid"><span id="n0.symbolSpan3">RHAT</span></td> + + <td class="datagrid"><span>18.2</span></td> + + <td class="datagrid"><a href="http://www.redhat.com?rowid=3&symbol=RHAT"><span>RedHat Systems</span></a></td> + + <td class="datagrid"><img src="no-such-img.gif"></td> + + <td class="datagrid"><a><img src="no-such-img.gif"></a></td> + + +</tr> +<tr class="datagrid-odd"> + <td class="datagrid"><span id="n0.symbolSpan4">YHOO</span></td> + + <td class="datagrid"><span>48.16</span></td> + + <td class="datagrid"><a href="http://www.yahoo.com?rowid=4&symbol=YHOO"><span>Yahoo Inc</span></a></td> + + <td class="datagrid"><img src="no-such-img.gif"></td> + + <td class="datagrid"><a><img src="no-such-img.gif"></a></td> + + +</tr> +</table> + + + +</div><script language="JavaScript" type="text/JavaScript"> +<!-- + +// **** Start the NetUI Framework Generated JavaScript **** + +// Build the netui_names table to map the tagId attributes +// to the real id written into the HTML +if (netui_names == null) + var netui_names = new Object(); +netui_names.n0__symbolSpan4="n0.symbolSpan4" +netui_names.n0__symbolSpan1="n0.symbolSpan1" +netui_names.n0__symbolSpan3="n0.symbolSpan3" +netui_names.n0__symbolSpan0="n0.symbolSpan0" +netui_names.n0__symbolSpan2="n0.symbolSpan2" + + +// method which will return a real id for a tagId, +// the tag parameter will be used to find the idScope for +// containers that may scope their ids +function getNetuiTagName(id, tag) +{ + var idScope = getScopeId(tag); + if (idScope == "") + return netui_names[id]; + else + return netui_names[idScope + "__" + id]; +} + +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. +function getScopeId(tag) +{ + if (tag == null || tag.getAttribute == null) + return ""; + var attrVal = tag.getAttribute("netui:idScope"); + if (attrVal != null) + return attrVal; + return getScopeId(tag.parentNode); +} + +// lookup by tagId to "real id" +function lookupIdByTagId(id, tag) +{ + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; +} + +//Non-Legacy lookup method creating a fully qualified scope id +function lookupIdScope(tag,sep) +{ + var val = ""; + if (sep == null) sep = ""; + while (tag != null && tag.getAttribute != null) { + try { + var attrVal = tag.getAttribute("netui:idScope"); + } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ } + if (attrVal != null) + val = attrVal + sep + val; + tag = tag.parentNode; + } + return val; +} +--> +</script> +<br/> +<a href="/coreWeb/databinding/datagrid/tagid/index.jsp">Reset</a> +<br/> + </p> + + </td></tr> + </p> + <table> + <tr><td><a href="/netuiDRT/databinding/datagrid/basic/index.jsp">Home</a></td></tr> + </table> + </p> + </body> + +</html>]]></ses:responseBody> + </ses:response> + </ses:test> + <ses:test> + <ses:testNumber>10</ses:testNumber> + <ses:request> + <ses:protocol>HTTP</ses:protocol> + <ses:protocolVersion>1.1</ses:protocolVersion> + <ses:host>localhost</ses:host> + <ses:port>8080</ses:port> + <ses:uri>/coreWeb/databinding/datagrid/tagid/legacy-thead.jsp</ses:uri> + <ses:method>GET</ses:method> + <ses:parameters/> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>9DBCB43A71A28F3CABB7041EB7448DE9</ses:value> + </ses:cookie> + </ses:cookies> + <ses:headers> + <ses:header> + <ses:name>accept</ses:name> + <ses:value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-charset</ses:name> + <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-encoding</ses:name> + <ses:value>gzip,deflate</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-language</ses:name> + <ses:value>en-us,en;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>connection</ses:name> + <ses:value>keep-alive</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie</ses:name> + <ses:value>JSESSIONID=9DBCB43A71A28F3CABB7041EB7448DE9</ses:value> + </ses:header> + <ses:header> + <ses:name>host</ses:name> + <ses:value>localhost:8080</ses:value> + </ses:header> + <ses:header> + <ses:name>keep-alive</ses:name> + <ses:value>300</ses:value> + </ses:header> + <ses:header> + <ses:name>referer</ses:name> + <ses:value>http://localhost:8080/coreWeb/databinding/datagrid/tagid/Controller.jpf</ses:value> + </ses:header> + <ses:header> + <ses:name>user-agent</ses:name> + <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3</ses:value> + </ses:header> + </ses:headers> + </ses:request> + <ses:response> + <ses:statusCode>200</ses:statusCode> + <ses:reason/> + <ses:responseBody><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/html4/loose.dtd"> +<html lang="en"> + + <head> + <title>NetUI Data Grid Samples</title> + <link rel="stylesheet" href="/coreWeb/databinding/datagrid/site/css/default.css" type="text/css"/> + </head> + <base href="http://localhost:8080/coreWeb/databinding/datagrid/tagid/legacy-thead.jsp"> + <body> + <p> + <b>Basic Data Grid</b> + <table width="100%"> + <tr><td></td></tr> + <tr><td> + + <p> + + + + + + + + <br/> + <br/> + Page 1 of 1 +<table class="datagrid"> + + + + + + + +<thead id="theadTagId" class="datagrid"> +<tr class="datagrid-header"> + <th class="datagrid">Symbol</th> + + + <th class="datagrid">Price</th> + + + <th class="datagrid">Web</th> + + + <th class="datagrid">Web Image (empty cells)</th> + + + <th class="datagrid">Web Image Anchor (empty cells)</th> + + + +</tr> +</thead> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +// Build the netui_names table to map the tagId attributes +// to the real id written into the HTML +if (netui_names == null) + var netui_names = new Object(); +netui_names.theadTagId="theadTagId" +// method which will return a real id for a tagId, +// the tag parameter will be used to find the idScope for +// containers that may scope their ids +function getNetuiTagName(id, tag) +{ + var idScope = getScopeId(tag); + if (idScope == "") + return netui_names[id]; + else + return netui_names[idScope + "__" + id]; +} + +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. +function getScopeId(tag) +{ + if (tag == null || tag.getAttribute == null) + return ""; + var attrVal = tag.getAttribute("netui:idScope"); + if (attrVal != null) + return attrVal; + return getScopeId(tag.parentNode); +} + +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +// lookup by tagId to "real id" +function lookupIdByTagId(id, tag) +{ + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; +} + +//Non-Legacy lookup method creating a fully qualified scope id +function lookupIdScope(tag,sep) +{ + var val = ""; + if (sep == null) sep = ""; + while (tag != null && tag.getAttribute != null) { + try { + var attrVal = tag.getAttribute("netui:idScope"); + } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ } + if (attrVal != null) + val = attrVal + sep + val; + tag = tag.parentNode; + } + return val; +} + +--> +</script> + + + + + + +<tbody> +<tr class="datagrid-odd"> + <td class="datagrid"><span>BEAS</span></td> + + <td class="datagrid"><span>14.35</span></td> + + <td class="datagrid"><a id="symbolAnchor0" href="http://www.bea.com?rowid=0&symbol=BEAS"><span>BEA Systems</span></a> +<script language="JavaScript" type="text/JavaScript"> +<!-- +netui_names.symbolAnchor0="symbolAnchor0" +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +--> +</script> +</td> + + <td class="datagrid"><img src="http://www.bea.com"></td> + + <td class="datagrid"><a><img src="http://www.bea.com"></a></td> + + +</tr> +<tr class="datagrid-even"> + <td class="datagrid"><span>CSCO</span></td> + + <td class="datagrid"><span>19.42</span></td> + + <td class="datagrid"><a id="symbolAnchor1" href="http://www.cisco.com?rowid=1&symbol=CSCO"><span>Cisco Systems</span></a> +<script language="JavaScript" type="text/JavaScript"> +<!-- +netui_names.symbolAnchor1="symbolAnchor1" +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +--> +</script> +</td> + + <td class="datagrid"><img src="http://www.cisco.com"></td> + + <td class="datagrid"><a><img src="http://www.cisco.com"></a></td> + + +</tr> +<tr class="datagrid-odd"> + <td class="datagrid"><span>GE</span></td> + + <td class="datagrid"><span>59.42</span></td> + + <td class="datagrid"><a id="symbolAnchor2" href="http://www.ge.com?rowid=2&symbol=GE"><span>General Electric</span></a> +<script language="JavaScript" type="text/JavaScript"> +<!-- +netui_names.symbolAnchor2="symbolAnchor2" +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +--> +</script> +</td> + + <td class="datagrid"><img src="http://www.ge.com"></td> + + <td class="datagrid"><a><img src="http://www.ge.com"></a></td> + + +</tr> +<tr class="datagrid-even"> + <td class="datagrid"><span>RHAT</span></td> + + <td class="datagrid"><span>18.2</span></td> + + <td class="datagrid"><a id="symbolAnchor3" href="http://www.redhat.com?rowid=3&symbol=RHAT"><span>RedHat Systems</span></a> +<script language="JavaScript" type="text/JavaScript"> +<!-- +netui_names.symbolAnchor3="symbolAnchor3" +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +--> +</script> +</td> + + <td class="datagrid"><img src="http://www.redhat.com"></td> + + <td class="datagrid"><a><img src="http://www.redhat.com"></a></td> + + +</tr> +<tr class="datagrid-odd"> + <td class="datagrid"><span>YHOO</span></td> + + <td class="datagrid"><span>48.16</span></td> + + <td class="datagrid"><a id="symbolAnchor4" href="http://www.yahoo.com?rowid=4&symbol=YHOO"><span>Yahoo Inc</span></a> +<script language="JavaScript" type="text/JavaScript"> +<!-- +netui_names.symbolAnchor4="symbolAnchor4" +--> +</script> + +<script language="JavaScript" type="text/JavaScript"> +<!-- +--> +</script> +</td> + + <td class="datagrid"><img src="http://www.yahoo.com"></td> + + <td class="datagrid"><a><img src="http://www.yahoo.com"></a></td> + + +</tr> +</tbody> +</table> + + + + <br/> + <br/> + </p> + + </td></tr> + </p> + <table> + <tr><td><a href="/netuiDRT/databinding/datagrid/basic/index.jsp">Home</a></td></tr> + </table> + </p> + </body> + +</html>]]></ses:responseBody> + </ses:response> + </ses:test> + <ses:test> + <ses:testNumber>11</ses:testNumber> + <ses:request> + <ses:protocol>HTTP</ses:protocol> + <ses:protocolVersion>1.1</ses:protocolVersion> + <ses:host>localhost</ses:host> + <ses:port>8080</ses:port> + <ses:uri>/coreWeb/databinding/datagrid/tagid/scriptcontainer-thead.jsp</ses:uri> + <ses:method>GET</ses:method> + <ses:parameters/> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>9DBCB43A71A28F3CABB7041EB7448DE9</ses:value> + </ses:cookie> + </ses:cookies> + <ses:headers> + <ses:header> + <ses:name>accept</ses:name> + <ses:value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-charset</ses:name> + <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-encoding</ses:name> + <ses:value>gzip,deflate</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-language</ses:name> + <ses:value>en-us,en;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>connection</ses:name> + <ses:value>keep-alive</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie</ses:name> + <ses:value>JSESSIONID=9DBCB43A71A28F3CABB7041EB7448DE9</ses:value> + </ses:header> + <ses:header> + <ses:name>host</ses:name> + <ses:value>localhost:8080</ses:value> + </ses:header> + <ses:header> + <ses:name>keep-alive</ses:name> + <ses:value>300</ses:value> + </ses:header> + <ses:header> + <ses:name>referer</ses:name> + <ses:value>http://localhost:8080/coreWeb/databinding/datagrid/tagid/Controller.jpf</ses:value> + </ses:header> + <ses:header> + <ses:name>user-agent</ses:name> + <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3</ses:value> + </ses:header> + </ses:headers> + </ses:request> + <ses:response> + <ses:statusCode>200</ses:statusCode> + <ses:reason/> + <ses:responseBody><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/html4/loose.dtd"> +<html lang="en"> + + <head> + <title>NetUI Data Grid Samples</title> + <link rel="stylesheet" href="/coreWeb/databinding/datagrid/site/css/default.css" type="text/css"/> + </head> + <base href="http://localhost:8080/coreWeb/databinding/datagrid/tagid/scriptcontainer-thead.jsp"> + <body> + <p> + <b>Basic Data Grid</b> + <table width="100%"> + <tr><td></td></tr>
[... 2666 lines stripped ...]
