Re: Ohne Vererbung?

"Viktor Errath" <[email protected]>
Newsgroups gmane.comp.web.zope.german
Message-ID <[email protected]>
Hi Andreas

Danke für den Tipp. Aber irgendwie hab ich das damit auch nicht hinbekommen. 
Es funktioniert nur "bedingt". Wenn ich einen neuen Ordner ohne Bild angelegt hatte, 
gab hassattr korrekterweise "False" zurück. Wenn man jedoch einmal ein Bild zugewiesen
hatte gab hasattr ab diesem Zeitpunkt immer "True" zurück. Ganze egal ob das Bild
bereits wieder gelöscht wurde oder nicht.
Ich habe jedoch aufgrund eurer Tipp endlich gefunden was ich gesucht hatte:
	http://plone.org/documentation/faq/how-do-i-stop-acquisition

kA warum ich das vorher nie gefunden hab??
Besten Dank nochmal.
Ich wünsche euch ein schönes WE ;-)

Lg
Viktor



> -----Ursprüngliche Nachricht-----
> Von: Andreas Jung [mailto:[email protected]]
> Gesendet: Donnerstag, 09. Dezember 2010 18:08
> An: Deutschsprachige Zope-Benutzer-Liste
> Betreff: [dzug-zope] Re: Ohne Vererbung?
> 
> hasattr(item.aq_base, 'smallimage')
> 
> ?
> 
> - -aj



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.