Re: [qooxdoo-devel] change content of a iframe

2009-02-18 Thread Jonathan Weiß
Hello Martin, I am glad that you found the error. It is important to keep in mind that the third argument for addListener() defines the scope in which the callback funtion should be called: http://demo.qooxdoo.org/current/apiviewer/#qx.bom.Element ~addListener Cheers, Jonathan On 16.02.20

Re: [qooxdoo-devel] change content of a iframe

2009-02-17 Thread Martin_GER
I get the error found!!! The error was in file "IframeTest.js". Bad: button1.addListener("execute", this.load_iframe); OK: button1.addListener("execute", this.load_iframe, this); here complete file (IframeTest.js): /* #ass

Re: [qooxdoo-devel] change content of a iframe

2009-02-16 Thread Christian Schmidt
Hi martin, did you also do this in your "create_iframe" function? var localiframe1 = new qx.ui.embed.Iframe(); this.iframe1=localiframe1; //you could also use: this.iframe1=new qx.ui.embed.Iframe(); localiframe1.setSource("http://www.gmx.de "); return localiframe1; Cheers, Ch

Re: [qooxdoo-devel] change content of a iframe

2009-02-16 Thread Martin_GER
Thank for help, but it is not the solution. It always appears the error message -->> 'this.frame1' is Null or no object <<-- Could the problem be that I work with 2 files? -- View this message in context: http://n2.nabble.com/change-content-of-a-iframe-tp2333441p2334226.html Sent from the qoox

Re: [qooxdoo-devel] change content of a iframe

2009-02-16 Thread Farid Elyahyaoui
you need to add a member 'iframe1' first. this code should work: /* #asset(iframetest/*) */ qx.Class.define("iframetest.Application", { extend :

[qooxdoo-devel] change content of a iframe

2009-02-15 Thread Martin_GER
Hello, I want to change the content of a iframe - for example to loading new parts of my qooxdoo-program. I will show my problem with a easy example (2 files). I got an error message By calling "load_iframe". For "load_iframe" does "this.iframe1" not exists. Why? Thanks! 1. Application.js: /