> 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)

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

Reply via email to