Access to list items with path expression
10 Apr
2007
10 Apr
'07
4:11 p.m.
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
11 Apr
11 Apr
11:31 a.m.
New subject: [Zope] Access to list items with path expression
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
6934
Age (days ago)
6935
Last active (days ago)
1 comments
2 participants
participants (2)
-
David H -
Garito