[Zope] Fw: [Zope] Photo Product fix/question/suggestion
Gregor
vorlon@iglou.com
Mon, 10 Jan 2000 23:38:07 -0500
----- Original Message -----
From: "Gregor" <vorlon@iglou.com>
To: "Stephen Pitts" <smpitts@midsouth.rr.com>
Sent: Monday, January 10, 2000 11:07 PM
Subject: Re: [Zope] Photo Product fix/question/suggestion
----- Original Message -----
From: "Stephen Pitts" <smpitts@midsouth.rr.com>
> > <dtml-var "blah(REQUEST, pdcookie='1')">
> <dtml-var "_.getitem(blah, 0).__call__(REQUEST, pdcookie='1')">
>
> _.getitem(x, 0) returns a reference to an item without calling it.
I've tried that before, except I was giving "1" as the flag to getitem.
Not that it mattered. It gives:
Error Type: TypeError
Error Value: illegal name used in expression
This showed up when I originally tossed __call__ into the mix, and when I use
your version.
- Gregor