<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: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; ">I have an WMSGetFeatureinfo button defined within an action as follows in Extjs 3.4</div><div style="font-family: arial, helvetica, sans-serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; "><br></div><div style="background-color: transparent; "><div style="background-color: transparent; "><font face="arial, helvetica, sans-serif" size="2"> action = new GeoExt.Action({</font></div><div style="background-color: transparent; "><font face="arial, helvetica, sans-serif"
size="2"> id:"wms_info_btn",</font></div><div style="background-color: transparent; "><font face="arial, helvetica, sans-serif" size="2"> text: "",</font></div><div style="background-color: transparent; "><font face="arial, helvetica, sans-serif" size="2"> tooltip: "Features Abfragen",</font></div><div style="background-color: transparent; "><font face="arial, helvetica, sans-serif" size="2"> toggleGroup: 'mapTools',</font></div><div style="background-color: transparent; "><font face="arial, helvetica, sans-serif" size="2"> icon: 'images_big/10_identify.png',</font></div><div style="background-color: transparent; "><font face="arial, helvetica, sans-serif" size="2"> hidden:false,</font></div><div style="background-color: transparent; "><font face="arial, helvetica, sans-serif" size="2">
control: featureInfo, </font></div><div style="background-color: transparent; "><font face="arial, helvetica, sans-serif" size="2"> map: map</font></div><div style="background-color: transparent; "><font face="arial, helvetica, sans-serif" size="2"> });</font></div><div style="background-color: transparent; "><font face="arial, helvetica, sans-serif" size="2"> actions["Select"] = action;</font></div><div style="background-color: transparent; "><font face="arial, helvetica, sans-serif" size="2"> toolbarItems.push(action);</font></div><div style="background-color: transparent; "><font face="arial, helvetica, sans-serif" size="2"> </font></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; font-style: normal; "><font face="arial, helvetica, sans-serif"
size="2"><br></font></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; font-style: normal; "><font face="arial, helvetica, sans-serif" size="2">This work fine....but if the layer node - "activemode" - isnīt checked, the busyMask runs indefinately. I am trying to identify if the node is checked or not. I can do this with the following code.</font></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; font-style: normal; "><font face="arial, helvetica, sans-serif" size="2"><br></font></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; font-style: normal; "><font face="arial, helvetica, sans-serif" size="2"><br></font></div><div style="background-color: transparent; "><font face="arial, helvetica, sans-serif"
size="2"> if (typeof(activenode) == "undefined"){</font></div><div style="background-color: transparent; "><font face="arial, helvetica, sans-serif" size="2">// </font><span style="background-color: transparent; font-family: arial, helvetica, sans-serif; font-size: small; "> Ext.get('</span><span style="background-color: transparent; font-family: arial, helvetica, sans-serif; font-size: small; ">wms_info_btn</span><span style="background-color: transparent; font-family: arial, helvetica, sans-serif; font-size: 13px; ">').dom.disabled = true;</span></div><div style="background-color: transparent; "><font face="arial, helvetica, sans-serif" size="2"> }</font></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; font-style: normal; "><font face="arial,
helvetica, sans-serif" size="2"><br></font></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-style: normal; "><font size="2">but I can't reference the button in the toolbar to disable it .....I guess because it is an action.</font></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-style: normal; font-size: 13px; "><font size="2"><br></font></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-style: normal; font-size: 13px; "><font size="2"><br></font></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-style: normal; font-size: 13px; "><font size="2">Can anyone help me get a reference to the actual button?</font></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-family:
arial, helvetica, sans-serif; font-style: normal; font-size: 13px; "><font size="2"><br></font></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-style: normal; font-size: 13px; "><font size="2">yours,</font></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-style: normal; font-size: 13px; "><font size="2"><br></font></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-style: normal; font-size: 13px; "><font size="2">Robert</font></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-style: normal; font-size: 13px; "><font size="2"><br></font></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-style: normal; font-size: 13px;
"><font size="2"><br></font></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-style: normal; font-size: 13px; "><br></div></div></div></body></html>