[Chameleon] Chameleon automatically toggeling layers on

Eijnden, B. van den (Bart) b.vdeijnden at agi.rws.minvenw.nl
Tue Jun 13 01:48:14 EDT 2006


Microsoft has a script debugger as well which is useful for this kind of
thing:

http://www.microsoft.com/downloads/details.aspx?FamilyID=2f465be0-94fd-4569-
b3c4-dffdf19ccd99&DisplayLang=en

Best regards,
Bart

-----Oorspronkelijk bericht-----
Van: chameleon-bounces at lists.maptools.org
[mailto:chameleon-bounces at lists.maptools.org]Namens Erik Baluba
Verzonden: dinsdag 13 juni 2006 1:11
Aan: chameleon at lists.maptools.org
Onderwerp: Re: [Chameleon] Chameleon automatically toggeling layers on


Hi,

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

I am not sure but it seems it's not reposting.  When I toggle layers on/off 
and press the Update button there seems to be a javascript error, because IE

shows a small warning icon in the lower left. Clicking on it reveals an 
error in Line 518, a null object. I viewed the source of the page but on 
that line number there is nothing.
I am aware of the difficulties of debugging java script problems. I was 
going to try using opera istead since it has a JavaScript console, but 
Chameleon works poorly with opera because som DOM collections doesn't exist 
on opera. The JSAPI examples doesn't work at all on Opera because of this.

In general it's hard to track down bugs and problems in a chameleon. I would

appreciate any hints for general problem solving in this environment. All 
the widget stuff and JS snippets being deployed makes it easy to loose 
control.
I think I will just have to start over with a fresh chameleon sample, and 
add piece by piece until I hit the wall again, to isolate the problem.
Perhaps I also should download mozilla since I hear it has better facilities

for debugging JS problems.

cheers,
  erik

_______________________________________________
Chameleon mailing list
Chameleon at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/chameleon



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.
************************************************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20060613/fbe2a4b7/attachment.html


More information about the Chameleon mailing list