TaggerInput: Setup PARAMs for v2.3.

Centre for Computational Geography
University of Leeds

To set up the applet you need the following required PARAM tags.

  • <PARAM name="logScript" value="">

    Script to send data to. The filename should be relative to cgiPath, below.

  • <PARAM name="imageScript" value="">

    Script to send image data to. The filename should be relative to cgiPath, below.

  • <PARAM name="arrayScript" value="">

    Script to send final data to. The filename should be relative to cgiPath, below. This is the final script called, and needs to wipe the applet out and replace it with a webpage.

  • <PARAM name="imageFile" value="">

    The map to show. This filename should be relative to the Applet's directory.

  • <PARAM name="cgiPath" value="">

    The absolute pathname to the cgi-bin your scripts are in. Should end "/".

You may also want the following optional PARAM tags (italics are defaults)...

  • <PARAM name="debugMode" value="false">

    If set to 'true', shows useful messages etc in the Java Console.

  • <PARAM name="passThrough" value="">

    Information generated elsewhere you want attaching to user data, for example, this could be generated by a perl script that alters this PARAM on the basis of a user profile. The java code produces pipe separated logfiles "|" so don't use the pipe symbol as a delimiter in this text.

  • <PARAM name="nextPage" value="">

    This is the html page you want the applet to change to when the user is done. If this is not set, you must get the arrayScript to do the replacement. If you leave the applet on the screen it is possible the user will push the submit button twice.

  • <PARAM name="clearButtonText" value=" Clear ">

    Text for button to clear map and text.

  • <PARAM name="helpButtonText" value=" Help ">

    Button to open up a help webpage in their browser.

  • <PARAM name="helpFile" value="">

    HTML file containing help. By default there is no help button unless this is present. The filename should be relative to the directory the Applet is in.

  • <PARAM name="helpTarget" value="_new">

    The frame to send the helpFile to. If missing will open up a browser window called _new.

  • <PARAM name="newAreaButtonText" value=" New Area ">

    Text for button if the user wants to submit more than one area. If this PARAM is not present, the submit button will act to submit only one area and the arrayScript should return a new webpage.

  • <PARAM name="submitButtonText" value=" Send Everything ">

    Text for button to submit a spray.

  • <PARAM name="titleLabelText" value="Tagger Map Marker">

    Title text.

  • <PARAM name="commentsLabelText" value="Please write your comments below">

    Text explaining that comments should be typed in the text box.

  • <PARAM name="foreground" value="#000000">

    Web hexidecimal colour for text etc. Must start #.

  • <PARAM name="background" value="#ffffff">

    Web hexidecimal colour for applet background etc. Must start #. Where map/image is set to transparent, this will shine through on some systems. The textbox will be slightly darker or lighter depending on colour, unless the background is set to white, in which case so is the textbox.

  • <PARAM name="sprayColor" value="#0000ff">

    Web hexidecimal colour for spraycan spray. Must start #.

  • <PARAM name="controlColor" value="#ffffff">

    Colour for the background of the buttons etc. Must start #.

  • <PARAM name="processingLabelText" value="PROCESSING Data...Please wait ">

    The label shown when processing is being done. Will be followed by an numerical indiction of how far the progress has gone.

  • <PARAM name="sendingLabelText" value="SENDING DATA...Please wait ">

    The label shown when data sending is being done. Will be followed by an numerical indiction of how much sending has been done.

  • <PARAM name="smallSize" value="">

    Small size of spray in pixels. Default if all sizes are missing is 10 pixels. When two or more sizes are available, checkboxes will appear giving the user a choice.

  • <PARAM name="mediumSize" value="">

    Medium size of spray in pixels. Default if all sizes are missing is 10 pixels. When two or more sizes are available, checkboxes will appear giving the user a choice.

  • <PARAM name="largeSize" value="">

    Large size of spray in pixels. Default if all sizes are missing is 10 pixels. When two or more sizes are available, checkboxes will appear giving the user a choice.

  • <PARAM name="smallCheckboxText" value="Small">

    Text for a checkbox that changes the spray size.

  • <PARAM name="mediumCheckboxText" value="Medium">

    Text for a checkbox that changes the spray size.

  • <PARAM name="largeCheckboxText" value="Large">

    Text for a checkbox that changes the spray size.

  • <PARAM name="spraySizeLabelText" value="Spray size">

    Text explaining the checkboxes above. Only appears if they do.

  • <PARAM name="noCommentText" value="No Comment.">

    Text that is used when the user hasn't added a comment. This reverts to the default above if spaces are used or the PARAM is missing.

[How to setup/use this applet]

[CCG homepage] [School of Geography homepage]