[Zope3-Users] adaptation/containers question

ksmith99 ksmith93940-dev at yahoo.com
Thu Nov 9 20:02:12 EST 2006


Awesome. That's exactly what I was looking for. 



Tom Dossis wrote:
> 
> 
> I don't know how the container constraint works - i.e. whether it tries
> to adapt a __setitem__ object.
> 
> But just in case you're not aware you can implement your marker
> interface on the Image class via zcml..
> 
>     <!-- Allow Images to be added to a blog -->
> 
>     <class class="zope.app.file.Image">
>         <implements interface=".interfaces.IBloggable" />
>     </class>
> 
> <
> _______________________________________________
> Zope3-users mailing list
> Zope3-users at zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users
> 
> 

-- 
View this message in context: http://www.nabble.com/adaptation-containers-question-tf2604896.html#a7269673
Sent from the Zope3 - users mailing list archive at Nabble.com.



More information about the Zope3-users mailing list