[ZPT] [req] Path traversal & callable objects

Tim Moore tmoore@tembel.org
09 May 2001 18:32:25 +0000


This works:

tal:replace="python:here.someScriptReturningObject().someObjectMethod()"

This doesn't:

tal:replace="here/someScriptReturningObject/someObjectMethod"

It's trying to find someObjectMethod as an attribute of the script,
rather than the script's return value.  It might be nice to add
something to TALES path syntax to allow you to specify that a mid-path
callable object should be evaluated, and that path traversal should
continue from the object it returns.
-- 
Tim Moore