[mapserver-users] mapplet boxoff()
Stuart.Row at brs.gov.au
Stuart.Row at brs.gov.au
Tue Sep 4 16:41:15 PDT 2001
Richard,
If you have a look in mapplet.java you will notice that the boxoff function includes a call to 'repaint();' whereas boxon does not. I don't understand why and personally would be happier if it wasn't there, but that is the reason you get the endless loop.
I have removed any calls to boxon and boxoff for this reason. A shame as it is a really useful function.
Cheers,
Stuart Row
Bureau of Rural Sciences
Tel: +61 2 6272 4640 Email: stuart.row at brs.gov.au
Fax: +61 2 6272 4687 Web: http://www.affa.gov.au
-----Original Message-----
From: Richard Greenwood [mailto:Rich at GreenwoodMap.com]
Sent: Tuesday, September 04, 2001 9:25 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [mapserver-users] mapplet boxoff()
Hello Mappers;
I'm having trouble with the Java mapplet boxoff() function. If I go
document.mapplet.boxoff();
I end up in an endless loop in which the form keeps getting submitted to
the server. boxon() seems to work fine for me.
A simple example of boxoff() would be greatly appreciated even if you
can't
directly answer my question.
Thanks,
Rich
Richard W. Greenwood, PLS
Greenwood Mapping, Inc.
Rich at GreenwoodMap.com
(307) 733-0203
http://www.GreenwoodMap.com
More information about the MapServer-users
mailing list