morphis logo morphis | wax   
wax manual
wax manual
 

Overview

Architecture

Structure
   Documents
   Navigation
   Forms
   Animation

Devices
   device.xml

DIS
   wax syntax
   text selection
   image selection
   text and image xml

Application
   Configuration
   Servlet
   Filters

Configuration: WAX Properties

WAX may be configured by modifying its property file wax.properties. This file follows the general appname.properties file format discussed in Morphis Manual, with a few notable additions.

WAX Properties
These properties are kept in the config/wax.properties file.

Name Default Value Parameter Value Description
jsppath /jsp Directory where jsp files are kept relative to the MORPHIS_HOME directory.
waxpath /wax Directory where wax files are kept relative to the MORPHIS_HOME directory.
loglevel info

Determines the amount of logging. Values can be:

  • silent: no logging at all
  • error: only error messages are logged
  • warning: warning and error messages are logged
  • info: informational, warning and error messages are logged
  • debug: debug, informational, warning and error messages are logged
logdates false true if log messages should be stampted with a date/time. Setting to true will decrease performance.
device-stylesheet-dir xsl/wax Directory where wax device stylesheets are kept relative to the MORPHIS_HOME directory.
dumpheaders false If true, servlet request headers are to be sent to the message log.
dumpwax false If true, wax documents are sent to the message log right before they are translated.
dumpdone false If true, translated documents are sent to the message log.
dumpsessioninfo false If true, session information is sent to the message log. Information contains things like if the session is new, stored in a cookie, ...
dumpdeviceinfo true Sends information about the requesting device (id and name) to the message log.
dumpcookies false If true, sends information about all cookies sent by the client browser.
image-dir images Directory where images kept relative to the MORPHIS_HOME directory.
dis-image-url-prefix /images Prefix used by dynamic image selection. This prefix is put in front of the relative path for images obtained in the "image-dir" directory. Therefore, if your images are physically located in "/foo/bar/images/myapp" and are retrieved via the URL "http://yourserver/images/myapp" then image-dir should be "/foo/bar/images" and dis-image-url-prefix should be "/images". Do not include the trailing slash.
image-cache-refresh-seconds 30 Determines how frequently the system will check for new images in the images directory. This is used so the DIS module can accurately find image filenames quickly. Setting to <= 0 will DISABLE the cache refresh
use-servlet-chaining false If set to true, processing instructions will be set as attributes instead of headers. The DispatchChainServlet will take care of passing through the correct headers.
morphis SourceForge Logo