Sun Java System Messenger Express 6 2005Q4 Customization Guide

Modifying the Message List Window

This section describes how to modify the Sun Java System Messenger Express Message List window shown in Modifying the Message List Window.

Figure 3–5 Sun Java System Messenger Express Message List Window

Messenger Express Message List Window.

You can modify the following in the Sun Java System Messenger Express Message List window:

To Modify the Message List Window

To modify the Message List window, edit the appropriate files as follows:

Functionally, listFrameHTML() calls getSortHeader() in mbox_fs.html and assigns column headings with appropriate call to the sorting function sortMsgs() in main.js. The listFrameHTML() function also links the “Collect External Mail” hyperlink to collect() in main.js.

Example—Message List Window Modifications

The example shown in Example—Message List Window Modifications displays the most recently received mails first, and changes the text on “Collect External Mail” button to “Get Messages From Another Server”.

Figure 3–6 Example Message List Window Modifications

Customized Message List Window.

Example—Message List Window Modifications shows the necessary changes to be made in files main.js.


Example 3–5 Altering Message List Window Layout ( main.js)


var defaults = new Array(
.....
’meSortOrder’, ’
               L
               ’,
.....
)


            

Example—Message List Window Modifications shows the necessary changes to be made in file en/i18n.js.


Example 3–6 Altering List Window Text (en/i18n.js)


// POP3 Collection
....
i18n[’collect long’] = ’
               Get Messages From Another Server