[Zope3-dev] path adapters

Stephan Richter srichter at cosmos.phy.tufts.edu
Sun Sep 11 14:10:49 EDT 2005


On Sunday 11 September 2005 11:32, Jean-Marc Orliaguet wrote:
> it there any technical reason why:
>
>    tal:define="displayable nocall:context/displayable"
>
> could not return the adapted object based on the context instead of
> triggering a traversal error?

Yes. You are not using the path adapter syntax as far as I can see. You need 
to have: object/path_adapter_name:function

You should check the parsing implementation (probably some traversing code) to 
see about the assumptions.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-dev mailing list