Customizing OptionsHistory | Edit
The Oxygen XML Web Author Component functionality that is common with the standalone distribution of Oxygen XML Editor share the same options. This allows you to configure a consistent editing experience for all users.
Author Mode Options
Oxygen XML Web Author Component stores its options in an options.xml file.
If you are using the Oxygen XML SDK project, the file is located in the bundle-options/oxygen-options/ folder and will be bundled with the web application. If you are using one of the installation kits, it is located in the options folder of the Oxygen Data Directory.
There are multiple ways to configure these options:
- Some of the options can be changed using the Administration Page in your web browser.
- Use an options file exported from Oxygen XML Editor standalone application. To
export the file, use the menu action.Note: Archived options are unpackaged to the options folder only if an options.xml file is not already present.
- Manually edit the options file. To learn more about the supported options and the file format, see Oxygen XML Author Options Supported by Web Author.
Oxygen XML Web Author Component specific options
A small number of options are specific only to the Oxygen XML Web Author Component and they can be configured in the WEB-INF/web.xml file. Each option is specified as a context-param element.
| Option name | Value | Default Value | Description |
|---|---|---|---|
| com.oxygenxml.loadBuiltinProtocolHandlers | true/false | True | Controls whether or not the built-in handlers for HTTP/HTTPS and FTP/SFTP protocols are installed. Default value is true. |
| com.oxygenxml.webapp.datastore.docs.memory.size | An integer number | 10,000 | Indicates the number of editing sessions stored in memory. |
| com.oxygenxml.webapp.datastore.docs.memory.expire | Duration (*) | 2d | Indicates the delay after which inactive sessions are stored on disk. |
| com.oxygenxml.webapp.datastore.docs.disk.size | An integer number | 1,000,000 | Indicates the number of inactive editing sessions that can be stored on disk. |
| com.oxygenxml.webapp.datastore.docs.disk.expire | Duration (*) | 30d | Indicates the delay after which inactive sessions are discarded. |
| com.oxygenxml.validation.threads.no | An integer number | Half the number of cores on the server | Configures the number of validation threads. |
(*) - Duration is represented by an integer, followed by one of "d", "h", "m", or "s", representing days, hours, minutes, or seconds, respectively.
Example:
<context-param> <param-name>com.oxygenxml.loadBuiltinProtocolHandlers</param-name> <param-value>false</param-value> </context-param>