Thanks Geoffrey, the last button I added is the is the info button with the code attached earlier. I have pasted this particular code below, kindly let me know if you can spot the problem. Thanks!<div><div> //attribute Info</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span></div><div><span class="Apple-tab-span" style="white-space:pre">                </span>action = new GeoExt.Action({</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>text: &quot;attribute info&quot;,</div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span>control: new OpenLayers.Control.WMSGetFeatureInfo(),</div><div>            tooltip: &#39;Info&#39;,</div><div>            map: map,</div><div>            allowDepress: false,</div>
<div>        <span class="Apple-tab-span" style="white-space:pre">        </span>tooltip: &quot;Click on feature for attribute&quot;,</div><div>        // check item options</div><div>        <span class="Apple-tab-span" style="white-space:pre">        </span>group: &quot;info&quot;,</div>
<div>        <span class="Apple-tab-span" style="white-space:pre">        </span>iconCls: &quot;info&quot;</div><div>        });</div><div><span class="Apple-tab-span" style="white-space:pre">                </span></div><div><span class="Apple-tab-span" style="white-space:pre">                </span>actions[&quot;info&quot;] = action;</div>
<div>    <span class="Apple-tab-span" style="white-space:pre">        </span>toolbarItems.push(action);</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>toolbarItems.push(&quot;-&quot;);</div><br><div class="gmail_quote">
On Thu, Aug 25, 2011 at 1:00 PM,  <span dir="ltr">&lt;<a href="mailto:users-request@geoext.org">users-request@geoext.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Send Users mailing list submissions to<br>
        <a href="mailto:users@geoext.org">users@geoext.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:users-request@geoext.org">users-request@geoext.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:users-owner@geoext.org">users-owner@geoext.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of Users digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: Toolbar doesn&#39;t work with MORE than 6 control bottons (gbrun)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 25 Aug 2011 10:35:59 +0200<br>
From: gbrun &lt;<a href="mailto:gbrun@myopera.com">gbrun@myopera.com</a>&gt;<br>
Subject: Re: [Users] Toolbar doesn&#39;t work with MORE than 6 control<br>
        bottons<br>
To: <a href="mailto:users@geoext.org">users@geoext.org</a><br>
Message-ID: &lt;op.v0rgt9gbyqc6xb@asensio.parc.local&gt;<br>
Content-Type: text/plain; charset=iso-8859-15; format=flowed;<br>
        delsp=yes<br>
