Hello Alessandro, currently there is no possibility to set that flag to true. The data store is not really final so i hope there will be a solution to get that going. In the meantime you did the right thing, just edit the source code and give it a try. Its as long as its for testing purposes only. If you want to have it in your code, just extend the store and overwrite the _createRequest method.
But i cant tell you why its not working if you edit the code. Have you tried a simple request to that url using the qx.io.remote.Request without the data store? Depending on your task, the qx.io2.ScriptLoader could be a possible solution. Just take a look at the demos i build a separate store for (flickr, twitter and gears). Regards, Martin Am 16.03.2009 um 22:12 schrieb turicum: > > I went through the API doc, but I could not find anything. I then > edited the > qx.data.store.Json class definition by adding > this.__request.setCrossDomain(true) to the _createRequest() > function, but > this line makes the call hang. > > any idea? > > > thron7-2 wrote: >> >> >> >> turicum wrote: >>> Dear Qooxdooxers, >>> >>> is there a way to set the crossDomain property of the >>> qx.io.remote.Request object used by qx.data.store.Json(url)? >>> >> >> I'm not sure. Martin could probably answer that. Have you looked into >> the API docs? If it's not there, I'm afraid it is not supported. >> >> T. >> >>> Thanks! >>> Alessandro >>> >> >> ------------------------------------------------------------------------------ >> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) >> are >> powering Web 2.0 with engaging, cross-platform capabilities. >> Quickly and >> easily build your RIAs with Flex Builder, the Eclipse(TM)based >> development >> software that enables intelligent coding and step-through debugging. >> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com >> _______________________________________________ >> qooxdoo-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >> >> > > -- > View this message in context: > http://www.nabble.com/cross-domain-qx.data.store.Json-tp22541430p22547560.html > Sent from the qooxdoo-devel mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) > are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly > and > easily build your RIAs with Flex Builder, the Eclipse(TM)based > development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
