[Zope] Add property ?

Curtis Maloney curtis@umd.com.au
Fri, 26 May 2000 10:50:51 +1000


On Fri, 26 May 2000, calvin33 wrote:

> >  Normally :
>        "folder_F.object_O.manage_addProperty(id,file,content_type)"
>                   
>  How to change "object_O" with another variable "var_V"  ?
> 
>                   
I'm assuming you want object_O to be specified elsewhere?

Now, this is just a gut reaction (not tested), but have you tried:

folder_F[object_name_string].manage_addProperty(id, file, content_type)" ?

-- 
Have a better one,
	Curtis.

<dtml-var standard_work_disclaimer>