[Zope] Add property ?
Rik Hoekstra
rik.hoekstra@inghist.nl
Fri, 26 May 2000 10:42:38 +0200
> calvin33 wrote:
>
> Normally :
> "folder_F.object_O.manage_addProperty(id,file,content_type)"
>
> How to change "object_O" with another variable "var_V" ?
>
>
Have you tried
<untested>
<dtml-call "folder_F.getitem('var_V').manager_addProperty(id, file,
content_type)">
</untested>
or
<untested>
<dtml-with "<whatever>.<whatever>">
<dtml-call "_.getitem('var_V').manage_<whatever>">
</dtml-with>
</untested>
Sorry, no time to test, but they should work
Rik, (who is wondering why he is answering this getitem thing at least
three times a week)