You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Stanislav Malishevskiy (JIRA)" <ji...@apache.org> on 2008/02/29 02:40:07 UTC
[jira] Created: (WW-2520) IE bug on tabbedpanel with Enclosed ajax
div on first tab
IE bug on tabbedpanel with Enclosed ajax div on first tab
----------------------------------------------------------
Key: WW-2520
URL: https://issues.apache.org/struts/browse/WW-2520
Project: Struts 2
Issue Type: Bug
Components: Plugin - Dojo Tags
Affects Versions: 2.0.11
Environment: Java SE 6 update 4
Tomcat 6
Reporter: Stanislav Malishevskiy
On first tab of tabbed panel don't correctly work ajax form under Internet explorer 6.
Failure code of ajax div (This page downloaded into first tab of ajax tabbed panel):
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<s:div cssStyle="widht:100%;height:20px;padding-left:5px; background:transparent url(images/bg_tableHeading.png) 0 50% repeat-x;">
<form id="ReportTypeID">
Report Name: <s:autocompleter theme="ajax" listenTopics="/updateReportTypeList" notifyTopics="/doReportType" id="ReportName" name="ReportName" keyName="ReportID" href="reportlist.do" dropdownWidth="120" cssStyle="width: 120px;" autoComplete="true"/></form>
</s:div>
<s:div theme="ajax" listenTopics="/doReportType" id="reportDataDiv" cssStyle="width:100%; height:456px;" href="editreporttype.do" formId="ReportTypeID"/>
When I change the autocopleted box the page in the div with id="reportDataDiv" do not reload.
dojo show FATAL error.
I have fixed this problem in the ContentPane.js file. Patch:
--- ContentPane.js.orig 2007-09-21 20:03:20.000000000 +0300
+++ ContentPane.js 2008-02-29 03:15:54.000000000 +0200
@@ -540,7 +540,7 @@
this._styleNodes = [];
var node = this.containerNode || this.domNode;
- while(node.firstChild){
+ while(node!=null && node.firstChild){
try{
dojo.event.browser.clean(node.firstChild);
}catch(e){}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WW-2520) IE bug on tabbedpanel with Enclosed
ajax div on first tab
Posted by "Rainer Hermanns (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rainer Hermanns resolved WW-2520.
---------------------------------
Resolution: Fixed
Assignee: Rainer Hermanns
Patch applied to svn trunk, thanks!
> IE bug on tabbedpanel with Enclosed ajax div on first tab
> ----------------------------------------------------------
>
> Key: WW-2520
> URL: https://issues.apache.org/struts/browse/WW-2520
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - Dojo Tags
> Affects Versions: 2.0.11
> Environment: Java SE 6 update 4
> Tomcat 6
> Reporter: Stanislav Malishevskiy
> Assignee: Rainer Hermanns
> Fix For: 2.1.3
>
>
> On first tab of tabbed panel don't correctly work ajax form under Internet explorer 6.
> Failure code of ajax div (This page downloaded into first tab of ajax tabbed panel):
> <%@ page contentType="text/html; charset=UTF-8" %>
> <%@ taglib prefix="s" uri="/struts-tags" %>
> <s:div cssStyle="widht:100%;height:20px;padding-left:5px; background:transparent url(images/bg_tableHeading.png) 0 50% repeat-x;">
> <form id="ReportTypeID">
> Report Name: <s:autocompleter theme="ajax" listenTopics="/updateReportTypeList" notifyTopics="/doReportType" id="ReportName" name="ReportName" keyName="ReportID" href="reportlist.do" dropdownWidth="120" cssStyle="width: 120px;" autoComplete="true"/></form>
> </s:div>
> <s:div theme="ajax" listenTopics="/doReportType" id="reportDataDiv" cssStyle="width:100%; height:456px;" href="editreporttype.do" formId="ReportTypeID"/>
>
> When I change the autocopleted box the page in the div with id="reportDataDiv" do not reload.
> dojo show FATAL error.
> I have fixed this problem in the ContentPane.js file. Patch:
> --- ContentPane.js.orig 2007-09-21 20:03:20.000000000 +0300
> +++ ContentPane.js 2008-02-29 03:15:54.000000000 +0200
> @@ -540,7 +540,7 @@
> this._styleNodes = [];
>
> var node = this.containerNode || this.domNode;
> - while(node.firstChild){
> + while(node!=null && node.firstChild){
> try{
> dojo.event.browser.clean(node.firstChild);
> }catch(e){}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WW-2520) IE bug on tabbedpanel with Enclosed ajax
div on first tab
Posted by "Don Brown (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Don Brown updated WW-2520:
--------------------------
Fix Version/s: 2.1.3
> IE bug on tabbedpanel with Enclosed ajax div on first tab
> ----------------------------------------------------------
>
> Key: WW-2520
> URL: https://issues.apache.org/struts/browse/WW-2520
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - Dojo Tags
> Affects Versions: 2.0.11
> Environment: Java SE 6 update 4
> Tomcat 6
> Reporter: Stanislav Malishevskiy
> Fix For: 2.1.3
>
>
> On first tab of tabbed panel don't correctly work ajax form under Internet explorer 6.
> Failure code of ajax div (This page downloaded into first tab of ajax tabbed panel):
> <%@ page contentType="text/html; charset=UTF-8" %>
> <%@ taglib prefix="s" uri="/struts-tags" %>
> <s:div cssStyle="widht:100%;height:20px;padding-left:5px; background:transparent url(images/bg_tableHeading.png) 0 50% repeat-x;">
> <form id="ReportTypeID">
> Report Name: <s:autocompleter theme="ajax" listenTopics="/updateReportTypeList" notifyTopics="/doReportType" id="ReportName" name="ReportName" keyName="ReportID" href="reportlist.do" dropdownWidth="120" cssStyle="width: 120px;" autoComplete="true"/></form>
> </s:div>
> <s:div theme="ajax" listenTopics="/doReportType" id="reportDataDiv" cssStyle="width:100%; height:456px;" href="editreporttype.do" formId="ReportTypeID"/>
>
> When I change the autocopleted box the page in the div with id="reportDataDiv" do not reload.
> dojo show FATAL error.
> I have fixed this problem in the ContentPane.js file. Patch:
> --- ContentPane.js.orig 2007-09-21 20:03:20.000000000 +0300
> +++ ContentPane.js 2008-02-29 03:15:54.000000000 +0200
> @@ -540,7 +540,7 @@
> this._styleNodes = [];
>
> var node = this.containerNode || this.domNode;
> - while(node.firstChild){
> + while(node!=null && node.firstChild){
> try{
> dojo.event.browser.clean(node.firstChild);
> }catch(e){}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.