[Cartoweb-users] strange interaction between two plugins
oliver.christen at camptocamp.com
Tue Apr 10 04:28:37 EDT 2007
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
by the way, does your plugin work in ajax mode ? and do you have any
> 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
> 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
> as well.
> It seems that the session of the first plugin freezes the second one but
> The srtucture of both is the same, Both PlgIn_1 and PlgIn_2 are
> I'm using the Cartoweb 3.2 version. The other plugins work fine.
> Any idea ?
> Thanks in advance
> Email.it, the professional e-mail, gratis per te: http://www.email.it/f
> 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
More information about the Cartoweb-users