[Users] GeoExt.data.WFSCapabilitiesStore: cross domain

Andreas Hocevar ahocevar at opengeo.org
Wed Oct 21 13:40:25 CEST 2009


Cédric Moullet wrote:
> Hi,
> In GeoExt.data.WFSCapabilitiesStore, the Ext.data.HttpProxy is used. 
> Is there any reason why Ext.data.ScriptTagProxy is not used ?

Yes, there is. XML in a script tag would get you nothing but a script 
execution error.

> This would avoid the cross domain problem.

But only if the response from the server was executable JavaScript.

Regards,
Andreas.

-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.



More information about the Users mailing list