[Zope3-dev] Transient sublocations and IntId-Utility
Dominik Huber
dominik.huber at projekt01.ch
Wed Feb 23 17:21:42 EST 2005
I have a containerish content type X with transient sublocations. Those
sublocations should represent objects without storing any state itself
(They are build each time they are accessed). If an instance of X is
added to a folder an objectaddedevent is fired and the the
intid-utitlity gets involved for all sublocations of X. But those
transient sublocations cant be adapted to IKeyReference because they do
not derive from persistent.
How should I avoid the invocation of intid-utitlity properly?
- register subscriber to IPersistent instead of ILocation -> problem for
component that use implemntsOnly
and hide IPersistent
- caughting the resulting exception inside the subscriber
- or ...
Thanks for any support!
Regards,
Dominik Huber
More information about the Zope3-dev
mailing list