[Kss-devel] kss and response.redirect

Hedley Roos hedleyroos at gmail.com
Mon Nov 5 14:25:03 CET 2007


What happens if I do

context.REQUEST.RESPONSE.redirect('somewhere_in_plone_site')

in my Python Script which is invoked through a kss rule?

My example seems dumb, I know - I'm just abstracting a more complex
use case. Basically I call existing Python Scripts which sometimes
want to redirect, and then my subsequent core method calls
(replaceInnerHTML etc) fail.

On the flipside, how do I in fact cause my browser to redirect in said
Python Script? Can I just set url.location.href (I forget the
notation)?

Thanks
Hedley


More information about the Kss-devel mailing list