How do you use acquisition when instantiating an object via a REQUEST.set
30 Jun
2000
30 Jun
'00
1:41 p.m.
I am a relatively new Zope user and I have a simple python Class in a python product such as: class Item(Acquisition.Implicit): # Just a simple item class def __init__(self, id): self.id=id If I instantiate the object in DTML with somthing like this: <dtml-call "REQUEST.set('item',Item.Item('someid'))"> How can I make the object acquire the current context? I do not want the object to be added to any container other than the REQUEST. Thanks, Corey
9410
Age (days ago)
9410
Last active (days ago)
0 comments
1 participants
participants (1)
-
Corey Zimmet