Moxi Media Inc.
<gui> Discussion Forum
IMF Developer's Guide » Site Configuration » <gui>  

The <gui> element is used to specify a different script to set up the IMF graphical user interface. As of version 5.0, the page layout routine has been removed from the imf.jsp initialization script. If a different script is not defined, the initialization routine executes imfGuiClassic.jsp, which results in the same common framed graphical user interface that IMF used in the past.

Because the script must access the Java object model, it must be in the $IMF folder, or a sub-folder of it.

Frequency Parent Elements (the <find-location> element is valid within):
POS+ <site-config>
   

Frequency Description (in this context)
POS1 The <gui> element may appear zero or once in the <site-config> element in the specified sequence.
   

Attributes Description
script-file The name of the JSP script to set up the graphical user interface. The file name should be specified with a path relative to the $IMF directory. See examples below. Optional, defaults to imfGuiClassic.jsp.
stule-url The URL of a CSS style sheet used by the GUI script. Note that at present, the style sheet will only be used by the GUI script, not the IMF pages themselves. In a future release, the style sheet specified will apply to all IMF pages. Optional, defaults to "$IMF/imfDefaultStyle.css". The URL can contain the special variable $IMF to specify that the document is relative to the IMF installation directory. Absolute URLs may also be used. URLs that don't start with http: or $IMF are resolved relative to the location of the XML file.
   

Examples:

<gui script-file="ext/common/gui.jsp"/>

<gui script-file="sites/recreation/myGui.jsp"/>

Valid HTML 4.01!