[Cartoweb-users] strange interaction between two plugins

Oliver Christen oliver.christen at camptocamp.com
Tue Apr 10 04:28:37 EDT 2007

Hi Giuseppe,

there is no reason button for plugin 1 have any effect on plugin 2 (and the 
other way around) if the button you have have different name. If they have 
the same name (name="...") then both plugin will react when you press on 
button, resulting in some weird effect.
the session object are separated by plugin, there shouldnt have any mixup at 
that level

by the way, does your plugin  work in ajax mode ? and do you have any 
javascript error or something like that ?


> Hi,
> I wrote a new plugin which performs a complex query into a database. After
> displaying the results in a TxtBox, if I click on a result I get a
> recentering into the map.The plugin works fine, let's call it PlgIn_1
> Then I wrote another plugin which does a similar but non equal job, let's
> call it PlgIn_2.
> Each plugIn is controlled in a different folder which display some text
> fields, the buttons to send the query and a button which resets the 
> results,
> and they display the results in a text box.
> This second one works fine too, but there is a problem:
> If I use the PlgIn_2 and then the PlgIn_1, all seems to be ok, but after
> using the PlgIn_1,
> I can't perform another research by using the the PlgIn_2.The buttons seem
> to be frozen, anf if I try to click on the results, I get no recentering,
> even if the event is performed.
> Now, if I reset the results in the PlgIn_1, then I can use the second 
> plugIn
> as well.
> It seems that the session of the first plugin freezes the second one but 
> not
> viceversa.
> The srtucture of both is the same, Both PlgIn_1 and PlgIn_2 are 
> sessionable.
> I'm using the Cartoweb 3.2 version. The other plugins work fine.
> Any idea ?
> Thanks in advance
> Giu
> --
> Email.it, the professional e-mail, gratis per te: http://www.email.it/f
> Sponsor:
> CipCip Store: distributore ufficiale Airis. Palmari, Navigatori GPS, Home
> Theatre...scopri le nostre offerte
> Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6121&d=20070408
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users

More information about the Cartoweb-users mailing list