[Users] Adding a menu item to an existing Tbar, not working
Eric Lemoine
eric.lemoine at camptocamp.com
Tue Oct 5 08:18:43 CEST 2010
On Monday, October 4, 2010, Andrew Stewart <Andrew.Stewart at reddeer.ca> wrote:
>
>
>
>
>
>
>
>
>
> I am trying to add a button with a menu to my existing toolbar but unfortunately when I click on it the drawfeature control associated with the button won't fire and the pan tool stays active. If I just add the GeoExt.Action that adds redline directly
> to the tbar this works, but if I add the menu with it it doesn't. Not sure what I am missing here just trying to get a menu because I want to allow the drawfeature to use options for a line or polygon. Any help appreciated.
You may might a CheckItem for the Redline action. See the toolbar
example again, <http://trac.geoext.org/browser/core/trunk/geoext/examples/toolbar.js>.
--
Eric Lemoine
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com
More information about the Users
mailing list