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


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to