<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2658.24">
<TITLE>RE: [Chameleon] Chameleon automatically toggeling layers on</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Microsoft has a script debugger as well which is useful for this kind of thing:</FONT>
</P>

<P><FONT SIZE=2><A HREF="http://www.microsoft.com/downloads/details.aspx?FamilyID=2f465be0-94fd-4569-b3c4-dffdf19ccd99&DisplayLang=en" TARGET="_blank">http://www.microsoft.com/downloads/details.aspx?FamilyID=2f465be0-94fd-4569-b3c4-dffdf19ccd99&DisplayLang=en</A></FONT>
</P>

<P><FONT SIZE=2>Best regards,</FONT>
<BR><FONT SIZE=2>Bart</FONT>
</P>

<P><FONT SIZE=2>-----Oorspronkelijk bericht-----</FONT>
<BR><FONT SIZE=2>Van: chameleon-bounces@lists.maptools.org</FONT>
<BR><FONT SIZE=2>[<A HREF="mailto:chameleon-bounces@lists.maptools.org">mailto:chameleon-bounces@lists.maptools.org</A>]Namens Erik Baluba</FONT>
<BR><FONT SIZE=2>Verzonden: dinsdag 13 juni 2006 1:11</FONT>
<BR><FONT SIZE=2>Aan: chameleon@lists.maptools.org</FONT>
<BR><FONT SIZE=2>Onderwerp: Re: [Chameleon] Chameleon automatically toggeling layers on</FONT>
</P>
<BR>

<P><FONT SIZE=2>Hi,</FONT>
</P>

<P><FONT SIZE=2>&gt; Is your browser POSTing form variables when you hit the refresh button? It</FONT>
<BR><FONT SIZE=2>&gt; should pop up a confirm dialog box. If not, or if you are pressing the go</FONT>
<BR><FONT SIZE=2>&gt; button next to the address bar, chameleon thinks you're loading for the </FONT>
<BR><FONT SIZE=2>&gt; first</FONT>
<BR><FONT SIZE=2>&gt; time and starts in its initial state.</FONT>
</P>

<P><FONT SIZE=2>I am not sure but it seems it's not reposting.&nbsp; When I toggle layers on/off </FONT>
<BR><FONT SIZE=2>and press the Update button there seems to be a javascript error, because IE </FONT>
<BR><FONT SIZE=2>shows a small warning icon in the lower left. Clicking on it reveals an </FONT>
<BR><FONT SIZE=2>error in Line 518, a null object. I viewed the source of the page but on </FONT>
<BR><FONT SIZE=2>that line number there is nothing.</FONT>
<BR><FONT SIZE=2>I am aware of the difficulties of debugging java script problems. I was </FONT>
<BR><FONT SIZE=2>going to try using opera istead since it has a JavaScript console, but </FONT>
<BR><FONT SIZE=2>Chameleon works poorly with opera because som DOM collections doesn't exist </FONT>
<BR><FONT SIZE=2>on opera. The JSAPI examples doesn't work at all on Opera because of this.</FONT>
</P>

<P><FONT SIZE=2>In general it's hard to track down bugs and problems in a chameleon. I would </FONT>
<BR><FONT SIZE=2>appreciate any hints for general problem solving in this environment. All </FONT>
<BR><FONT SIZE=2>the widget stuff and JS snippets being deployed makes it easy to loose </FONT>
<BR><FONT SIZE=2>control.</FONT>
<BR><FONT SIZE=2>I think I will just have to start over with a fresh chameleon sample, and </FONT>
<BR><FONT SIZE=2>add piece by piece until I hit the wall again, to isolate the problem.</FONT>
<BR><FONT SIZE=2>Perhaps I also should download mozilla since I hear it has better facilities </FONT>
<BR><FONT SIZE=2>for debugging JS problems.</FONT>
</P>

<P><FONT SIZE=2>cheers,</FONT>
<BR><FONT SIZE=2>&nbsp; erik</FONT>
</P>

<P><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>Chameleon mailing list</FONT>
<BR><FONT SIZE=2>Chameleon@lists.maptools.org</FONT>
<BR><FONT SIZE=2><A HREF="http://lists.maptools.org/mailman/listinfo/chameleon" TARGET="_blank">http://lists.maptools.org/mailman/listinfo/chameleon</A></FONT>
</P>

<BR>


Disclaimer
************************************************************************
Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is
uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis
hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te 
informeren. Wij adviseren u om bij twijfel over de juistheid of de 
volledigheid van de mail contact met afzender op te nemen.

This message shall not constitute any rights or obligations.
This message is intended solely for the addressee.
If you have received this message in error, please delete it and
notify the sender immediately. When in doubt whether this message
is correct or complete, please contact the sender.
************************************************************************

<BR>
</BODY>
</HTML>