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}]
            });
        });



      
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to