Ok, here's the setup... 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. Any help would be appreciated as always. Thanks, Rob
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
participants (2)
-
Dieter Maurer -
Rob Foster