try this:
dtml-call expr="manage_addFolder('mainfolder')"
dtml-call expr="PARENTS[0]['mainfolder'].manage_addFolder('subfolder')"
it works with zope 2.2.4
regards rob.
Robert Prosencweb: http://www.matrixware.at/
I have truble with the permissions (get the message: "Authorization
failed. Retry?") when I do the following:
dtml-call expr="existingFolder.manage_addFolder(folder_id)"
dtml-call expr="existingFolder._[folder_id].manage_addFolder('subFolder')"
I am logged in as a manager.
Your example under
Espen,
How about untested, but similar works in Python External method:
dtml-call expr="manage_addFolder('newfolder')"
dtml-call "REQUEST.set('newf',_['newfolder'])"
dtml-call expr="newf.manage_addFolder('anotherfolder')"
maybe?!?
Phil
On Thu, 11 Jan 2001, Espen Sorbye Frederiksen wrote:
--- Espen Sorbye Frederiksen [EMAIL PROTECTED]
wrote:
Thank you for your reply. I relised that my example
was not quite what I
ment. What if newfolder is a variable taking a
random string value. How
can I emediatly after creating the folder, with the
variable
newfolder id, create a