<!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.16608" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Oliver,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Sorry but what is the <FONT 
face="Times New Roman">JSTraceDebugger ? and how can I activate it? I didnīt 
find it in the documentation.</FONT></FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Thanks a lot,</FONT></DIV>
<DIV><FONT size=2>Albert</FONT></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr 
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=oliver.christen@camptocamp.com 
  href="mailto:oliver.christen@camptocamp.com">Oliver Christen</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=casanovas@k2sistemas.com.br 
  href="mailto:casanovas@k2sistemas.com.br">Albert Casanovas</A> ; <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> Wednesday, June 25, 2008 3:16 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Cartoweb-users] Geostat 
  update menu without updating map</DIV>
  <DIV><BR></DIV>
  <DIV><FONT size=2>Hi</FONT></DIV>
  <DIV><FONT size=2>somehow the images coreplugin is activated</FONT></DIV>
  <DIV><FONT size=2>clear the JSTraceDebugger windows and trigger the UpdateMenu 
  command via the select, then copy the content of the JSTraceDebugger windows 
  and show me that.</FONT></DIV>
  <DIV><FONT size=2></FONT>&nbsp;</DIV>
  <DIV><FONT size=2>regards</FONT></DIV>
  <DIV><FONT size=2>Oliver</FONT></DIV>
  <BLOCKQUOTE dir=ltr 
  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=oliver.christen@camptocamp.com 
    href="mailto:oliver.christen@camptocamp.com">Oliver Christen</A> ; <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> Tuesday, June 24, 2008 5:32 
    PM</DIV>
    <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Cartoweb-users] Geostat 
    update menu without updating map</DIV>
    <DIV><BR></DIV>
    <DIV><FONT face=Arial size=2>Hi Oliver,</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Yes Iīm triggering the UpdateMenu in this 
    select:</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>&lt;select name="geostatChoroplethLayer" 
    <BR>&nbsp;&nbsp;&nbsp; 
    onchange="javascript:CartoWeb.trigger('Geostat.<STRONG>UpdateMenu'</STRONG>, 
    'doSubmit()');"&gt;<BR>&lt;option value="def"&gt;{t}Select geographic 
    entities...{/t}&lt;/option&gt;<BR>{html_options 
    values=$geostatChoroplethLayersId <BR>output=$geostatChoroplethLayersDesc 
    selected=$geostatChoroplethLayerSelected }<BR>&lt;/select&gt;</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>The thing is that when a value is chosen and 
    the UpdateMenu submited, I can see through the log file that it executes the 
    methods handlePreDrawing and drawChoropleth which is supposed not to do, am 
    I right?</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
    <DIV><FONT face=Arial size=2>Albert</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <BLOCKQUOTE dir=ltr 
    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=oliver.christen@camptocamp.com 
      href="mailto:oliver.christen@camptocamp.com">Oliver Christen</A> </DIV>
      <DIV style="FONT: 10pt arial"><B>To:</B> <A 
      title=casanovas@k2sistemas.com.br 
      href="mailto:casanovas@k2sistemas.com.br">Albert Casanovas</A> ; <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> Tuesday, June 24, 2008 3:06 
      AM</DIV>
      <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Cartoweb-users] Geostat 
      update menu without updating map</DIV>
      <DIV><BR></DIV>
      <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&nbsp;you&nbsp;are triggering the UpdateMenu 
      action&nbsp;and not&nbsp;&nbsp;UpdateMap&nbsp;or UpdateAll&nbsp;as these 
      actions&nbsp;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>&nbsp;</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>&nbsp;</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>&nbsp;</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&nbsp;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>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>AjaxPlugins.Geostat.Actions = 
        {};</FONT></DIV>
        <DIV>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>AjaxPlugins.Geostat.Actions.UpdateMenu 
        =<BR>AjaxPlugins.Geostat.Actions.UpdateMap 
        =<BR>AjaxPlugins.Geostat.Actions.UpdateAll = {<BR>&nbsp;&nbsp;&nbsp; 
        buildPostRequest: function(argObject) 
        {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return 
        AjaxHandler.buildPostRequest();<BR>&nbsp;&nbsp;&nbsp; 
        },<BR>&nbsp;&nbsp;&nbsp; onBeforeAjaxCall: function(argObject) 
        {<BR>&nbsp;&nbsp;&nbsp; },<BR>&nbsp;&nbsp;&nbsp; onAfterAjaxCall: 
        function(argObject) {<BR>&nbsp;&nbsp;&nbsp; }<BR>}</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>I have done several modifications but the 
        error stays. Could you please give&nbsp;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>&nbsp;</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></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>