[Zope] assignment to form records

Fernando Martins fmartins@hetnet.nl
Thu, 6 Mar 2003 01:32:29 +0100


Paul Winkler wrote:
>
> question is, why do you need  to modify it in the script anyway?
> just do foo = Fields.afield and do whatever w/ foo.
>

I've two forms who pass a similar record to their scripts. Each script does
its own processing, "normalising" the record. The record is then passed to
another script which does common processing and final storage in a table.

Of course, I can pass each field individually to the final script but with a
lot of fields it gets ugly. I also can't create classes in a PythonScript,
so it's quite limited.

Regards,
Fernando