+-------[ Roman Klesel ]---------------------- | Andrew Milton schrieb: | > How about you forget about Acquisition for now. | > | | Well, hmmm ... this will be hard ... I was just about to fall in love with it ...
It's definitely useful, but, you have to pick your moments to use it. | > Define the method in the class you want to call it on. | | Then I will have to subclass from OFS.Image.File and I was told that this is somehow evil. From a previous thread: | | Roman Klesel wrote: | >> form OFS.Image import File | >> | >> - I build a class _File(File): | | >I really doubt you need to do that... | | >> - pimped it up a little bit. | | >What, specifically, did you add? | | >> - _setObject'ed it | | >You shouldn't be calling that directly... Well you have to decide who to believe then won't you ? d8) | I was really hoping to get to understand this acquisition thing. | Am I really that far away from getting it? What does it take to grasp it? Think of Acquisition this way; read-only, run-time, inheritance. -- Andrew Milton [EMAIL PROTECTED] _______________________________________________ Zope maillist - [email protected] http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
