Re: [Zope] API and namespace
12 Dec
2000
12 Dec
'00
10:56 p.m.
Alexander DePauli writes:
... problem creating folder with subfolder ... <--! add a new folder --> <dtml-call "manage_addProduct['OFSP'].manage_addFolder (id=REQUEST['new_folderID'], title=REQUEST['new_folderID'])"> [..]
<dtml-with new_folderID> ...tried <dtml-with "_.namespace(folder = new_folderID)"> as well... I would expect, you get a KeyError. Right?
<dtml-with new_folder_ID> tries to access the object with the name "new_folderID". But the new folder was created with a name "REQUEST['new_folderID']". Try: <dtml-with "REQUEST['new_folderID']"> Dieter
9246
Age (days ago)
9246
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Maurer