<div>Good day folks! The app I'm working on has a tree with selectable optional overlays via check boxes plus an active layer radio button. When the app loads, I would like to specify one of the layers as active. I found in an earlier thread that if I put in this snippet before the end of the Ext.onReady():</div>
<div> </div>
<div>var node= tree.root.findChild('layer',wwalayer,true);</div>
<div>Ext.get(node.attributes.radio).set({</div>
<div> 'checked': true</div>
<div>});</div>
<div> </div>
<div>then the wwalayer radio button is "checked" when the page loads in Firefox so the user knows it is active. But, for some reason, this does not happen in IE8, though the layer is active. I know because a pop window appears on mouseover of the vector layer "Hazards"...won't do this if layer is not active. I'd like to have the same behavior in both browsers. I've tried examining the page via Developer Tools in IE8, but things don't seem to match up when I use Firebug in Firefox, i.e. there's node.attributes.radio in both but there's no 'checked' property displayed in the Developer Tools window when debugging in IE8. It's there in Firebug, though. I've tried looking through the list of properties but couldn't seem to find a property I could use for both.</div>
<div> </div>
<div>My test page:</div>
<div> </div>
<div><a href="http://www.mdl.nws.noaa.gov/wxmap/wxmapHourlyDay_test.php">http://www.mdl.nws.noaa.gov/wxmap/wxmapHourlyDay_test.php</a></div>
<div> </div>
<div>I have thought of maybe triggering the radiochange event and seeing if that would work. Just didn't get there yet and was perhaps hoping someone else may have run into this issue.</div>
<div> </div>
<div>Thanks for any help and I'll report if I solved this via triggering the event.</div>
<div> </div>
<div>Dave M</div>
<div> </div>