On 5/29/06, Frank Burkhardt <[EMAIL PROTECTED]> wrote:
Different factories won't help because the user should be able to update
the file object's content after ist was created.


Yeah, that's what I suspected. I still have the feeling there must be
a better way, but I have no answers now. :)

 I want to make an object provided one interface (IFile) always and one
 interface (IImage) "sometimes". Sometimes means "whenever libmagic thinks,
 the file is an Image". I don't want to modify any interface but only the
 object's list of provided interfaces.

That is certainly possible, even if I don't like it. :-P

--
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to