*Layer features are not being retrieved.. I got empty grid in window. would
anyone take a look and let me know if I miss something ?*


        gridPanel = new Ext.grid.GridPanel({
        title: "Feature Grid",
        store: new GeoExt.data.FeatureStore({
        fields: [
            {name: "id", type: "int"},
            {name: "name", type: "string"}
        ],
            proxy: new GeoExt.data.proxy.Protocol({
            protocol: new OpenLayers.Protocol.WFS({
                url: "http://IP/geoserver/wfs";,
                featureType: "myLayer",
                featureNS: "http://mapmap.org";, 
                srsName: "EPSG:3857", 
                version: "1.1.0"
            })
        }),
                autoLoad: true
                }),
                sm: new GeoExt.selection.FeatureModel(),
        width: 320,
    columns: [
        {header: "id", dataIndex: "id"},
        {header: "name", dataIndex: "name"}
    ]
    });

        *//window to display grid *
        var gridWindow = new Ext.Window({
              items: [
                     gridPanel
                       ]
            }).show();



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/How-to-export-vector-features-to-file-tp5002155p5002880.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to