RE: [Zope-dev] Marshalling of records in REQUEST.form

2002-03-14 Thread Jean Jordaan

Hi Dieter

Roughly, I do this:

  FSSession.set('query_form', REQUEST.form)
  ... 
  context.log('query_form: %s'%FSSession(query_form))

where the 'log' external method is:

  import zLOG
  def log(message,summary='',severity=0):
  zLOG.LOG('MyDebugLog',severity,summary,message)

The output I quoted in the previous message appears in the logfile. My
Zope is 2.4.3

-- 
Jean Jordaan
Upfront Systems http://www.upfrontsystems.co.za


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Marshalling of records in REQUEST.form

2002-03-14 Thread Dieter Maurer

Jean Jordaan writes:
 > I've just noticed this. In my form I have, for example:
 > 
 >  
 >  
 >  
 >  
 >  
 > 
 > When I log this after submission, I see:
 > 
 >  {'HostType': ['Sequential'], 'properties_to_show': ContactPerson: 
 >  ['ContactName', 'DirectEmail'], Customer: ['CustomerName', 
 >  'CustomerStatus']}
Where are you looking at?

When I look at "REQUEST.form", I see:

 {
 'P.N' : ['N1', 'N2'],
 'P.C' : ['C1', 'C2']
 }

(with shortened names). I.e. I see what I expect to see.

My Zope is 2.5.0 (CVS version from end of Jan 2002).


Dieter

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )