Hello GeoExt List,<br><br>I am new to GeoExt and I am grateful such a library has been created.  Now I am trying to make a layer tree for my map browser.  I got some ideas on how to create a general one, but there are some options I&#39;d like to have that I cannot find.  I do not know if it is because they do not exist or I am just unaware.  <br>
<br>Here&#39;s what I&#39;d like to do:<br><br>1.  I&#39;d like to be able to have a few layers declared by variables as such:<br><br>           var tib_townships = new OpenLayers.Layer.WMS(<br>                            &quot;Townships (Tibetan trans)&quot;, &quot;<a href="http://10.0.102.11:8080/geoserver/wms">http://10.0.102.11:8080/geoserver/wms</a>&quot;, {layers: &#39;cite:tib_townships&#39;, transparent: true}, {isBaseLayer: false, displayInLayerSwitcher: true, visibility: true} <br>
                       );<br>        <br>            var chn_villages = new OpenLayers.Layer.WMS(<br>                            &quot;Villages (Chinese trans)&quot;, &quot;<a href="http://10.0.102.11:8080/geoserver/wms">http://10.0.102.11:8080/geoserver/wms</a>&quot;, {layers: &#39;cite:chn_villages&#39;, transparent: true}, {isBaseLayer: false, displayInLayerSwitcher: true, visibility: false} <br>
                       );<br>                    <br>            var tib_villages = new OpenLayers.Layer.WMS(<br>                            &quot;Villages (Tibetan trans)&quot;, &quot;<a href="http://10.0.102.11:8080/geoserver/wms">http://10.0.102.11:8080/geoserver/wms</a>&quot;, {layers: &#39;cite:tib_villages&#39;, transparent: true}, {isBaseLayer: false, displayInLayerSwitcher: true, visibility: true} <br>
                       );<br><br>and then I&#39;d like to be able to add these layers to a single node: <br><br>var layerRoot = new Ext.tree.TreeNode({<br>                text: &quot;All Layers&quot;,<br>                expanded: true<br>
                });<br>            <br>                layerRoot.appendChild(new GeoExt.tree.BaseLayerContainer({<br>                text: &quot;Base Layers&quot;,<br>                map: map,<br>                expanded: true<br>
                }));<br>                <br>                layerRoot.appendChild(new GeoExt.tree.LayerNode({<br>                text: &quot;Tibetan Villages&quot;,<br>                layer: tib_villages,<br>                loader: {param: &quot;LAYERS&quot;},<br>
                expanded: true<br>                }));<br><br><br>