From issues-return-5090-apmail-struts-issues-archive=struts.apache.org@struts.apache.org Sun May 13 00:27:07 2007 Return-Path: Delivered-To: apmail-struts-issues-archive@locus.apache.org Received: (qmail 11391 invoked from network); 13 May 2007 00:27:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 May 2007 00:27:06 -0000 Received: (qmail 19368 invoked by uid 500); 13 May 2007 00:27:12 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 18841 invoked by uid 500); 13 May 2007 00:27:10 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 18831 invoked by uid 99); 13 May 2007 00:27:10 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 May 2007 17:27:10 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 May 2007 17:27:03 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 17947714068 for ; Sat, 12 May 2007 17:26:43 -0700 (PDT) Message-ID: <3494233.1179016003093.JavaMail.jira@brutus> Date: Sat, 12 May 2007 17:26:43 -0700 (PDT) From: "Musachy Barroso (JIRA)" To: issues@struts.apache.org Subject: [jira] Commented: (WW-1906) Publish to dojo topic fails for tabbedpanel div with a nested div listening to a topic IE 6 (Works in firefox) In-Reply-To: <13053065.1178133463123.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/WW-1906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40974 ] Musachy Barroso commented on WW-1906: ------------------------------------- I'm not sure what to do with this, as I can get it to fail and tabbedpannel produces an output almost identical to the one suggested. > Publish to dojo topic fails for tabbedpanel div with a nested div listening to a topic IE 6 (Works in firefox) > -------------------------------------------------------------------------------------------------------------- > > Key: WW-1906 > URL: https://issues.apache.org/struts/browse/WW-1906 > Project: Struts 2 > Issue Type: Bug > Affects Versions: 2.0.6 > Environment: Windows XP IE 6 > Reporter: Richard Johnson > Assigned To: Musachy Barroso > Fix For: 2.0.8 > > > I currently have an action page that contains a dojo filteringtable widget. Within that page, I have reference to another action that executes javascript each time something is published to a dojo topic. This all works fine with the page by itself, but if I put the action containing the table within a div for a tabbed panel it is failing. The point is to execute the javascript each time an update is necessary for the table (by listening to the topic). Here is some code: > This is the tabbepanel code at top: > > /currentTradesUpdate > currentTradesTable > CurrentTradesUpdate > currentTradesUpdateDiv > > > >

Loading Current Trades...

>
>
> currentTradesRef references an action with the result page containing following code: > <%@ page language="java" contentType="text/html;charset=UTF-8"%> > <%@ taglib prefix="s" uri="/struts-tags"%> > > > > > > > > > > > > > cellpadding="0" cellspacing="0" border="0" id="" widgetId=""> > > > > > > > > >
"> > >
> > > > The last div above is failing on receiving the event from the dojo topic. However, it works fine if it is not used within a tabbedpanel. If I use the tabbedpanel it gives me the following error: > DEBUG: [currentTradesUpdateDiv] Listening to /currentTradesUpdate to refresh > DEBUG: [currentTradesUpdateDiv] Listening to /currentTradesUpdate to refresh > DEBUG: XMLHttpTransport error callback failed: [object Error] > Something else that seems odd as you will notice above is it seems to be registering to listen to the topic twice. It only displays this message once if the action is not contained within a tabbedpanel div. > Thanks, > Rick -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.