[Users] GeoExt.Action + Ext.menu

Eric Lemoine eric.lemoine at camptocamp.com
Fri Jul 24 23:06:39 CEST 2009


On Friday, July 24, 2009, Alexandre Dube <adube at mapgears.com> wrote:
> Hi,
>
> Tim Schaub wrote:
>>
>> I probably don't understand your question properly, but you can set both
>> toggleGroup and group in an action (necessary for the action to be used
>> in both a button and a menu check item).  Are you saying you want to use
>> different values for group and toggleGroup?
>>
>>
>
> I'd like to have let's say 3 Actions as "buttons" in the toolbar : A1,
> A2, A3
> And I'd like to have 2 more Actions in a menu : A4, A5
>
> Is it possible to 'toggle' theses 5 controls on the same group ?
> Actually, I set the same 'group' and 'toggleGroup' values to all
> controls, but the A1-2-3 actions don't deactivate A4-5 and the vice-versa...
>
> Do you understand what I mean ?

Yes, and I think this isn't supported. Ext has one manager for
handling toggle groups of buttons, and a separate one for handling
toggle groups of menu items.

Cheers,


>
> Many thanks,
>
> Alexandre
>
>> Note that there are issues with Ext.SplitButton and toggleGroup (though
>> curiously, I haven't seen similar trouble with Ext.Toolbar.SplitButton).
>>
>> Tim
>>
>>
>
>
>
>
> --
> Alexandre Dubé
> Mapgears
> http://www.mapgears.com
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>

-- 
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