view zpt/XML_schema_table.zpt @ 22:7ee835840724 default tip

fix problem with config page when autocommit is not defined.
author casties
date Wed, 24 Apr 2013 20:49:42 +0200
parents 09361041be51
children
line wrap: on
line source

<?xml version="1.0" encoding="utf-8"?>
<table xmlns:tal="http://xml.zope.org/namespaces/tal" 
  tal:define="schema options/schema; table options/table; data python:here.getTable(schema=schema,table=table);
    fields data/fields" tal:attributes="name table">
  <row tal:repeat="row data/rows">
	<column tal:repeat="col row" tal:content="python:col" tal:attributes="name python:fields[repeat['col'].index][0]"/>
  </row>
</table>