Re: Abfrage der 'Annotierbarkeit'

Raphael Ritz <[email protected]>
Newsgroups gmane.comp.web.zope.german
Message-ID <[email protected]>
Hendrik Bunke wrote:
> --On Tue, 19 May 2009 13:58, Raphael Ritz wrote:
> 
>> Hendrik Bunke wrote:
>>> Hallo,
>>>
>>> ich möchte im Kontext einer Katalogsuche nur diejenigen
>>> portal_types bzw. Klassen ausgeben, die als 'annotatable' für ein
>>> bestimmtes interface markiert sind. Lässt sich das irgendwie
>>> machen? 
>> Der portal_catalog hat einen Index namens
>>
>>   object_provides
>>
>> Kannst Du den nicht einfach nach dem gewunschten Interface
>> fragen?
> 
> Perfekt! Das wäre genau das, was ich brauche. Leider, leider habe
> ich es hier mit einer Plone 2.1 Installation zu tun. Und da gibt's
> den Index object_provides noch nicht.

Dann leg halt selber einen entsprechenden Index an.
(Vorsicht, Verwirrung möglich: Zope 2 und Zope 3 haben
unterschiedliche Implementierungen des Interface-Konzepts)


Raphael

> 
> Trotzdem danke. 
> 
> gruß
> hendrik
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 
> 
> _______________________________________________
> zope mailing list
> [email protected]
> https://mail.dzug.org/mailman/listinfo/zope



_______________________________________________
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.