<div>Thats It Andreas!</div>
<div>Thanks...</div>
<div> </div>
<div>Paul<br><br></div>
<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">ahocevar@opengeo.org</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">Paul james wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; 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 class="im"><br><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; 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 class="im"><br><br>                  &quot;LAYERS&quot;: [&#39;l1,l2&#39;, &#39;l3,l4&#39;],<br><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; 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 class="im"><br><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; 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>