How to get URI of created mail list ?
var rdfContacts = gRdfSvc.GetResource(gUri);
alert ("rdfContacts: [nsIAddrDatabase]" + rdfContacts);
gSelectedAddressBook =
rdfContacts.QueryInterface(Components.interfaces.nsIAbDirectory);
var mailList =
Components.classes["@mozilla.org/rdf/resource-factory;1?name=moz-abmdbdirectory"].createInstance().QueryInterface(Components.interfaces.nsIAbDirectory);
mailList.dirName = directoryName;
mailList.listNickName = directoryName;
mailList.description = directoryName;
mailList.isMailList = true;
//mailList.URI = "WABCW";
//Add mail list..
gSelectedAddressBook.addMailList( mailList );
this instance mailList hasn't implemented nsIRDFResource... i can't
retrive mailList.Value..
Honza T_
--
|-| () |\| 7_ /-\ T.
ICQ: 134810196
MSN: [EMAIL PROTECTED]
mail: [EMAIL PROTECTED]
mail: [EMAIL PROTECTED]
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom