Hi Dan,

thanks for the answers Kevin and Dan.
I won't do much work this week, because I'm on a course.

My part in the LDAP address book project is to do the preferences.
I would like to know, how did you think to do the preferences settings
for the autocompletion.
If you want to use the autocompletion, somewhere you have to specify the
Directory Server settings, don't you?
Are you going to do the way as Netscape 4.x has?

I did a short investigation at the beginning about the problem. This is
really a short description. I attach that at the end of my mail.

So it would be really nice to clarify the overlapping tasks
corresponding the preferences work, because there is no point to 
do the same work twice.

Thanks


Csaba




*******************************************************************

LDAP related settings in Netscape 4.7:

In address book :
Add directory menu point -> Dialog is asking for the followings:

  Description   - name appearing in the left pane
  LDAP server   - name of the LDAP directory server
  Server Root   - this is the search base inside the directory tree
  Port number   - LDAP directory server port number
  Max. number of hits   - max number of matches for the query
        
  checkbox for login with name and password - if you tick it, the
        Netscape will drop you out a login name and password dialog
        box before connedcting the directory server

  checkbox for secure mode



Edit menu point -> Preferences -> Mail & Newsgroups -> Addressing

  Look for addresses in the following:
        checkbox for local addressbook
        checkbox for Directory server
        drop down box for selecting from the installed directory servers

  When there are multiple addresses found:
        show me a list of choices and accept what i have typed selective
                radio buttons
        checkbox for the case, if there is one match in autocompletion



*******************************************************************

Classification of the features above:

The whole Addressing section in preferences is related to the
autocompletion.

There are two types of preferences:
 - one is stored in the prefs.js file in the ~/.mozilla/default
directory

 - the other is stored in an other java script file, which is stored
among the installed binary files (I'll call them hidden)

Almost all the autocompletion related settings are stored in the hidden
preferences.
        
There are stored the following settings in the prefs.js file:
  -autocompletion enabled
  -csid (UTF-8)
  -description of the LDAP server
  -filename of the adressbook file
  -max. hits
  -port number of LDAP server
  -position of the addressbook in the adressbook list
  -search base, ie. Server Root
  -LDAP server name



********************************************************************

I suggest to store the following extra preferences:

        - list of secondary ldap server in case of a not responding primary
LDAP server
        

********************************************************************





-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Csaba Borbola,   Sun Microsystems Ireland Ltd.
      Desktop Applications & Middleware Group
             Phone : +353 1 8199283    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to