[ 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.