Hi,<div><br></div><div>I am diving GeoExt examples and reproducing layer tree one.</div><div>But I can't figure out what's wrong with wms_title parameter in the mapfile, ie, the "Tasmania (Group Layer)" doesn't show up wms_title metadata from the mapfile but layer name instead.</div>
<div><br></div><div>Is this a kinda bug? I wonder if there is any workaround to this behaviour because I guess nobody wants those "ugly" names with underscores and lower case letters.</div><div><br></div><div>Any hints?</div>
<div>Regards</div><div><br></div><div><br></div><div>------------------------------------------</div><div>Code snippet I am referring to.<br><div>------------------------------------------</div><div><br></div><br> new OpenLayers.Layer.WMS("Tasmania (Group Layer)",<br>
"<a href="http://demo.opengeo.org/geoserver/wms">http://demo.opengeo.org/geoserver/wms</a>", {<br> layers: [<br> "topp:tasmania_state_boundaries",<br>
"topp:tasmania_water_bodies",<br> "topp:tasmania_cities",<br> "topp:tasmania_roads"<br> ],<br> transparent: true,<br>
format: "image/gif"<br> }, {<br> isBaseLayer: false,<br> buffer: 0,<br> // exclude this layer from layer container nodes<br>
displayInLayerSwitcher: false,<br> visibility: false<br> }<br> )</div>