struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rainer Hermanns (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (WW-2520) IE bug on tabbedpanel with Enclosed ajax div on first tab
Date Sat, 14 Jun 2008 12:45:05 GMT

     [ 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">
> &nbsp;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.


Mime
View raw message