[Users] GeoExt Action question

Matt Priour mpriour at kestrelcomputer.com
Mon Nov 15 22:05:28 CET 2010


I was not clear at all, sorry.
What I meant was that maybe you accidentally had a toggleGroup set on that 
action button which was interacting with the other action buttons and 
causing problems.

Matt Priour

--------------------------------------------------
From: "Dan Ramage" <dan at inlet.geol.sc.edu>
Sent: Monday, November 15, 2010 2:15 PM
To: "'Matt Priour'" <mpriour at kestrelcomputer.com>; <users at geoext.org>
Subject: RE: [Users] GeoExt Action question

> I just experimented putting the toggleGroup: in the SelectFeature object,
> although still not working.
>
> I removed the eventListeners activate/deactivate from the ZoomBox controls
> for Zoom in/out Actions. I replaced them with a toggleHandler function,
> however that has the same issue as well.
>
> If I remove the events and handlers from the Action, then I the
> SelectFeature works as desired.
>
>
> Dan
>
> -----Original Message-----
> From: Matt Priour [mailto:mpriour at kestrelcomputer.com]
> Sent: Monday, November 15, 2010 2:56 PM
> To: Dan Ramage; users at geoext.org
> Subject: Re: [Users] GeoExt Action question
>
> do you have a 'toggleGroup' attribute set on the SelectFeature control and
> is it the same as the toggle group on other buttons?
>
> Matt Priour
>
> --------------------------------------------------
> From: "Dan Ramage" <dan at inlet.geol.sc.edu>
> Sent: Monday, November 15, 2010 10:05 AM
> To: <users at geoext.org>
> Subject: Re: [Users] GeoExt Action question
>
>> After more debugging, I've determined the SelectFeature is active. The
>> cause
>> of my issue seems to be caused by having eventListeners for
>> activate/deactivate defined in my the 2 GeoExt.Action objects(one for 
>> zoom
>> in, one for zoom out). My first guess is the eventListeners are
>> interfering
>> with the click handler.
>>
>> Dan
>>
>> -----Original Message-----
>> From: users-bounces at geoext.org [mailto:users-bounces at geoext.org] On 
>> Behalf
>> Of Dan Ramage
>> Sent: Monday, November 15, 2010 9:34 AM
>> To: users at geoext.org
>> Subject: [Users] GeoExt Action question
>>
>> I've got a toolbar with the usual compliment of Zoom/Pan type controls.
>> I've
>> noticed that when I enable one of these controls, my SelectFeature 
>> control
>> for my main vector layer seems to be de-activated. Is this normal
>> behavior?
>> I think I've just noticed this since I've started using vector features
>> and
>> AJAX as opposed to GetFeatureInfo queries.
>>
>>
>> Dan
>>
>> _______________________________________________
>> Users mailing list
>> Users at geoext.org
>> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>>
>> _______________________________________________
>> Users mailing list
>> Users at geoext.org
>> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>>
>
> 


More information about the Users mailing list