How to search Address Book Search by other fields?

Are there any ways to customize the address book search such that it searches by mail attribute instead of the default cn attribute?Would appreciate any help or possibly pointers.Thanks!
[221 byte] By [singchyun] at [2007-11-26 12:01:03]
# 1
How good a javascript programmer are you? Have you had a look at the Communication Express Customization Guide? http://docs.sun.com/app/docs/doc/819-2662
jay_plesset at 2007-7-7 12:24:19 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2

I've scanned through the Communication Express Customization Guide, which didn't provide any clues.

After much tracing of codes, I finally found the place to change in /var/opt/SUNWuwc/absjs/search.js:

function setFilter(searchString, type) {

if ((searchString == null) || (searchString.length <= 0)) return;

//var filter = "entry/displayname=";

var filter = "email="; // - to search by email instead.

....

The mapping of the Javascript filter names to actual LDAP attribute names is specified in /var/opt/SUNWuwc/WEB-INF/config/corp-dir/xlate-inetorgperson.xml and xlate-groupofuniquenames.xml.

singchyun at 2007-7-7 12:24:19 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...