<br>
I don&#39;t think too much buttons could be a problem. I have actually 8<br>
GeoExt Action buttons in my mapPanel toolbar! :s<br>
<br>
Your problem may come rather from the last button you added, maybe the<br>
control linked to it?<br>
<br>
Geoffrey<br>
<br>
<br>
On Thu, 25 Aug 2011 10:28:35 +0200, Viola Anne &lt;<a href="mailto:violaanne@gmail.com">violaanne@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hi,<br>
&gt; Adding the 7th control to my toolbar causes the map not to display i.e<br>
&gt; the<br>
&gt; map panel is blank. Any idea how to resolve this. Below is my code just<br>
&gt; incase someone can spot where am going wrong. Much thanks.<br>
&gt;<br>
&gt;<br>
&gt;   //Begin ToolBar<br>
&gt;          var ctrl, toolbarItems = [], action, actions = {};<br>
&gt;<br>
&gt; action = new GeoExt.Action({<br>
&gt;         control: new OpenLayers.Control.ZoomToMaxExtent(),<br>
&gt;         map: map,<br>
&gt;         text: &quot;max extent&quot;,<br>
&gt;         //toggleGroup: &quot;navControl&quot;,  //*** Leave off or disables button<br>
&gt; after zoom ***<br>
&gt;         allowDepress: false,<br>
&gt;         group: &quot;navControl&quot;,<br>
&gt;         tooltip: &quot;zoom to max extent&quot;,<br>
&gt;         iconCls: &quot;zoomfull&quot;,<br>
&gt; height:&quot;10px&quot;<br>
&gt;     });<br>
&gt;     actions[&quot;max_extent&quot;] = action;<br>
&gt;     toolbarItems.push(action);<br>
&gt;     toolbarItems.push(&quot;-&quot;);<br>
&gt;  // Pan Map<br>
&gt;     action = new GeoExt.Action({<br>
&gt;        // text: &quot;nav&quot;,<br>
&gt;    text:&quot;pan&quot;,<br>
&gt;         control: new OpenLayers.Control.Navigation(),<br>
&gt;         map: map,<br>
&gt;         // button options<br>
&gt;         toggleGroup: &quot;navControl&quot;,<br>
&gt;         allowDepress: false,<br>
&gt;         pressed: true,<br>
&gt;         tooltip: &quot;pan map&quot;,<br>
&gt;         // check item options<br>
&gt;         group: &quot;navControl&quot;,<br>
&gt;         checked: true,<br>
&gt;         iconCls: &quot;panMap&quot;<br>
&gt;     });<br>
&gt;     actions[&quot;nav&quot;] = action;<br>
&gt;     toolbarItems.push(action);<br>
&gt;  // Zoom In<br>
&gt;     action = new GeoExt.Action({<br>
&gt;         //text: &quot;zoom box&quot;,<br>
&gt; text:&quot;info&quot;,<br>
&gt;         control: new OpenLayers.Control.WMSGetFeatureInfo(),<br>
&gt;         map: map,<br>
&gt;         // button options<br>
&gt;         toggleGroup: &quot;navControl&quot;,<br>
&gt;         allowDepress: false,<br>
&gt;         tooltip: &quot;zoom box&quot;,<br>
&gt;         // check item options<br>
&gt;         group: &quot;navControl&quot;,<br>
&gt;         iconCls: &quot;zoomWindowIn&quot;<br>
&gt;     });<br>
&gt;     actions[&quot;zoom_box&quot;] = action;<br>
&gt;     toolbarItems.push(action);<br>
&gt;  //attribute Info<br>
&gt;  action = new GeoExt.Action({<br>
&gt; text: &quot;attribute info&quot;,<br>
&gt; control: new OpenLayers.Control.WMSGetFeatureInfo(),<br>
&gt;             tooltip: &#39;Info&#39;,<br>
&gt;             map: map,<br>
&gt;             allowDepress: false,<br>
&gt;         tooltip: &quot;zoom box&quot;,<br>
&gt;         // check item options<br>
&gt;         group: &quot;info&quot;,<br>
&gt;         iconCls: &quot;info&quot;<br>
&gt;         });<br>
&gt;  actions[&quot;info&quot;] = action;<br>
&gt;     toolbarItems.push(action);<br>
&gt;  //zoom out<br>
&gt;  action = new GeoExt.Action({<br>
&gt;         text:&quot;zoom out&quot;,<br>
&gt;         control: new OpenLayers.Control.ZoomBox({out:true, displayClass:<br>
&gt; &#39;olControlZoomBoxOut&#39;}),<br>
&gt;         map: map,<br>
&gt;         toggleGroup: &quot;navControl&quot;,<br>
&gt;         allowDepress: false,<br>
&gt;         tooltip: &quot;larger box, less zoom out&quot;,<br>
&gt;         group: &quot;navControl&quot;,<br>
&gt;         iconCls: &quot;zoomOut&quot;<br>
&gt;     });<br>
&gt;     actions[&quot;zoom_out&quot;] = action;<br>
&gt;     toolbarItems.push(action);<br>
&gt;     toolbarItems.push(&quot;-&quot;);<br>
&gt;  // Navigation history - two &quot;button&quot; controls<br>
&gt;     ctrl = new OpenLayers.Control.NavigationHistory();<br>
&gt;     map.addControl(ctrl);<br>
&gt;<br>
&gt;     action = new GeoExt.Action({<br>
&gt;         text: &quot;previous&quot;,<br>
&gt;         control: new OpenLayers.Control.NavigationHistory().previous,<br>
&gt;         disabled: true,<br>
&gt;         tooltip: &quot;previous in history&quot;<br>
&gt;     });<br>
&gt;     actions[&quot;previous&quot;] = action;<br>
&gt;     toolbarItems.push(action);<br>
&gt;<br>
&gt;     action = new GeoExt.Action({<br>
&gt;         text: &quot;next&quot;,<br>
&gt;         control: new OpenLayers.Control.NavigationHistory().next,<br>
&gt;         disabled: true,<br>
&gt;         tooltip: &quot;next in history&quot;<br>
&gt;     });<br>
&gt;     actions[&quot;next&quot;] = action;<br>
&gt;     toolbarItems.push(action);<br>
&gt;    toolbarItems.push(&quot;-&gt;&quot;);<br>
&gt;<br>
<br>
<br>
--<br>
Using Opera&#39;s revolutionary email client: <a href="http://www.opera.com/mail/" target="_blank">http://www.opera.com/mail/</a><br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@geoext.org">Users@geoext.org</a><br>
<a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
<br>
End of Users Digest, Vol 31, Issue 33<br>
*************************************<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Kind Regards,</div>
<div>Viola</div><br>
</div>