Changeset 4476 for MILK


Ignore:
Timestamp:
20/11/08 16:57:16 (11 years ago)
Author:
cbyrom
Message:

Remove the viewItems controller - for visualising WCS/WMS data - and remove associated code.

Location:
MILK/trunk/milk_server/milk_server
Files:
1 deleted
4 edited

Legend:

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

    r4467 r4476  
    4444    map.connect('retrieve/:uri', controller = 'retrieve') 
    4545    map.connect('selectedItems',controller='selectedItems',action='index') 
    46     map.connect('viewItems',controller='viewItems',action='index') 
    47     map.connect('removeViewItem',controller='viewItems',action='index') 
    4846    map.connect('addSelectedItem/:entryid/:divid', 
    4947                controller='selectedItems',action='addSelectedItem') 
  • MILK/trunk/milk_server/milk_server/controllers/discovery.py

    r4468 r4476  
    55from paste.request import parse_querystring 
    66from milk_server.lib.Date import * 
    7 from milk_server.templates import DiscoveryTemplate 
    87from ndgUtils import ndgSearch 
    98from ndgUtils import DocumentRetrieve 
     
    341340        return constraints(dateRange=dateRange,bbox=bbox,scope=scope,searchString=searchString,geoSearchType=geoSearch) 
    342341         
    343     #def oneLineSearch(self): 
    344     #    try: 
    345     #        discoveryURL=self.cf.get('SEARCH','discoveryURL') 
    346     #        oneLiner=DiscoveryTemplate.oneLiner 
    347     #    except: 
    348     #        return 'Error, invalid configuration for search interface' 
    349     #    return DiscoveryTemplate.searchTextOneLine%locals()   
    350      
     342 
    351343    def semantic(self): 
    352344        self.__setup() 
  • MILK/trunk/milk_server/milk_server/controllers/selectedItems.py

    r4468 r4476  
    1414from paste.request import parse_querystring 
    1515from milk_server.models import selectedItem 
    16 from milk_server.lib.wmc_util import * 
    17 from milk_server.controllers import viewItems 
    1816import copy 
    1917import urllib 
     
    2826        Default controller method to handle the initial requests to the page 
    2927        """ 
     28        import pdb 
     29        pdb.set_trace() 
    3030        # Get the inputs passed via the URL 
    3131        self.inputs=dict(parse_querystring(request.environ)) 
  • MILK/trunk/milk_server/milk_server/lib/base.py

    r4469 r4476  
    6262        if 'lastViewed' in session: c.pageTabs.append(('Details',session['lastViewed'])) 
    6363         
    64         if 'viewItems' in session: c.pageTabs.append(('View', h.url_for(controller='viewItems',action='index'))) 
    65          
    6664        return _BaseController.__call__(self, environ, start_response) 
    6765 
Note: See TracChangeset for help on using the changeset viewer.