Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Convergence Message View Filtering is busted

807574Mar 1 2009 — edited Feb 10 2020
Message Filtering in convergence for the MailOpenFolder.js widget is broken on the default Mail page.

I believe it has something to do with the way the constants are defined for the SEARCHKEYS functionality.

At any rate to get around it turn on customization extend the Mail service to (I think) define the constants properly:

c11n/allDomain/js/service/Mail.js <listing>:

dojo.provide("c11n.allDomain.js.service.Mail");

dojo.require("iwc.api");
dojo.require("iwc.service.Mail");

dojo.declare("iwc.service.Mail", iwc.service.Mail,
{

_registerOptions: function() {
//I have some other customizations in here, I don't think you have to override anything for constants to be declared

},

last: ""
}
);

iwc.service.Mail.SEARCHBY_BCC = 1;
iwc.service.Mail.SEARCHBY_BODY = 2;
iwc.service.Mail.SEARCHBY_CC = 4;
iwc.service.Mail.SEARCHBY_FROM = 8;
iwc.service.Mail.SEARCHBY_SUBJECT = 16;
iwc.service.Mail.SEARCHBY_TEXT = 32;
iwc.service.Mail.SEARCHBY_TO = 64;

iwc.service.Mail.SEARCHKEYS = {};
iwc.service.Mail.SEARCHKEYS[iwc.service.Mail.SEARCHBY_BCC] = "BCC";
iwc.service.Mail.SEARCHKEYS[iwc.service.Mail.SEARCHBY_BODY] = "BODY";
iwc.service.Mail.SEARCHKEYS[iwc.service.Mail.SEARCHBY_CC] = "CC";
iwc.service.Mail.SEARCHKEYS[iwc.service.Mail.SEARCHBY_FROM] = "FROM";
iwc.service.Mail.SEARCHKEYS[iwc.service.Mail.SEARCHBY_SUBJECT] = "SUBJECT";
iwc.service.Mail.SEARCHKEYS[iwc.service.Mail.SEARCHBY_TEXT] = "TEXT";
iwc.service.Mail.SEARCHKEYS[iwc.service.Mail.SEARCHBY_TO] = "TO";

//eof
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 30 2009
Added on Mar 1 2009
2 comments
76 views