Douwe Osinga wrote:
you could try:
RESPONSE.redirect( context['register.zpt'].absolute_url() )
Ok, thanks. It works. Another question: ;-) I add a ErrCode variable to register.zpt. So in fact it redirects to "http://example.com/register.zpt?ErrCode=nouser". Now I want to add some HTML Code to the register.zpt with ZPT if ErrCode has the value "nouser". The problem is that ErrCode is not given in all cases. How can I do that? I suppose something with tal:condition but I don't really know how.. Thanks, Florian
-----Original Message----- From: zope-bounces@zope.org [mailto:zope-bounces@zope.org]On Behalf Of Florian Lindner Sent: Thursday, October 02, 2003 12:24 PM To: zope@zope.org Subject: [Zope] Calling objects with a dot in them
Hello, stupid question, but...
I want to redirect to register.zpt. How can I do that?
RESPONSE.redirect = context.register.zpt.absolute_url