Christian Biesinger wrote:
Honza T_ wrote:
    alert ( "aBook: "  + aBook );
    alert ( "aBook.dbPath: " + aBook.dbPath );
    alert ( "aBook.newListRow: " + aBook.newListRow );
}

The first alert correctly displays "[nsIAddressBook]" BUT the las two
alert displays "undefined" .. i don't known why.

nsIAddressBook does not have dbPath or newListRow properties.

oh, my mistake ... the first alert shows [xpconnect wrapped nsIAddrDatabase] This int. should have this two properties -- http://www.xulplanet.com/references/xpcomref/ifaces/nsIAddrDatabase.html

its interesting that methods of this instance (getCardCount) work properly.


Also, dev.tech.xpcom isn't the place to ask for how to use a certain interface. Not sure what the right newsgroup is for mailnews questions;

I don't think this is "how to use i-face" question, for me it look s like a JS implementation problem or internal component bug.

I guess there's only mozilla.dev.extensions.

--

|-| () |\| 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

Reply via email to