<div dir="ltr">2013/10/3 Bart van den Eijnden <span dir="ltr"><<a href="mailto:bartvde@boundlessgeo.com" target="_blank">bartvde@boundlessgeo.com</a>></span><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div style="word-wrap:break-word">There is no GetCapabilities request involved here, the application isn't using WMS GetCapabilities at all.<div><br></div><div>What happens is that the layers param is split on "," and the strings are taken from there.</div>
<div><br></div><div>If possible use separate WMS layers (so you can define the title on the OpenLayers Layer object) and group them together in the tree instead of using a LayerParamLoader.</div></div></blockquote><div><br>
</div><div>Ok, so it's the standard behaviour of OpenLayers.Layer.WMS constructor though not what I would expect because wms_title is required in the OGC implementation specification.</div><div>However this could be overridden by using the same string for wms_title and layer name.<br>
</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div>
<br></div><div>This might not be a trivial exercise though, for some inspiration you could look here:</div><div><br></div><div><a href="https://github.com/boundlessgeo/gxp/blob/master/src/script/plugins/LayerTree.js" target="_blank">https://github.com/boundlessgeo/gxp/blob/master/src/script/plugins/LayerTree.js</a></div>
</div></blockquote><div><br></div><div>Thank you for the tip I will have a look... at least try to :-)</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div style="word-wrap:break-word"><div><br></div><div>Best regards,</div><div>Bart</div></div></blockquote></div><br></div><div class="gmail_extra">Regards</div><div class="gmail_extra">/raffaele</div><div class="gmail_extra">
<br></div></div>