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
<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
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )