|
|
|
Re: parent.qx.ui is null error in IE [message #123238 is a reply to message #123105] |
Thu, 26 February 2009 16:04 |
Rüdiger Herrmann Messages: 581 Registered: July 2009 |
Senior Member |
|
|
Boris,
I assume that the fact that your application runs in an IFRAME
causes the error. The code that you posted works when running
without an IFRAME.
Sorry to be not much of a help here, I have no experience with
running RAP in an IFRAME.
If you are able to construct something similar with standalone
qooxdoo, maybe they know how to solve this?
Cheers,
Rüdiger
Boris Stepanov wrote:
> Hi, Rüdiger!
>
> I've checked code again and found the following code which updates browser:
>
> String strUrl = browser.getUrl();
> browser.dispose();
> browser = new Browser(parentComposite, SWT.NONE);
> parentComposite.layout();
> browser.setUrl(strUrl);
>
> This is because I haven't found solution to execute script like
> document.location = document.location. Browser.execute doesn't work in
> this case.
>
> So I have editor with composite, browser widget inside composite and
> button on the toolbar which has to refresh browser. The button invokes
> code described above.
>
> Rüdiger Herrmann wrote:
>> Boris,
>>
>> your description is very vague. What Javascript are you sending to the
>> browser?
>>
>> Cheers,
>> Rüdiger
>>
>> Boris Stepanov wrote:
>>> Hi
>>>
>>> I tried to use application in iframe (I've just created html file
>>> where url is linked to RAP application) and found the following
>>> problem. When I opened editor with browser widget and sent to browser
>>> refresh script using execute method (I have button on toolbar for
>>> this operation) I recieved java script error (parent.qx.ui is null)
>>> in IE.
|
|
|
Powered by
FUDForum. Page generated in 0.03219 seconds