>> Perhaps re-using and
>>      creating exception codes and mapping these to 
>>      i18n strings for dialogs to use in the address
>>      book?
>
>Sounds good.

        Just come across this bug:

                http://bugzilla.mozilla.org/show_bug.cgi?id=13423
        
        in relation to the nsIErrorService.idl
                
        
>>      Or is there going to be generic listeners on 
>>      ldap sessions/connections which can inform the
>>      user when somthing has gone wrong? so that
>>      specific applications do not need to inform
>>      the user if general ldap operations have failed.
>
>I hope you don't suggest to put up error dialogs from the backend? A few 
>functions in Mailnews do that, and they cause problems when there is no 
>GUI (as in my Mailnews CORBA wrapper). It's a bug.
>

        Gosh no! 
        
        I was wondering if it was possible for the mozilla
        browser to add observers to an ldap 'session manager'
        such that it could listen to specific events like
        errors and thus display generic dialogs (if of course
        the client performing an ldap operation allowed for
        listening to be enabled perhaps?)
        Or maybe have a session manager context so that different
        clients can deal with ldap errors within contexts in a
        more specific manner.
        
        I think it might be easier to extend the address book
        session interface to handle the registration of error
        observers. Thus ensuring scriptablity and GUI independence
        of the address book implemenations.
        
Thanks,
Paul.   
        
| ? + ? = To question
----------------\
   Paul Sandoz
        x19219
+353-1-8199219


Reply via email to