On 5/19/05, Florian Lindner <[EMAIL PROTECTED]> wrote: > Am Donnerstag, 19. Mai 2005 19:07 schrieb Stephan Richter: > > On Thursday 19 May 2005 13:02, Florian Lindner wrote: > > > <adapter > > > for=".link.Link" > > > provides="zope.app.dublincore.interfaces.IZopeDublinCore" > > > factory=".link.factory" > > > /> > > > > You need to make this a trusted adapter and provide a permission for > > accessing it, i.e. add ``trusted="True"`` and ``permission="zope.public"`` > > Ok. thanks a lot! >
I'm trying something similar right now as well - "sharing" the title field between DC and content. Everything works fine, until I try to change the title through the Metadata tab: File "/home/ivo/Work/Zope3/Zope3-svn/src/zope/app/dublincore/browser/metadataedit.py", line 37, in edit dc.title = unicode(request['dctitle']) ForbiddenAttribute: ('title', <zope.app.dublincore.annotatableadapter.ZDCPartialAnnotatableAdapter object at 0xb3cc39ec>) Retrieval of the title attribute works fine (i.e. it's displayed nicely in folder content listings) Cheers Ivo -- Drs. I.R. van der Wijk -=- Korte Leidsedwarsstraat 12 Amaze 1017 RC Amsterdam, NL -=- T +31-20-4688336 F +31-20-4688337 Zope/Plone/Content Management W http://www.amaze.nl E [EMAIL PROTECTED] Open Source Solutions W http://vanderwijk.info E [EMAIL PROTECTED] Consultancy PGP http://vanderwijk.info/pgp _______________________________________________ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com