Sun Java System Messenger Express 6 2005Q4 Customization Guide

Example—Address (Directory Lookup) Window Modifications

The example shown in Example—Address (Directory Lookup) Window Modifications changes “Search Corporate directory” to “Search the Sun Directory” and adds the LDAP server search “Search Yahoo!” to the search list.

Figure 3–17 Example Address (Directory Lookup) Window Modifications

Altering Address (Directory Lookup) window text

Example—Address (Directory Lookup) Window Modifications shows the necessary changes to be made in en/lookup_fs.html.


Example 3–18 Altering Address Window Text


//Search Control
function s_SearchCtrl() {
....
’<option value="3 200"\>
Search the Sun Java System Directory
</option\>\\n’ +
....

Example—Address (Directory Lookup) Window Modifications shows how to add LDAP server search to the list. The file to edit is en/lookup_fs.html.


Example 3–19 Adding LDAP Server Search


//Search Control
function s_SearchCtrl() {
...
’<option value="2 25 ldap://ldap.yahoo.com/"\>’ +
’Search Yahoo!</option\>\\n’ +
’</select\>\\n’ +
...