<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><b><span style="font-weight: bold;"></span></b></font><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>I have this code that worked for me:<br> title: "Layer tree",<br> width: 200, <br> id:
"treelayer",<br> margins: '5 0 5 5',<br> xtype:
"treepanel", <br> loader: new Ext.tree.TreeLoader({<br> applyLoader: false}),<br> root: {<br> nodeType: "async",<br>
children: [ <br> {<br> nodeType: "gx_baselayercontainer"<br> }, {<br> nodeType:
"gx_overlaylayercontainer",<br> expanded: true,<br> loader: {<br> baseAttrs: {radioGroup: "foo"}<br> } <br> }<br>
, {<br> nodeType: "gx_layer",<br> layer: "Forest",<br> isLeaf: false,<br> loader: { <br>
param: "LAYERS"<br> }<br> }<br> ]<br><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">HTH.<br>best regards<br>Sarah<br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;"></span></b></font><br></div></div></div></div></div>
</div><br></body></html>