[Mapserver-users] JBox and Mozilla Firefox

Richard Greenwood rich at greenwoodmap.com
Tue Mar 16 10:02:02 PST 2004


Bonnin S. wrote:

> ok, what parameter did you add?
> (I see that you added drag and other parameters in the applet tag)
> 
> Thanks for your response.

I added:
   <param name="drag" value="[true|false]">
This addresses problem (1) below. When you first define and initialize 
the applet with:
   <applet codebase= code= ...
you can now set the initial mode (boxoff|boxon|dragon). What I had been 
doing was just initializing the applet and then calling boxon(), 
dragon() or whatever. This was okay with most browsers, but not Mozilla 
of Firefox.

Problem (2) below is an acknowledged problem with at least Firefox. The 
Sun JRE 1.4.3 does not entirely work with Mozilla or Firefox on Windows. 
(It does work on Linux, at least in my limited testing on Gentoo). I 
have a pretty good idea for how to over come the problem, but I don't 
want to deal with it if Mozilla is going to fix it anyway. If it it 
important to you, let me know and I will explain it further.

Best regards,
Rich


> ----- Original Message ----- 
> From: "Richard Greenwood" <rich at greenwoodmap.com>
> To: "Bonnin S." <shpr at libero.it>
> Cc: <mapserver-users at lists.gis.umn.edu>
> Sent: Monday, March 08, 2004 3:28 PM
> Subject: Re: [Mapserver-users] JBox and Mozilla Firefox
> 
> 
> 
>>Bonnin S. wrote:
>>
>>>Hi all,
>>>
>>>I'm working around Mapplet/JBox and I'm testing it on some popular
> 
> browser. I have noticed that there are some problem with Mozilla Firefox.
> When I try to do some operations like zoom out the Mozilla java environment
> hangs and no other operations are possible.
> 
>>>At the following address there is a mapserver/Jbox application where I
> 
> found the error:
> 
> http://www2.tetonwyo.org/mapserver/mapserv.exe?MAP_IMAGETYPE=gif&MAP_LEGEND_STATUS=OFF&MAP_REFERENCE_STATUS=ON&java=on&imgext=2402364.115702+1406197.272727+2458002.297520+1447897.272727&map=tc%2Ftc.map&mapext=shapes&mode=browse&zoomsize=2&template=tc.html&layers=Roads+ownership+Water+state_fed&zoomdir=0&imgxy=292.5+40.5&imgbox=292.5+40.5+292.5+40.5&help=&jump=&map_size=440+330
> 
>>>Any suggestion?
>>>Thanks.
>>
>>I have not tried Firefox yet, but there are two problems that I have run
>>into with Mozilla 1.6:
>>
>>1. A call to any of the public applet functions while the applet is
>>still loading will cause it to hang. Mozilla seemed to be the only
>>browser that did this. It was not so much a problem with jBox as it was
>>with my own integration of jBox into the page. I was calling boxon(),
>>boxoff(), or dragon() from page body's onLoad() to set the initial page
>>state. However, I suspect the applet was not always fulling initialized.
>>I added an additional initilization parameter just last week to avoid
>>this problem. When do you try it?
>>
>>2. JRE 1.4.3 on Windows was causing problems. I have not had time to
>>explore that further.
>>
>>What platform are you on? What Java VM version? You might check other
>>jBox sites to see if they exhibit the same problems. I will try to load
>>Firefox sometime soon.
>>
>>Rich
-- 
Richard Greenwood
www.greenwoodmap.com



More information about the MapServer-users mailing list