[ZPT] Re: Page Template traversal

Evan Simpson evan at 4-am.com
Thu Oct 30 11:43:54 EST 2003


Chris Withers wrote:
> Although, frustratingly from my point of view:
> 
> <tal:x replace="here/my_zpt/x/y/z"/>
> 
> Will result in a KeyError rather than my_zpt being called with 
> ['x','y','z'] in the traverse_subpath...

traverse_subpath is a publishing traversal feature, and path traversal 
doesn't pay attention to __before_publishing_traverse__.  An argument 
could be made that it should, but this would be an incompatible change.

Cheers,

Evan @ 4-am




More information about the ZPT mailing list