It was posted to zope-dev, which I should probably subscribe to.
http://lists.zope.org/pipermail/zope-dev/2001-January/009018.html
Thank you! Exactly what I needed.
___
Ron Bickers
Logic Etc, Inc.
[EMAIL PROTECTED]
> -Original Message-
> From: Dieter Maurer [mailto
Ron Bickers writes:
>
> I realized the DTML method
> call from the Python Script included 'container' as the first parameter (as
> shown below)
> I don't understand how Python Scripts can/should call DTML methods. That
> is, are there magical parameters?...
About a week ago, I post
> -Original Message-
> From: Dieter Maurer [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 29, 2001 1:17 PM
> To: Ron Bickers
> Cc: [EMAIL PROTECTED]
> Subject: RE: [Zope] DTML namespace puzzle
>
> of the namespace. "dtml-with" could but it is ver
Ron Bickers writes:
> method(num=num SESSION=session):
>
>
>
> raises KeyError "num".
>
> SESSION['info'] does not have a key "num". The only num is passed as a
> parameter. Did you use SQLSession to try to reproduce it, or just another
> mapping? Could SQLSession have
> -Original Message-
> From: Dieter Maurer [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, January 28, 2001 3:43 PM
> To: Ron Bickers
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Zope] DTML namespace puzzle
> Does "SESSION['info']" has a key "num&quo
Ron Bickers writes:
> I have a Python Script (sendOrder) that calls a DTML method (orderMessage)
> as follows:
>
> container.orderMessage(num=num, SESSION=SESSION)
>
> orderMessage contains the following:
>
>
> Order Number:
> Blah blah other session variables that work fine
Just when I thought I was catching on to everything, I ran into this.
I'm using Zope 2.3.0 (final). I don't know if this worked the same with 2.2
because I didn't try this until today. SQLSession is handling the SESSION
stuff, and I haven't had any problems with it.
I have a Python Script (sen