Changeset 4803


Ignore:
Timestamp:
13/01/09 15:26:42 (11 years ago)
Author:
cbyrom
Message:

A few small fixes to support usage of ndgCommon.

Location:
MILK/trunk/milk_server/milk_server
Files:
3 edited

Legend:

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

    r4723 r4803  
    3434                controller = 'atom_editor/listatom', action='list', searchData='', \ 
    3535                associatedAtomID='', associatedAtomType='', associationType='') 
    36     map.connect('view', 'viewAssociatedData/:type/:uri', controller = 'browse/retrieve', action='viewAssociatedData') 
     36    map.connect('viewAssociatedData', 'viewAssociatedData/:type/:uri', controller = 'browse/retrieve', action='viewAssociatedData') 
    3737 
    3838    # routing for the browse/discovery server 
  • MILK/trunk/milk_server/milk_server/controllers/atom_editor/editatom.py

    r4798 r4803  
    251251        c.saveLink = h.url_for('save', saveLevel = self.STANDARD_SAVE, uri = c.atom.ndgURI) 
    252252        c.saveAssoc = h.url_for('save', saveLevel = self.REMOVE_ASSOCIATIONS, uri = c.atom.ndgURI) 
    253         c.deploymentsURL = h.url_for('view', type = VTD.DEPLOYMENT_TERM, \ 
     253        c.deploymentsURL = h.url_for('viewAssociatedData', type = VTD.DEPLOYMENT_TERM, \ 
    254254                                     uri = c.atom.ndgURI) 
    255         c.dataEntitiesURL = h.url_for('view', type = VTD.DE_TERM, \ 
     255        c.dataEntitiesURL = h.url_for('viewAssociatedData', type = VTD.DE_TERM, \ 
    256256                                     uri = c.atom.ndgURI) 
    257257         
  • MILK/trunk/milk_server/milk_server/controllers/browse/retrieve.py

    r4798 r4803  
    1111from ndg.common.src.models.Atom import Atom 
    1212from ndg.common.src.models.vocabtermdata import VocabTermData as VTD 
    13 from ndg.common.src.dal import DocumentRetrieve 
     13from ndg.common.src.dal.DocumentRetrieve import DocumentRetrieve 
    1414 
    1515class RetrieveController(BaseController): 
Note: See TracChangeset for help on using the changeset viewer.