redirect klappt nicht

"T.Hinze" <[email protected]>
Newsgroups gmane.comp.web.zope.german
Message-ID <[email protected]>
Hallo,
ich habe ein Problem mit dem Versuch einen Redirect aus einer
BrowserView-Methode heraus auszuführen.

Ich lande beim Aufruf meiner Methode xyz() in selbiger und dort steht
testweise

def xyz(self):
  self.request.response.redirect('xyz')
  print 'redirect failed'


Rufe ich also diese Methode auf, so erscheint mir in der Console der
String 'redirect failed'. D.h. der redirect() wird ignoriert.
Leider erschließt sich mir nicht warum?

Übersehe ich denn etwas grundlegendes?

th



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.