Re: [qooxdoo-devel] Iframe.reload() question

2007-05-21 Thread Sebastian Werner
oops, you can use iframe.queryCurrentUrl() to get the current (computed/runtime) URL. Cheers, Sebastian Rüdiger Herrmann schrieb: > Hi Sebastian, > > thanks for the quick response. > I tried this: > >var iframe = new qx.ui.embed.Iframe(); >iframe.setSource( "http://eclipse.org/rap"

Re: [qooxdoo-devel] Iframe.reload() question

2007-05-21 Thread Sebastian Werner
Rüdiger, since r8033 you can use reload to exactly reload the current loaded document. But please note that this only works if the iframe document comes from the same domain than the parent document (security). As a fallback it uses the old behavior and reloads the current configured URL. You

Re: [qooxdoo-devel] Iframe.reload() question

2007-05-20 Thread Rüdiger Herrmann
Hi Sebastian, thanks for the quick response. I tried this: var iframe = new qx.ui.embed.Iframe(); iframe.setSource( "http://eclipse.org/rap"; ); // do other things, iframe is created and visible now iframe.debug( "href: " + iframe.getIframeNode().location.href ); But the location pro

Re: [qooxdoo-devel] Iframe.reload() question

2007-05-19 Thread Sebastian Werner
Rüdiger, normally I would say: iframeNode.location.href but have not tested this. I am also not sure if it works cross-domain. Sebastian Am 19.05.2007 um 22:46 schrieb Rüdiger Herrmann: > Hi all, > > I would like to provide a refresh/reload functionality for an IFRAME. > Whenever I call re

[qooxdoo-devel] Iframe.reload() question

2007-05-19 Thread Rüdiger Herrmann
Hi all, I would like to provide a refresh/reload functionality for an IFRAME. Whenever I call reload, the initially specified source gets reloaded. But when the user navigated from the initial page to another page (inside the frame), and then reload gets called, he/she ends up with the initiall