Ignore:
Timestamp:
30/10/08 16:14:46 (11 years ago)
Author:
domlowe
Message:

More code to support StoredQuery? handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cows/trunk/cows/service/imps/csmlbackend/wfs_csmllayer.py

    r4398 r4400  
    33 
    44""" 
    5  
     5import cows.service.imps.csmlbackend.wfs_csmlstoredqueries as CSMLQueries 
    66from cows.service.imps.csmlbackend.csmlcommon import CSMLLayerMapper, CSMLConnector 
    77from cows.service.wfs_iface import * 
     
    8787    def __init__(self): 
    8888        #self.queries is a dictionary of form: {id:(StoredQuery, func)} 
    89         #where fun is the name of the implementation of the stored query (typically) in wfs_csmlstoredqueries 
     89        #where func is the name of the implementation of the stored query (typically) in wfs_csmlstoredqueries 
    9090        self.queries={} 
    9191        qid='queryOne' 
    9292        query=StoredQuery(qid) 
    93         self.queries[qid]=(query, 'query_one_func') 
     93        self.queries[qid]=(query, CSMLQueries.query_one_func) 
    9494        qid='queryTwo' 
    9595        query=StoredQuery(qid) 
    96         self.queries[qid]=(query, 'query_two_func')       
     96        self.queries[qid]=(query, CSMLQueries.query_two_func)       
    9797         
    9898 
Note: See TracChangeset for help on using the changeset viewer.