[Users] GeoExt.data.WMSCapabilitiesStore browser issue?

Eoin Mac Aoidh eoinyp at yahoo.com
Fri Jul 16 16:15:09 CEST 2010


Hi all,
I have a short piece of code to populate a GeoExt.data.WMSCapabilitiesStore and display the available layers in a GridPanel, nothing more.
It works as I would expect in Internet Explorer, but the GridPanel does not populate in Firefox or Chrome. Is this a known issue, or is there something wrong with my code (below).
Many thanks,
Eoin

Ext.onReady(function() {

        
        var grid = new Ext.grid.GridPanel({
                title: "Available WMS Layers",
                region: "north",
                height: 300,
                renderTo: document.body,
                viewConfig: {forceFit: true},
                store: new GeoExt.data.WMSCapabilitiesStore({
                    url: "http://139.191.1.174/geoserver/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=getcapabilities&TILED=true", 
                    autoLoad: true
                }),
                columns: [{header: "Name", dataIndex: "name", sortable: true},{header: "Title", dataIndex: "title", sortable: true}]
            });
        });



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20100716/e124c1f7/attachment.htm 


More information about the Users mailing list