Hi all,<br><br>In my GeoExt web app I have created a TreePanel, in which I have both a BaseLayerContainer and OverlayLayerContainer as its children. This is the JSON config:<br><br>layerTreeJsonConfig = [<br> { // baselayer container<br>
nodeType: "gx_baselayercontainer",<br> text: 'basemap'<br> },<br> { // overlayer container<br> nodeType: "gx_overlaylayercontainer",<br> text: 'overlays',<br>
expanded: false,<br> // render the nodes inside this container with a radio button,<br> // and assign them the group "overlayers".<br> loader: {<br> baseAttrs: {<br>
radioGroup: "overlayers",<br> uiProvider: "layernodeui"<br> }<br> }<br> } <br> ];<br><br>I know and I was able to register "dblclick" listener on the TreePanel, now my question is whether there is a way to register different event handler on those two different layer container? The reason I am asking is that I am trying to another custom layer container which inherits from OverlayLayerContainer, and I would like wrap some event handler inside that custom layer container instead of adding it on TreePanel for all.<br>
<br>Thanks.<br><br> <br>