Re: [Zope3-Users] ZPT traverser for finding site

2006-06-01 Thread Stephan Richter
On Tuesday 28 March 2006 09:19, Florian Lindner wrote:
> is there a ZPT traverser for finding the nearest site in Zope3?
>
> register
>
> 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
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] ZPT traverser for finding site

2006-03-28 Thread Florian Lindner
Hello,
is there a ZPT traverser for finding the nearest site in Zope3?

register

because registrationForm is registered in my object which forms the site.

Thanks,

Florian
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users