diff zpt/KML_schema_table.zpt @ 273:d1b43624cc63

some hacks to make the european4D connection work
author dwinter
date Thu, 23 Feb 2012 11:44:38 +0100
parents 52b1247140b7
children 4ade9b80b563
line wrap: on
line diff
--- a/zpt/KML_schema_table.zpt	Fri Jan 27 20:02:41 2012 +0100
+++ b/zpt/KML_schema_table.zpt	Thu Feb 23 11:44:38 2012 +0100
@@ -3,8 +3,14 @@
   tal:define="gisIdField python:request.get('gis_id_field',None); colorField python:request.get('color_field','red');
   latField python:request.get('lat_field',None); lonField python:request.get('lon_field',None); geomField python:request.get('geometry_field','point');
   sortBy python:request.get('sort_field',1); ids python:request.get('id');
+  from_year_name python:request.get('from_year_name','from_year');
+  until_year_name python:request.get('until_year_name','until_year');
   schema options/schema; table options/table; 
-  data python:here.getKmlData(schema=schema,table=table,sortBy=sortBy,ids=ids,gisIdField=gisIdField,latField=latField,lonField=lonField,geomField=geomField,colorField=colorField ); 
+  data python:here.getKmlData(schema=schema,table=table,
+  sortBy=sortBy,ids=ids,gisIdField=gisIdField,
+  latField=latField,lonField=lonField,
+  geomField=geomField,colorField=colorField,
+  from_year_name=from_year_name,until_year_name=until_year_name ); 
   withLine python:request.get('connect_line',None);">
   <Document>
     <Style id="marker_icon_red">