[Users] AttributeStore not loading data

Thomas Colley it087 at neath-porttalbot.gov.uk
Thu Aug 16 10:52:19 CEST 2012


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.hocevar at gmail.com [mailto:andreas.hocevar at gmail.com] On
Behalf Of Andreas Hocevar
Sent: 16 August 2012 07:34
To: Thomas Colley
Cc: users at 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
<it087 at 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 at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>



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




More information about the Users mailing list