--- zope-request@zope.org wrote:
Send Zope mailing list submissions to zope@zope.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.zope.org/mailman/listinfo/zope or, via email, send a message with subject or body 'help' to zope-request@zope.org
You can reach the person managing the list at zope-admin@zope.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Zope digest..."
Today's Topics:
1. REQUEST (D. Rick Anderson) 2. Re: REQUEST (D. Rick Anderson) 3. Re: REQUEST (hans) 4. Problem with understanding Yihaw (Tony Flanagan) 5. Web Hosting Services - experience (Chip Morris) 6. Re: REQUEST (D. Rick Anderson) 7. Arguments for choosing Zope (Oliver Marx) 8. Re: REQUEST (Doug Chamberlin) 9. Re: zpt and dtml-tree (was Re: [Zope] IDE for ZOPE) (dman) 10. dynamic download filenames (Charles Fulton) 11. Apache and Zope (mod_rewrite, mod_proxy) and https question (Pieter Biemond prive ) 12. Rotating -D log (Grimes, Steven) 13. Re: dynamic download filenames (John Ziniti) 14. Preventing image caching (Warnes, Gregory R) 15. RE: Arguments for choosing Zope (Oliver Marx) 16. Re: Arguments for choosing Zope (Dirk Datzert) 17. Re: Using Zope to generate offline content (Roger Oberholtzer) 18. Re: Easy Zope DoS ? (Thomas B. Passin) 19. Re: REQUEST (Thomas B. Passin) 20. Call children object (=?iso-8859-1?q?Daniel=20Schmitz?=) 21. Re: Arguments for choosing Zope (Paul Browning) 22. returning an HTML comment from ZPT (dman) 23. RE: Call children object (Kevin Carlson) 24. using form for add and edit help please. (Mark Lilly) 25. External Editor and https Siteroot (Jim Penny) 26. Re: returning an HTML comment from ZPT (Evan Simpson) 27. unsubscribe (raj) 28. Re: returning an HTML comment from ZPT (dman) 29. MailHost errors (Colin Fox) 30. DTML or TAL (Oliver Marx) 31. Re: MailHost errors (=?ISO-8859-15?B?R2VpciBC5mtob2x0?=) 32. Re: Web Hosting Services - experience (Stephan Goeldi) 33. Re: Preventing image caching (hans) 34. Read a temporary file and send it as a attachment (Christian Ernst) 35. send password as email (Daniel Meier) 36. Re: Arguments for choosing Zope (Stephan Goeldi) 37. Zope Page Template adding (Nico de Boer) 38. Re: Arguments for choosing Zope (Chris Withers) 39. Re: send password as email (Chris Withers) 40. Re: DTML or TAL (Chris Withers) 41. Re: [Zope-CMF] ScanMail Message: To Recipient file blocking settings matched and action taken. (Chris Withers) 42. Re: DTML or TAL (Jens Vagelpohl) 43. Re: DTML or TAL (Maik Jablonski) 44. Re: DTML or TAL (David Burton) 45. Re: DTML or TAL (Anthony Baxter) 46. ZCGI Troubles (abg@comco-inc.com) 47. Re: DTML or TAL (Matthew T. Kromer) 48. Re: DTML or TAL (Chris Withers) 49. Re: DTML or TAL (Chris Withers) 50. Re: Seperate Development ... (Chris Withers) 51. Re: Seperate Development ... (Jens Vagelpohl)
--__--__--
Message: 1 Date: Wed, 22 May 2002 09:01:41 -0700 From: "D. Rick Anderson" <ruger@comnett.net> To: zope@zope.org Subject: [Zope] REQUEST
I'm trying to insert the REQUEST object into a new DTML document to record errors on a page. It doesn't seem to like the way I'm doing it and I can't figure out how to get it to work.
I tried:
<dtml-call "REQUEST.set('newname', ZopeTime().strftime('%m-%d-%Y-%H-%M'))"> <dtml-call "manage_addDTMLDocument(newname, 'Error', 'REQUEST')">
and I get a Key Error:
Error Type: KeyError Error Value: read
I've tried creating the document first, and then using manage_edit to insert it, and the same thing happens. I really need to dump the REQUEST object somewhere when there's been an error so I can see what happened.
TIA
Rick
--__--__--
Message: 2 Date: Wed, 22 May 2002 09:06:11 -0700 From: "D. Rick Anderson" <ruger@comnett.net> To: zope@zope.org Subject: Re: [Zope] REQUEST
oops. The one I'm using doesn't have quotes around REQUEST:
<dtml-call "REQUEST.set('newname', ZopeTime().strftime('%m-%d-%Y-%H-%M'))"> <dtml-call "manage_addDTMLDocument(newname, 'Error', REQUEST)">
Rick
D. Rick Anderson wrote:
I'm trying to insert the REQUEST object into a new DTML document to record errors on a page. It doesn't seem to like the way I'm doing it and I can't figure out how to get it to work.
I tried:
<dtml-call "REQUEST.set('newname', ZopeTime().strftime('%m-%d-%Y-%H-%M'))"> <dtml-call "manage_addDTMLDocument(newname, 'Error', 'REQUEST')">
and I get a Key Error:
Error Type: KeyError Error Value: read
I've tried creating the document first, and then using manage_edit to insert it, and the same thing happens. I really need to dump the REQUEST object somewhere when there's been an error so I can see what happened.
TIA
Rick
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
--__--__--
Message: 3 Date: Wed, 22 May 2002 18:09:55 +0100 From: hans <hans@beehive.de>
=== message truncated === __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com