[Zope-dev] RE: Can't get DateTime from REQUEST. Bizarre or just dumb?
Martijn Pieters
mj@digicool.com
Wed, 1 Mar 2000 00:41:59 -0500
From: Loren Stafford [mailto:lstaffor@dynalogic.com]
> All attempts to access executeAt result in NameError, even tho it's
> obviously there. What am I doing wrong?
>
> > C:\Zope214\bin\lib\pdb.py(868)set_trace()->None
> -> Pdb().set_trace()
> (Pdb) s
> >
> C:/Zope214\lib\python\Products\ZScheduler\ZEvent.py(100)manage_edit()
> -> self.executeAt=executeAt
> (Pdb) s
> NameError: 'executeAt'
What is the method signature? If it doesn't include the executeAt
parameter, it will not be in your namespace. REQUEST variables cannot
automagically be accessed like in DTML.
Does REQUEST['exexcuteAt'] work?
--
Martijn Pieters, Software Engineer
| Digital Creations http://www.digicool.com
| Creators of Zope http://www.zope.org
| mailto:mj@digicool.com ICQ: 4532236
| PGP:
http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
-------------------------------------------