Ignore:
Timestamp:
20/04/09 09:36:43 (11 years ago)
Author:
cbyrom
Message:

Add functionality to allow vocab term searches to be done via an
ajax enabled, autocomplete text input. Add new controller and template
packages for this as well as javascript and style sheets. Also update
routing and add (commented out) example of usage in layout + add
documentation on how to use.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MILK/trunk/milk_server/milk_server/config/milkMiddleware.py

    r5198 r5201  
    55from ndg.common.src.models.myconfig import myConfig 
    66from ndg.common.src.lib.atomvalidator import AtomValidator 
     7from ndg.common.src.clients.http.vocabserverclient import VocabServerClient 
    78import milk_server.lib.helpers as h 
    89 
     
    8384                                               isDebug = self.globals.debugModeOn, 
    8485                                               loadAllCollections = False) 
     86 
     87        # initialise client to vocab server - to do vocab term searches 
     88        self.globals.vocabServerClient = VocabServerClient(proxyServer = self.globals.proxyServer) 
    8589 
    8690        # initialise collection to store re-usable connections to the eXist DB 
Note: See TracChangeset for help on using the changeset viewer.