[Zope] API and namespace

Dieter Maurer dieter@handshake.de
Tue, 12 Dec 2000 23:56:50 +0100 (CET)


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