Re: updating fields in a zsql method programmatically

"Charlie Clark" <[email protected]> Mon, 27 Aug 2007 22:01:21 +0200
Newsgroups gmane.comp.web.zope.database
Organization eGenix.com
Message-ID <[email protected]>
Am 27.08.2007, 21:59 Uhr, schrieb onsombal <[email protected]>:

> 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
-- 
Charlie Clark
eGenix.com

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