[Zope] Restricted Traverse

Nancy Donnelly nancydonnelly2006 at yahoo.com
Sat Nov 11 08:31:16 EST 2006


Could someone tell me what's wrong with this code?

<span
    tal:define="global url python:here.absolute_url(relative=None) + '/index_frame.pt#quotes'"
/>
<span
    tal:define="root python:container.restrictedTraverse(url)"
    tal:replace="structure python:here.printSiteMap(root, 12)"
/>

--or--

<span
    tal:define="root python:container.restrictedTraverse(here.absolute_url(relative=None) + '/index_frame.pt#quotes')"
    tal:replace="structure python:here.printSiteMap(root, 12)"
/>


I'm trying to automate that restrictedTraverse.
TIA,
Nancy




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20061111/dffe6c64/attachment.htm


More information about the Zope mailing list