<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Andrew,<div><br></div><div>it seems Geoserver will return the same error exception if I leave out SCALE from the GetLegendGraphic request, so this cannot be fixed on the GeoExt side unfortunately.</div><div><br></div><div>In my first e-mail I actually had a working GetLegendGraphic URL, the failing one is e.g. (or leave out SCALE altogether from the request):</div><div><br></div><div><a href="http://saturn.nmt.edu/geoserver/wms?&SINGLETILE=true&TRANSPARENT=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&EXCEPTIONS=application/vnd.ogc.se_xml&LAYER=national:usgsdtw&SCALE=50000&FORMAT=image/gif">http://saturn.nmt.edu/geoserver/wms?&SINGLETILE=true&TRANSPARENT=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&EXCEPTIONS=application%2Fvnd.ogc.se_xml&LAYER=national%3Ausgsdtw&SCALE=50000&FORMAT=image%2Fgif</a></div><div><br></div><div>Best regards,</div><div>Bart</div><div><br></div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>-- </div><div>Looking for flexible support on OpenLayers or GeoExt? Please check out <a href="http://www.osgis.nl/support.html">http://www.osgis.nl/support.html</a></div><div><br></div><div>Bart van den Eijnden</div><div>OSGIS</div><div><a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a></div></div></div></span></div></span></span>
</div>
<br><div><div>On Mar 6, 2011, at 10:04 PM, Andrew Parker wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Thanks for the suggestions Bart. I added:<br><br>Ext.onReady(function() {<br> Ext.QuickTips.init();<br> // Add the following per Bart's suggestion to fix symbol in layer tree<br> GeoExt.WMSLegend.prototype.useScaleParameter = false;<br><br>This caused the symbol not to display in the layer tree.<br><br>The I removed the above add added:<br><br>xtype: "gx_wmslegend",<br>useScaleParameter: false<br><br>to LayerTreeBuilder.js. Same affect as above, no symbology in the layer <br>tree.<br>I will post to geoserver list in a few days if someone here does not <br>come up with a solution.<br><br><br>-- <br>Andrew Parker<br>Source3 Computing, LLC<br><a href="http://www.source3.com">www.source3.com</a><br>skype: source3computing<br>505-350-5535<br><br><br>_______________________________________________<br>Users mailing list<br>Users@geoext.org<br>http://www.geoext.org/cgi-bin/mailman/listinfo/users<br><br></div></blockquote></div><br></body></html>