[ZPT] [req] Path traversal & callable objects
Brent M Hendricks
brent@valinor.waldenweb.com
Thu, 10 May 2001 09:28:13 -0500
On Wed, May 09, 2001 at 07:32:00PM -0400, Evan Simpson wrote:
> From: "Tim Moore" <tmoore@tembel.org>
> > tal:replace="python:here.someScriptReturningObject().someObjectMethod()"
> >
> > This doesn't:
> >
> > tal:replace="here/someScriptReturningObject/someObjectMethod"
>
> I advise tal:define="sobj here/someScriptReturningObject"
> tal:replace="sobj/somObjectMethod"
That works, but it gets a little tedious beyond a level or two.
--Brent
-------------------------------------------------------------------------
"The programmer, like the poet, works only slightly removed from pure
thought-stuff. He builds his castles in the air, from air, creating
by exertion of the imagination. Few media of creation are so
flexible, so easy to polish and rework, so readily capable of
realizing grand conceptual structures."
-- Frederick Brooks, Jr., The Mythical Man Month