[Zope] Traversal issue...

Dieter Maurer dieter@handshake.de
Tue, 6 Nov 2001 23:41:27 +0100


Rob Foster writes:
 > I've got two adjacent folders:
 > Folder A - This folder has a form that will allow users to edit the 
 > properties of a specific zclass instance that resides in Folder B.
 > Folder B - This folder has a bunch of instances (each instance's id maps 
 > to the username of a user in the system)
 > 
 > Now, the users each have a cookie with their username set...
 > 
 > When they fill out the form in folder A, I want to update the instance 
 > in B that maps to them (based on the value of their cookie), but I can't 
 > seem to "get to" (traverse?) the right instance with either DTML or 
 > Python.
Please look at "restrictedTraverse"...


Dieter