On Tuesday 28 March 2006 09:19, Florian Lindner wrote: > is there a ZPT traverser for finding the nearest site in Zope3? > > <a tal:attributes="href > site/registrationForm/absoluteURL">register</a></li> > > because registrationForm is registered in my object which forms the site.
No there is not. Use the view class to look up the site using zope.app.component.hooks.getSite() and then generate the URL. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training _______________________________________________ Zope3-users mailing list Zope3email@example.com http://mail.zope.org/mailman/listinfo/zope3-users