[Zope] What's the typical conversion from a TALES expression with spaces to a PythonScript argument?

Ian Bicking ianb at colorstudy.com
Wed Oct 15 13:25:40 EDT 2003


On Wednesday, October 15, 2003, at 10:32 AM, Simon Bayling wrote:
> Hello,
>     How do you convert the spaces in a TALES expression?
>
> e.g.
>
> <td tal:content="repeat_object/person id">placeholder</td>
>
> to
>
> <td
> tal:content="python:container.script_id_converter(repeat_object.??)">pl 
> a
> ceholder</td>

python: container.script_id_converter(repeat_object['person id'])

--
Ian Bicking | ianb at colorstudy.com | http://blog.ianbicking.org




More information about the Zope mailing list