Jack,
I am using the dialog class to open up some page design elements from a Domino database and I noticed a strange error with IE6. When you create a page element in Domino you can specify the content type as either Domino, HTML or any other content type.
If you specify the content type to be Domino it throws an error in IE6 on line 18, "Unknown runtime error". This was not the case in 0.33. I have been doing some comparisons with Domino generated HTML and normal HTML and I think I have found the cause of the problem.
Here is a simple page output of Domino generated HTML for a page element"
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body text="#000000" bgcolor="#FFFFFF">
<form action="">This is a test page in Domino</form>
</body>
</html>
Notice that there is a form tag with an empty action attribute. Domino should not even be creating a form element since this is not even a form! Oh the lovely nuances of Domino development always keep it interesting. :lol:
For now I am going to convert the exisitng pages to HTML and make sure all new page content is created in HTML. Not sure if this is a Domino issue, EXT issue, or IE issue (works fine in Firefox), but I thought I should let you know of any bugs, so here is one more for the books.
Keep up the excellent work!
Thanks
Eli
I am using the dialog class to open up some page design elements from a Domino database and I noticed a strange error with IE6. When you create a page element in Domino you can specify the content type as either Domino, HTML or any other content type.
If you specify the content type to be Domino it throws an error in IE6 on line 18, "Unknown runtime error". This was not the case in 0.33. I have been doing some comparisons with Domino generated HTML and normal HTML and I think I have found the cause of the problem.
Here is a simple page output of Domino generated HTML for a page element"
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body text="#000000" bgcolor="#FFFFFF">
<form action="">This is a test page in Domino</form>
</body>
</html>
Notice that there is a form tag with an empty action attribute. Domino should not even be creating a form element since this is not even a form! Oh the lovely nuances of Domino development always keep it interesting. :lol:
For now I am going to convert the exisitng pages to HTML and make sure all new page content is created in HTML. Not sure if this is a Domino issue, EXT issue, or IE issue (works fine in Firefox), but I thought I should let you know of any bugs, so here is one more for the books.
Keep up the excellent work!
Thanks
Eli

本文描述了使用DOMino对话框类打开页面设计元素时,在IE6浏览器中遇到的兼容性问题。当内容类型设置为DOMino时会出现未知运行时错误。通过对DOMino生成的HTML代码进行分析,发现了一个可能导致该问题的原因:多余的<form>标签及其空的action属性。
4593

被折叠的 条评论
为什么被折叠?



