Hi Aaron,
Aaron Cooper wrote:
> I'm picking up some old code in version 0.6.1 by the looks.
Do you try to migrate this code to 0.8?
> There is one big multi-tab page that is loaded on startup. On one of these
> tabs, is an iFrame that loads a simple PHP file, but qooxdoo is also send a
> unique record id when loading.
Normally the iframe widget is constructed when it's getting visible.
> The trouble here is that the iFrame source persists from the first record
> that was open.
>
> I have tried the following on the close button click:
>
> edit_email_iframe.setSource('email/email_start_page.php');
> edit_email_iframe.reload();
>
> But it doesn't work and I get this error in firebug (which I have tried to
> find in Google):
>
> this.getIframeNode() is null
> http://www.domain.com/qooxdoo/script/qx.js
> Line 1
Do you use the "build" version? Better use the "source" version for
development/debugging.
> Any ideas? It appears that this multi-tab page is not de-constructed or
> anything. Just hidden, cleaned up of the last data, and re-populated as
> needed.
I guess the iframe node gets removed from the DOM when
the Iframe widget is hidden. The method "getIframeNode" returns the
original DOM node of the Iframe. So if that's failing the DOM node is
probably not there anymore.
Maybe you have to change the source of the iframe before the tab page is
hidden.
cheers,
Alex
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel