[Zope-DB] updating fields in a zsql method programmatically

Charlie Clark charlie at egenix.com
Mon Aug 27 16:01:21 EDT 2007

Am 27.08.2007, 21:59 Uhr, schrieb onsombal <onsombal at yahoo.com>:

> I'm assuming the form results are stored as an object represented as a
> dictionary.  If so, then there must be a way for my python script to  
> change
> the key | value pair for field1 before I call my Z SQL Method.  Is this
> reasonable, or am I just going down a rat-hole?

All form values are in the context.REQUEST.form dictionary which can  
overwrite to your heart's content.

Charlie Clark

Professional Python Services directly from the Source
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/

:::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! ::::

     eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
     D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
            Registered at Amtsgericht Duesseldorf: HRB 46611

More information about the Zope-DB mailing list