One (ugly!) way of doing it:
<dtml-with "manage_addFolder ('Test1')">
<dtml-let test1Object="_.getitem(Test1')">
<dtml-with "test1Object.manage_addFolder ('Test2')">
</dtml-with>
</dtml-let>
</dtml-with>
This creates Test2 in Test1.
Ivan
>
> Here some experiments (don't look at the syntax):
>
> <dtml- call "manage_addFolder (NewFolderName)">
>
> <dtml-with "_.getitem(NewFolderName)">
> <dtml- call "manage_addProperty (ID,...)">
> <dtml- call "manage_addDocument (ID,...)">
> </dtml-with>
>
> This looks fine to me, but ZOPE insists on creating the new document in
> /OldFolder
> instead of
> /OldFolder/NewFolder
>
_______________________________________________
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 )