[Zope] manage_changeProperties example needed

Farrell, Troy troy.farrell@wilcom.com
Mon, 5 Mar 2001 09:31:39 -0600


The Zope Help/API docs/PropertySheet page says that I can use
manage_changeProperties:

manage_changeProperties(REQUEST=None, **kw): 

I always see people using it like this:

manage_changeProperties(REQUEST)

The help file says I can use name=value pairs, but I can't seem to implement
this.  I don't understand the format it wants.  I've tried the following:

 
logfile.propertysheets.NetShowLogFileProperties.manage_changeProperties(None
, logfile_line_ids = current_logfile_line_ids + ' ' + logfile_line_id)

 
logfile.propertysheets.NetShowLogFileProperties.manage_changeProperties(REQU
EST, logfile_line_ids = current_logfile_line_ids + ' ' + logfile_line_id)

 
logfile.propertysheets.NetShowLogFileProperties.manage_changeProperties(REQU
EST=None, logfile_line_ids = current_logfile_line_ids + ' ' +
logfile_line_id)

But each one returns 'illegal argument type for built-in operation' for this
line in my Python Script.  I don't know if you can tell, but I am only
interested in changing the property 'logfile_line_ids'(tokens type).  As it
is probably evident, I don't understand the meaning and function of
parameters like 'REQUEST=None' and '**kw' (that looks like a pointer to a
char array :)

Thanks for any pointers,

Troy