[mapserver-users] Rosa and javascript

Hankley, Chip Chip.Hankley at GASAI.Com
Thu Jun 13 10:40:15 EDT 2002


Guillaume -

There should be some documentation on the ROSA applet that came with the
distribution, otherwise go to:

http://www2.dmsolutions.ca/webtools/rosa/rosa_params.html

The applet is not "doing" anything per se, except providing a convenient way
to pass information to the form. For instance, the applet does not handle
the zoom functionality for a MapServer or MapScript application... you have
to do that elsewhere. I've put an explanation on what each of these does
below. 
    
<PARAM NAME="TB_BUT_print_IMG" VALUE="../MapSymbols/PrintOff.gif"> 
  - specifies the OFF image

<PARAM NAME="TB_BUT_print_IMG_PR" VALUE="../MapSymbols/PrintOff.gif"> 
  - specifies the image to show when PRESSED

<PARAM NAME="TB_BUT_print_HINT" VALUE="Print this Image"> 
  - optional, displays a hint on mouseover

<PARAM NAME="TB_BUT_print_INPUT" VALUE="submit"> 
  - what to do when the user clicks on the button

<PARAM NAME="TB_BUT_print_NAME" VALUE="CMD"> 
  - the form variable associated with this button

<PARAM NAME="TB_BUT_print_VALUE" VALUE="PRINT"> 
  - the value to apply to the form variable

<PARAM NAME="TB_BUT_print_JSACTION" VALUE="fnxPrint()"> 
  - optional, the JS function to call when clicked

Note that your not seeing the full applet here... you might want to go to
the URL that I sent you before, and "view source" to see the whole thing. Or
go the the GMAP demo and do it there. Then you can see all of the pieces.

Chip

-----Original Message-----
From: Guillaume Sueur [mailto:guillaume.sueur at khi2.fr]
Sent: Thursday, June 13, 2002 9:13 AM
To: Hankley, Chip
Subject: Re: [mapserver-users] Rosa and javascript


Thanks to everybody for those precisions. Do the value and name parameters
useful here, or are they only used to disconnect other functions like zoom
in ?

Guillaume




More information about the mapserver-users mailing list