[Commits] r298 - apps/opengeo/geoexplorer/trunk/lib
commits at geoext.org
commits at geoext.org
Tue Mar 31 00:00:07 CEST 2009
Author: sbenthall
Date: 2009-03-31 00:00:07 +0200 (Tue, 31 Mar 2009)
New Revision: 298
Modified:
apps/opengeo/geoexplorer/trunk/lib/CapabilitiesGrid.js
apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js
Log:
...then I learned what to do with an /ows url! And cleaned up some UI
ugliness
Modified: apps/opengeo/geoexplorer/trunk/lib/CapabilitiesGrid.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/lib/CapabilitiesGrid.js 2009-03-30 21:47:24 UTC (rev 297)
+++ apps/opengeo/geoexplorer/trunk/lib/CapabilitiesGrid.js 2009-03-30 22:00:07 UTC (rev 298)
@@ -11,17 +11,17 @@
//as configuration option
url: null,
- title: "Explore Date",
height: 300,
width: 650,
+
iconCls: 'icon-grid', //what does this do?
autoExpandColumn: "description", //and what does this do?
initComponent: function(){
this.store = new GeoExt.data.WMSCapabilitiesStore({
- url: this.url.substr(0,this.url.indexOf("ows")) + "wms?request=GetCapabilities"
+ url: this.url + "?service=wms&request=GetCapabilities"
});
this.store.load();
Modified: apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js 2009-03-30 21:47:24 UTC (rev 297)
+++ apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js 2009-03-30 22:00:07 UTC (rev 298)
@@ -218,6 +218,9 @@
var win = new Ext.Window({
+ title: "Explore Data",
+ height: 300,
+ width: 650,
items: [
new CapabilitiesGrid({
url : this.ows,
More information about the Commits
mailing list