Changeset 4416 for cows/trunk


Ignore:
Timestamp:
07/11/08 16:04:09 (11 years ago)
Author:
domlowe
Message:

minor changes to wfs templates

Location:
cows/trunk/cows
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cows/trunk/cows/model/storedquery.py

    r4408 r4416  
    2020     
    2121class QueryExpressionText(object): 
    22     def __init__(self, returnFeatureType, language=None, any=None, isPrivate=False): 
    23         self.returnFeatureType=returnFeatureType 
     22    def __init__(self, returnFeatureType, language=None, any=None, isPrivate=True): 
     23        self.returnFeatureType=returnFeatureType         
    2424        self.language=language 
    2525        self.any=any 
  • cows/trunk/cows/pylons/templates/wfs_describestoredqueries.xml

    r4412 r4416  
    66 
    77<DescribeStoredQueriesResponse xmlns:py="http://genshi.edgewall.org/"  xmlns:ows="http://www.opengis.net/ows/1.1" xmlns="http://www.opengis.net/wfs/2.0"  xmlns:gml="http://www.opengis.net/gml">        
    8         <StoredQueryDescription py:for="queryid in c.storedqueries" id="queryOne"> 
     8        <StoredQueryDescription py:for="queryid in c.storedqueries" id="${queryid}"> 
    99                <?python  
    1010                querydesc=c.storedqueries[queryid][0]  
  • cows/trunk/cows/pylons/templates/wfs_liststoredqueries.xml

    r4412 r4416  
    1111                querydesc=c.storedqueries[queryid][0]  
    1212                ?> 
    13           <StoredQuery id="queryid"> 
     13          <StoredQuery id="${queryid}"> 
    1414                          <Title py:content="querydesc.title"/> 
    1515                          <ReturnFeatureType py:content="querydesc.queryExpressionText.returnFeatureType"/>  
Note: See TracChangeset for help on using the changeset viewer.