<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi,<br><br>sorry for my previuos post, that was a mistake.<br><br>here is my WMSCapabilitiesStore which works fine in IE and FF:<br>var infostore = new GeoExt.data.WMSCapabilitiesStore({<br> <br><span> url: "<a target="_blank" href="http://myserver:8080/geoserver/wms?service=wms&request=GetCapabilities&version=1.1.0">http://myserver:8080/geoserver/wms?service=wms&request=GetCapabilities&version=1.1.0</a>"</span><br> });<br> infostore.load(); <br><br></div><div style="font-family: times new roman,new
york,times,serif; font-size: 12pt;">var grid = new Ext.grid.GridPanel({<br> title: 'WMS',<br> region: "south",<br> id: "grid",<br> store: infostore,<br>
columns: [<br> {header: "Name", dataIndex: "name"},<br> {header: "Abfragbar", dataIndex: "queryable"},<br> {id: "description", header: "Beschreibung", dataIndex: "abstract"}<br>
],<br> autoExpandColumn: 'description',<br> height:150,<br> width: 750,<br> margins: '0 0 0 550'
<br> }); <br><br>HTH<br>best regards<br>Sarah<br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">Von:</span></b> Eoin Mac Aoidh <eoinyp@yahoo.com><br><b><span style="font-weight: bold;">An:</span></b> users@geoext.org<br><b><span style="font-weight: bold;">Gesendet:</span></b> Freitag, den 16. Juli 2010, 16:15:09 Uhr<br><b><span style="font-weight: bold;">Betreff:</span></b> [Users] GeoExt.data.WMSCapabilitiesStore browser issue?<br></font><br><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top">Hi all,<br>I have a short piece of code to populate a GeoExt.data.WMSCapabilitiesStore and display the available
layers in a GridPanel, nothing more.<br>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).<br>Many thanks,<br>Eoin<br><br>Ext.onReady(function() {<br><br> <br> var grid = new Ext.grid.GridPanel({<br> title: "Available WMS Layers",<br> region: "north",<br> height:
300,<br> renderTo: document.body,<br> viewConfig: {forceFit: true},<br> store: new GeoExt.data.WMSCapabilitiesStore({<br><span> url: "<a target="_blank" href="http://139.191.1.174/geoserver/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=getcapabilities&TILED=true">http://139.191.1.174/geoserver/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=getcapabilities&TILED=true</a>", </span><br> autoLoad:
true<br> }),<br> columns: [{header:
"Name", dataIndex: "name", sortable: true},{header: "Title", dataIndex: "title", sortable: true}]<br> });<br> });<br></td></tr></tbody></table><br>
</div></div>
</div><br></body></html>