<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">Hi,</div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">Thanks for the link to the latest example, Andreas (<a href="http://dev.geoext.org/trunk/geoext/examples/tree.html" style="font-size: 10pt; ">http://dev.geoext.org/trunk/geoext/examples/tree.html</a>)</div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">Does the <span style="white-space: pre-wrap; font-size: 10pt; ">maxResolution config automatically disable a node now when we zoom out of range?</span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><span
style="font-size: 10pt; white-space: pre-wrap; ">May I ask why the example has two listeners? one in the plugin and another for the tree?...Is that just to show that listeners can be attached to trees as well as plugins?</span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><span style="white-space: pre-wrap;"><br></span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><span style="font-size: 10pt; white-space: pre-wrap; "><div style="white-space: normal; "><span style="white-space: pre-wrap; font-size: 10pt; ">My problem with layer 1 is still persisting unfortunately. I have looked at the code once again but to no avail. </span></div><div style="white-space: normal; "><span style="white-space: pre-wrap; font-size: 10pt; "><br></span></div><div style="white-space: normal; "><span style="white-space: pre-wrap; font-size: 10pt; ">The test app is here..</span></div>
</span><a href="http://maps.zgb.de/geoportal/treenodes.html" style="font-size: 10pt; ">http://maps.zgb.de/geoportal/treenodes.html</a></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">The treeconfig is not json anymore, but still when the first node is made active first, the rest are not queryable.</div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">Maybe my plugin listener to make active nodes queryable wrong?!?</div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div><div><font face="arial, helvetica, sans-serif" size="2">plugins: [</font></div><div><font face="arial, helvetica, sans-serif" size="2"> new
GeoExt.plugins.TreeNodeRadioButton({</font></div><div><font face="arial, helvetica, sans-serif" size="2"> listeners: {</font></div><div><font face="arial, helvetica, sans-serif" size="2"> "radiochange": function(node) {</font></div><div><font face="arial, helvetica, sans-serif" size="2"> <span class="Apple-tab-span" style="white-space:pre">        </span>//alert(node.text + " is now the active layer.");</font></div><div><font face="arial, helvetica, sans-serif" size="2"> <span class="Apple-tab-span" style="white-space:pre">        </span> </font></div><div><font face="arial, helvetica, sans-serif" size="2"> <span class="Apple-tab-span"
style="white-space:pre">        </span> activeNode = node;</font></div><div><font face="arial, helvetica, sans-serif" size="2"> <span class="Apple-tab-span" style="white-space:pre">                                </span> if(activeNode == node)</font></div><div><font face="arial, helvetica, sans-serif" size="2"><span class="Apple-tab-span" style="white-space:pre">                                </span> {</font></div><div><font face="arial, helvetica, sans-serif" size="2"><span class="Apple-tab-span" style="white-space:pre">                                </span> featureInfo.activate();</font></div><div><font face="arial, helvetica, sans-serif" size="2"><span class="Apple-tab-span" style="white-space:pre">                                </span> selLayer = node.layer;</font></div><div><font face="arial, helvetica, sans-serif" size="2">
<span class="Apple-tab-span" style="white-space:pre">                </span> <span class="Apple-tab-span" style="white-space:pre">        </span>featureInfo.layers = [selLayer];</font></div><div><font face="arial, helvetica, sans-serif" size="2"><span class="Apple-tab-span" style="white-space:pre">                                </span> </font></div><div><font face="arial, helvetica, sans-serif" size="2"><span class="Apple-tab-span" style="white-space:pre">                                </span> }</font></div><div><font face="arial, helvetica, sans-serif" size="2"><span class="Apple-tab-span" style="white-space:pre">                                </span> else</font></div><div><font face="arial, helvetica, sans-serif" size="2"><span class="Apple-tab-span" style="white-space:pre">                                </span>
{</font></div><div><font face="arial, helvetica, sans-serif" size="2"><span class="Apple-tab-span" style="white-space:pre">                                </span> featureInfo.deactivate();</font></div><div><font face="arial, helvetica, sans-serif" size="2"><span class="Apple-tab-span" style="white-space:pre">                                </span> }</font></div><div><font face="arial, helvetica, sans-serif" size="2"> }</font></div><div><font face="arial, helvetica, sans-serif" size="2"> }</font></div><div><font face="arial, helvetica, sans-serif" size="2"> })</font></div><div><font face="arial, helvetica, sans-serif" size="2"> ],</font></div></div><div style="font-family:
arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">yours,</div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">Rob</div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><span style="white-space: pre-wrap; font-size: 10pt; "><br></span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><span style="white-space: pre-wrap; font-size: 10pt; "><br></span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><span style="white-space: pre-wrap; font-size: 10pt; "><br></span></div><div style="font-family: arial, helvetica,
sans-serif; font-size: 10pt; "><span style="white-space: pre-wrap; font-size: 10pt; "><br></span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><span style="white-space: pre-wrap; font-size: 10pt; "><br></span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div></div></body></html>