View Full Version : document.domain problem in firefox when using gxt + gwt-comet-adapter

15 Dec 2010, 1:47 AM
Hi everybody,

I integrated streamhub with gxt and it works flawlesly in google chrome, but when I use firefox or ie I get "Access denied" eror because there are cross domain calls between the push server script and the ext-gwt script. I read I that I should use the settings document.domain on both of the scripts but it doesn't work. Has anyone used gwt-comet-adapter and how did you solve this problem ? Thank you.


15 Dec 2010, 2:09 AM
In case anybody is interested, the answer is adding the following line to the gwt.xml module:

15 Dec 2010, 4:58 AM
You should also take a look at the desciption for the xs. As with any other linker, there are positive and negative parts.

15 Dec 2010, 5:10 AM
I already noticed that :)
Do you have other suggestions ?

15 Dec 2010, 5:20 AM
No, if you need cross domain access, thats the only way. I just wanted to point out that you could have problems you have not thought about before.

15 Dec 2010, 5:33 AM
I already have them. Isn't that wonderful ? :)