Debug-Modus REQUEST erzeugen?

Peter Zechmeister <[email protected]>
Newsgroups gmane.comp.web.zope.german
Message-ID <[email protected]>
Hallo,

ich möchte mich mit der Zope-Debug-Console etwas näher anfreunden.

Wir verwenden das ZMS. Sehr viele Funktionen verlangen nach dem REQUEST
als Parameter.
Wenn ich in der Console bin und so eine Funktion auf ein Objekt anwende,
woher nehme ich da das REQUEST-Objekt? Wie kann man das erzeugen?

manches kann man so aufrufen:

obj.eineFunktion(REQUEST={})

aber machmal wird der REQUEST in einer Funktion auch aus self geholt:

if ob.meta_type == 'ZMSLinkElement' and ob.isEmbedded( self.REQUEST):

da geht das dann irgendwie nicht.


Kann mir da wer weiter helfen?

Grü
PeterZ



_______________________________________________
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.