19 May
2009
19 May
'09
1:57 p.m.
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