Phil Hühn wrote:
Can I get some help? I'm doing file (web page) processing - I create an object which needs to validate the page URL (as is done for 'save page as'). So this object implements component:
@mozilla.org/network/urichecker;1

So your object registers itself for this contract, overriding the Mozilla urichecker?


However if I create a second object (same type of class, i.e validate page URL and setup callback) then the first callback doesn't get called.

Does this second object _also_ register itself for the same contract?


You can only have one class registered for a particular contractid; if another one is registered, it takes over the handling of the contractid.

-Boris
_______________________________________________
Mozilla-netlib mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-netlib

Reply via email to