hi! i did some change in WMSCapabilitiesLoader.js to fire exception on bad request. i did some tests and it's seems to work.
Ext.override(GeoExt.tree.WMSCapabilitiesLoader, { processResponse : function(response, node, callback, scope){ var capabilities = new OpenLayers.Format.WMSCapabilities().read( response.responseXML || response.responseText); if(!capabilities.capability){ scope.loading = false; node.wmsbrowser.fireEvent('getcapabilitiesfail'); } else{ this.processLayer(capabilities.capability, capabilities.capability.request.getmap.href, node); if (typeof callback == "function") { callback.apply(scope || node, [node]); } } } }); Marc-André Trottier
_______________________________________________ Users mailing list Users@geoext.org http://www.geoext.org/cgi-bin/mailman/listinfo/users