Sun Java System Messenger Express 6 2005Q4 Customization Guide

Example—Folders Window Modifications

The example shown in Example—Folders Window Modifications moves “Refresh” and “New Message” tools to the end of the toolbar.

Figure 3–21 Example Folders Window Modifications

The Update and Compose tools appear at right the end of the toolbar

Example—Folders Window Modifications shows the changes to be made in the file fldr_fs.html.


Example 3–23 Altering Folders Window Layout


function getToolbar() {
....
main.WMtoolbar(
i18n["new folder"], ’parent.addFolder()’, ’imx/fldr_new.gif"
alt="’ + i18n[’folder new’], 24, 24, true,
i18n[’rename’], ’parent.renFolder()’, ’imx/fldr_edit.gif" alt="’ +
i18n[’folder rename’], 24, 24, true,
....
main.WMtoolbar(
null, null, ’imx/spacer.gif’, 2, 24, false,
i18n[’update’] ? i18n[’update’] : i18n[’get mail’],
’main.refreshFolders()’, ’imx/Update_Folder.gif" alt="’ +
i18n[’folder update’], 24, 24, true,
i18n[’compose’], ’main.compose(”new”)’, ’imx/compose.gif’,
alt="’+ i18n[’msg compose’], 24, 24, true
....
}