<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16640" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi</FONT></DIV>
<DIV><FONT size=2>if the map is updated it means the image plugin is
triggered.</FONT></DIV>
<DIV><FONT size=2>be sure you are triggering the UpdateMenu
action and not UpdateMap or UpdateAll as these
actions will trigger the image plugin and the map will be
refreshed.</FONT></DIV>
<DIV><FONT size=2>this is handled in ajaxHandleAction in
ClientGeostats.php</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>you can know which plugin is answering your action by looking
at the content of the JSTraceDebugger windows content, for example:</FONT></DIV>
<DIV><FONT size=2>Plugins that gave response: location layers images query
tables layerReorder bboxHistory cartoMessages </FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=casanovas@k2sistemas.com.br
href="mailto:casanovas@k2sistemas.com.br">Albert Casanovas</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, June 23, 2008 9:22 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] Geostat update
menu without updating map</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am working with the cloropleth plugin, I have
not worked a lot with AJAX. At the moment I need to update the interface
SELECTS as a cascade without updating the map until the last SELECT is chosen.
Looking at the following Geostat.ajax.js file seems that updating the
menu updates the Map also.</FONT><FONT face=Arial size=2></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>AjaxPlugins.Geostat.Actions = {};</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>AjaxPlugins.Geostat.Actions.UpdateMenu
=<BR>AjaxPlugins.Geostat.Actions.UpdateMap
=<BR>AjaxPlugins.Geostat.Actions.UpdateAll = {<BR>
buildPostRequest: function(argObject)
{<BR> return
AjaxHandler.buildPostRequest();<BR> },<BR>
onBeforeAjaxCall: function(argObject) {<BR>
},<BR> onAfterAjaxCall: function(argObject)
{<BR> }<BR>}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have done several modifications but the error
stays. Could you please give me an advise or suggestion about how show it
look like if I do want to UpdateMap only with the UpdateAll
option?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Best Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Albert Casanovas</FONT></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>