Re: Debug-Modus REQUEST erzeugen?

Andreas Jung <[email protected]>
Newsgroups gmane.comp.web.zope.german
Organization ZOPYX Ltd & Co. KG
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 21.01.2009 15:28 Uhr, Peter Zechmeister wrote:
> 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.
> 
> 

  from Testing import makerequest
  app=makerequest.makerequest(app)

- -aj
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkl3MeUACgkQCJIWIbr9KYwb7wCfWySdXj/5YM5ej0WRoFVgCuOg
2cYAoIuT9x8nT3jA7hnZbYSVdNpbxi+7
=oGeb
-----END PGP SIGNATURE-----



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lists.vcf (text/x-vcard, 331 B)
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:[email protected]
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
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.