[Zope] Formulator override method does not work
Dieter Maurer
dieter@handshake.de
Mon, 14 Jan 2002 20:02:23 +0100
cgreen writes:
> ...
> The override method (for "Formulator") is a python script:
>
> for object in context.objectValues('STX_Document'):
> ....
>
> The script works in the "Python Script" manage window when I select the
> "test" tab. But when I actually run the DTML
> file that calls the form, I get an empty multi-list field.
I expect, "context" is different when the script is used
inside the Formulator. Maybe, the use of "container" (instead of
"context") solves your problem.
Dieter