Sun Java System Communications Express 6.3 Customization Guide

Modifying the Message Composition Window

To modify the Message Composition window, edit the rtfeditor.html file.

Functionally, rtfeditor.html is called by comp_fs_lr.html. This function assembles the code and assigns the functions to the graphics by calling WMtoolbar() in main.js that also handles colors and text-only versions. The rtfeditor.html file generates the “To”, “Cc”, and “Bcc” control area by calling the i18n_compose_controls() in <lang>/i18n.js.

Example 5–6 shows the necessary changes to be made in the file en/i18n.js for changing the text “Recipients” to “Send to”.

Example 5–6 Altering Composition Window Text (en/i18n.js)

// Message Composition
i18n[’recipient’] = ’ Send To