Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/extjs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Extjs GeoExt属性存储未加载数据_Extjs_Openlayers_Geoext - Fatal编程技术网

Extjs GeoExt属性存储未加载数据

Extjs GeoExt属性存储未加载数据,extjs,openlayers,geoext,Extjs,Openlayers,Geoext,我在使用WFS请求将数据加载到属性存储中时遇到问题 我正在使用下面的代码创建商店 var attrStore = new GeoExt.data.AttributeStore({ url: "http://geoserver:8080/geoserver/ows", baseParams: { SERVICE: "WFS",

我在使用WFS请求将数据加载到属性存储中时遇到问题

我正在使用下面的代码创建商店

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
})
我尝试添加监听器来查看发生了什么,beforeload监听器启动,但没有加载,WFS请求没有被发送。Firebug中没有错误

任何帮助都将不胜感激

谢谢


Tom

您想使用什么属性存储?如果要编辑功能的属性,最好使用FeatureStore+ExtJs.GridPanelEditor。
不管怎样,这是你想要的例子