[Zope] Access to list items with path expression

David H bluepaul at earthlink.net
Wed Apr 11 07:31:39 EDT 2007


Garito wrote:

> Hi!
>
> Is there any way to access to some list index with TALES expression?
>
> I would like to use something like here/list/0 or here/list/int:0
>
> Is this possible?
>
> Thanks!
>
> -- 
> Mis Cosas
> http://blogs.sistes.net/Garito

Hi Garito,

Try something like:  tal:content="python: context.list[0]"  or you can 
always call a python script that returns the desired value.

David H



More information about the Zope mailing list