Mercurial > hg > ChinaGisRestApi
diff zpt/JSONHTML_index.zpt @ 45:ed8db63fab4f
more refactoring of templates
author | casties |
---|---|
date | Thu, 02 Sep 2010 17:01:52 +0200 |
parents | 1a4b56716902 |
children | 9ec7e32e8ad3 |
line wrap: on
line diff
--- a/zpt/JSONHTML_index.zpt Thu Sep 02 16:38:50 2010 +0200 +++ b/zpt/JSONHTML_index.zpt Thu Sep 02 17:01:52 2010 +0200 @@ -1,9 +1,10 @@ -<html tal:define="layout python:request.get('layout','pre'); element_id python:request.get('element_id',None)"> +<html tal:define="layout python:request.get('layout','pre'); element_id python:request.get('element_id',None); + data here/getListOfSchemas"> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8"> <title tal:content="template/title">The title</title> </head> <body> - <pre tal:attributes="id element_id" tal:content="python:here.getJsonString(options['data'])"></pre> + <pre tal:attributes="id element_id" tal:content="python:here.getJsonString(data)"></pre> </body> </html> \ No newline at end of file