On 19.05.09 15:27, Analog Kid wrote:
> Hi All:
>
> I have a macro that is used in several other page templates. In some
> circumstances, I need to redirect to another URL. Can I do this using
> python:here.REQUEST.RESPONSE.redirect(<NEWURL>) so that the master
> page that uses this macro is redirected to the NEWURL?

This is bad-style. Redirections belong into a browser view or a
PythonScript but
not into a page template and definitely not into a macro.

Andreas
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to