[Zope3-Users] redirect in a ContainerTraverser
gawel
gawel75 at gmail.com
Sun May 28 11:30:37 EDT 2006
Hi,
i try to find to a way to redirect to an *external* location with a
ContainerTraverser subclass.
Obviously the standard response.redirect() don't work here because the
publishTraverse
method must return a callable object.
I've created a Redirect view that do the stuff and then i'm able to it from
the publishTraverse hook.
This work fine but is there an easy way to do this ?
In zope2 there is a Redirect exception. I've found one in
zope.publisher.interfaces
but raising this exception don't redirect anything.
Thanks,
--
Gael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope3-users/attachments/20060528/a15bed2c/attachment.htm
More information about the Zope3-users
mailing list