Thanks for the reply Andreas.

I had the ProxyHost set up but was not using override-ext-ajax.js.
Adding that has solved the problem!

Thanks very much.

Tom

I have just tried to 
-----Original Message-----
From: andreas.hoce...@gmail.com [mailto:andreas.hoce...@gmail.com] On
Behalf Of Andreas Hocevar
Sent: 16 August 2012 07:34
To: Thomas Colley
Cc: users@geoext.org
Subject: Re: [Users] AttributeStore not loading data

Do you have a correct proxy setup, i.e. a working server-side proxy,
OpenLayers.ProxyHost configured to use it and override-ext-ajax.js
loaded?

Andreas.

On Mon, Aug 13, 2012 at 10:53 AM, Thomas Colley
<it...@neath-porttalbot.gov.uk> wrote:
> Hi
>
>
>
> I am having problems loading data into an attribute store using a WFS 
> request.
>
>
>
> I am using the code below to create the store.
>
>
>
> var attrStore = new GeoExt.data.AttributeStore({
>
>                 url: "http://geoserver:8080/geoserver/ows";,
>
>                 baseParams: {
>
>                                 SERVICE: "WFS",
>
>                                 REQUEST: "DescribeFeatureType",
>
>                                 VERSION: "1.1.0",
>
>                                 TYPENAME: layerID
>
>                 },
>
>                 autoLoad: true
>
> })
>
>
>
> I have tried adding listeners to see what is happening, the beforeload

> listener fires but not the load and the WFS request is not being sent.

> There are no errors in Firebug.
>
>
>
> Any help would be very much appreciated.
>
>
>
> Thanks
>
>
>
> Tom
>
>
> _______________________________________________
> Users mailing list
> Users@geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>



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


_______________________________________________
Users mailing list
Users@geoext.org
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to