[Users] AttributeStore not loading data
Andreas Hocevar
ahocevar at opengeo.org
Thu Aug 16 08:34:18 CEST 2012
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