Re: [qooxdoo-devel] qooxdoo to Iframe source communication

2008-11-06 Thread Alexander Back
Hi Alex, jason_h wrote: > Hello again, > I'm slowly learning how to make use of Firebug, and found that during the > suggested "_onAppear" function (fired by the "appear" event) the iframe > source is not yet loaded, the frame.getDocument().baseURI still being > "about:blank", which explains most

Re: [qooxdoo-devel] qooxdoo to Iframe source communication

2008-11-06 Thread jason_h
Hello again, I'm slowly learning how to make use of Firebug, and found that during the suggested "_onAppear" function (fired by the "appear" event) the iframe source is not yet loaded, the frame.getDocument().baseURI still being "about:blank", which explains most of my problems. Stepping out of _o

Re: [qooxdoo-devel] qooxdoo to Iframe source communication

2008-11-06 Thread jason_h
Thank you, Alexander, both the qooxdoo application and the Iframe document are served from an apache on localhost, no redirects. May I ask someone to try to get the example from my post on Nov 6, 12:01am running with the following http://localhost/tmp/test.html? I suspect that the "frame.getDocum

Re: [qooxdoo-devel] qooxdoo to Iframe source communication

2008-11-06 Thread Alexander Back
Hi Jason, jason_h wrote: > I enclose the complete Application.js below. Everything is fine including > the "d=frame.getDocument();" and "w=frame.getWindow();" calls. But any > attempt like "d.myform" or "d.getElementById("myform");" break out of the > _onAppear function without anything reporte

Re: [qooxdoo-devel] qooxdoo to Iframe source communication

2008-11-05 Thread jason_h
Jonathan, your suggestion helped me quite a lot. But I'm still not able to modify elements inside the iframe. Actually my previous code example was embedded inside a RAP application (www.eclipse.org/RAP), which complicated things even more for me. I changed to pure qooxdoo now, starting from the t

Re: [qooxdoo-devel] qooxdoo to Iframe source communication

2008-11-05 Thread Jonathan Rass
Hello Alex! qooxdoo uses special techniques for handling DOM elements to improve performance. For example: the iframe widget's DOM element is not created in the same moment when you create the widget itself. > var win=this.getContentWindow(); If you want to access the content window be sure

[qooxdoo-devel] qooxdoo to Iframe source communication

2008-11-05 Thread jason_h
Hello, I am quite new to qooxdoo and have a problem understanding how to communicate between qooxdoo and the source of an Iframe object. I define the following Iframe derived class, where I want to access a button "b" in a form "myform" of the page "test.html". But the alert(win) already displays