[Zope] Restricted Traverse
Nancy Donnelly
nancydonnelly2006 at yahoo.com
Sat Nov 11 09:09:11 EST 2006
----- Original Message ----
From: Andrew Milton <akm at theinternet.com.au>
> absolute url returns a string prefixed with "http(s)://", unless the relative
> parameter evaluates to true.... None doesn't do that.
>
> Try using relative = True
You mean like this?
<span
tal:define="global url python:here.absolute_url(relative=True) + '/
index_frame.pt#quotes'"
/>
<span
tal:define="root python:container.restrictedTraverse(url)"
tal:replace="structure python:here.printSiteMap(root, 12)"
/>
It didn't like that either :(
Another idea?
TIA,
Nancy
--
Andrew Milton
akm at theinternet.com.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20061111/982f7184/attachment.htm
More information about the Zope
mailing list