View Full Version : [1.2.3] HtmlContainer has Unknown runtime error in IE7

30 Mar 2009, 1:28 PM
public void onModuleLoad() {
String html = "<tr><td>inside my table</td></tr>";
HtmlContainer hc = new HtmlContainer(html);


Expected results: Proper HTML table is written out.

Actual results: Firefox and Safari are ok. IE7 reports the following script error (note: you may have to click on the error icon in the lower left of the status bar):

Line: 27
Char: 80
Error: Unknown runtime error
Code: 0
URL: <path to my GXT app>

Version: 1.2.3 release. Not SVN.

If I remove the setTagName line, IE doesn't spit out an error (although the HTML output is wrong). Also, if I try something like setTagName("li"), IE doesn't throw an error (but, again, of course the rendering output isn't what I want).

The API docs on setTagName do not mention any exclusions to its use, so I'm assuming that using it to set up the outermost part of a HTML table is ok. If I'm using the API wrong, then the API doc needs to be updated to reflect this.