The <startup-script> element is used to specify one or more scripts
that will execute during the IMF startup process after all normal startup
routines, but before the map frames are displayed. If more than one startup
script is defined, the scripts will be executed in the order that they appear in
the site configuration file.
Note that if your startup scripts are dynamic and require parameters, imf.jsp
can now be called with arbitrary parameters that can be referenced as
Config properties, or properties can be set in the site configuration
XML file along with the startup scripts.
| Frequency |
Parent Elements (this element is valid within): |
|
PO+ |
<SITE-CONFIG> |
| |
|
|
|
Attributes |
Description |
|
type |
The find location type text that will appear on the Find Location page. Required.
|
|
file |
The script name to execute. Must be in the IMF installation directory or a
subdirectory of the IMF installation directory. File references are relative to
the IMF installation directory. Required.
|
| |
|
|
| Frequency |
Description (in this context) |
|
PO+ |
The <STARTUP-SCRIPT> element is optional and may appear many times
within the <SITE-CONFIG> element. |
| |
|
|
Example:
<startup-script file="startup1.jsp"/>
<startup-script file="ext/moxi/startup2.jsp"/>;