[Zope] Dictionary in ZPT
Alan
alanwilter at gmail.com
Tue Sep 12 09:16:23 EDT 2006
Dears,
I am looking for help.
I want to pass, when submitting a FORM from a page template, dictionary.
I started with that:
tal:define="global count python: 0; global data python: {}"
...
and I would like to do something like:
tal:define="global data['jname'] python: jname"
or
tal:define="global null python: data['jname']=jname"
But I get only error.
Is there a way of creating and increasing a dict inside Zope template page?
Many thanks in advance.
Cheers,
Alan
--
Alan Wilter S. da Silva, D.Sc. - Research Associate
Department of Biochemistry, University of Cambridge.
80 Tennis Court Road, Cambridge CB2 1GA, UK.
>>http://www.bio.cam.ac.uk/~awd28<<
More information about the Zope
mailing list