Andreas, today I noticed one wrong thing with that implementation...<br>My GeoExt.LegendPanel is not showing the item anymore... Is that a solution to that?<br><br>Thanks<br><br>Paul<br><br><div class="gmail_quote">On Tue, Feb 9, 2010 at 4:46 PM, Paul james <span dir="ltr">&lt;<a href="mailto:pauljame@gmail.com">pauljame@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>Thats It Andreas!</div>
<div>Thanks...</div>
<div> </div><font color="#888888">
<div>Paul<br><br></div></font><div><div></div><div class="h5">
<div class="gmail_quote">On Tue, Feb 9, 2010 at 4:37 PM, Andreas Hocevar <span dir="ltr">&lt;<a href="mailto:ahocevar@opengeo.org" target="_blank">ahocevar@opengeo.org</a>&gt;</span> wrote:<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;" class="gmail_quote">
<div>Paul james wrote:<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;" class="gmail_quote">Hello guys...<br> Is it possible to associate 2 layers in a single Treeview Item ?<br></blockquote>
<br></div>
You mean you want e.g. l1,l2 in one sub-item and l3,l4 in another? Here you go: 
<div><br><br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;" class="gmail_quote">Example: I have that layer (using SUBLAYERS)<br> var _test = new OpenLayers.Layer.WMS(&quot;TEST&quot;,<br>

               _mapfile, {                                    &quot;LAYERS&quot;: [&#39;l1&#39;, &#39;l2&#39;, &#39;l3&#39;, &#39;l4&#39;],<br></blockquote><br></div>Replace the above line with: 
<div><br><br>                  &quot;LAYERS&quot;: [&#39;l1,l2&#39;, &#39;l3,l4&#39;],<br><br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;" class="gmail_quote">                    transparent: true,<br>                    format: &quot;image/png&quot;<br>
               }, {<br>
                   isBaseLayer: false,                                      buffer: 0,<br>                   visibility: true                                  });  My treeview:<br>...<br>text: &quot;TEST&quot;,                                    expanded: true,<br>

                   children: [<br>                   {<br>                       nodeType: &quot;gx_layerparam&quot;,                                            layer: &quot;TEST&quot;,<br>                       param: &quot;LAYERS&quot;,<br>

                       item: &quot;l1&quot;,<br></blockquote><br></div>                      item: &quot;l1,l2&quot;, 
<div><br><br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;" class="gmail_quote">                       text: &quot;test layer&quot;,<br>                       checked: true,<br>
                       uiProvider: ...<br>
                   }<br>...<br> <br></blockquote><br></div>Regards,<br>Andreas.<br><font color="#888888"><br>-- <br>Andreas Hocevar<br>OpenGeo - <a href="http://opengeo.org/" target="_blank">http://opengeo.org/</a><br>Expert service straight from the developers.<br>

<br></font></blockquote></div><br>
</div></div></blockquote></div><br>