Hello,
if "data" is a tuple (or list), how can directly access it's contents using path expressions, like in:
-- script "s": return context.t(data=("one", "two", "three"))
-- template "t" <html><body> <span tal:replace="options/data/0"></span> </body></html>
The above example give out a TypeError for the index... "options/data/0" is not correct. What should i set the path to?
_______________________________________________
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )