Re: [Zope3-Users] Problems with PartialAnnotationsAdapter

2005-07-26 Thread Fred Drake
On 7/26/05, Florian Lindner <[EMAIL PROTECTED]> wrote: > Mmmhh, I'm wondering why it used to work about 2 weeks ago... Good question; I'd have been surprised if they did. > Why are these > class declarations necessary? Everything is file-based code, so AFAIK there > should not be a problem with p

Re: [Zope3-Users] Problems with PartialAnnotationsAdapter

2005-07-26 Thread Florian Lindner
Am Montag, 25. Juli 2005 15:47 schrieb Fred Drake: > You need to make the title attribute of the new adapter writable.  Use > something like: > >   >             permission="zope.View" >         interface="zope.app.dublincore.interfaces.IZopeDublinCore" >         /> >             permission="zop

Re: [Zope3-Users] Add menu item creation

2005-07-26 Thread Dmitry Vasiliev
[EMAIL PROTECTED] wrote: From: Dmitry Vasiliev [EMAIL PROTECTED] Date: Tue, 26 Jul 2005 11:14:35 +0400 To: zope3-users@zope.org Subject: [Zope3-Users] Add menu item creation Hi! Is this a way to create the add menu item without the separate addMenuItem directive? For example if I write: I

RE: [Zope3-Users] Add menu item creation

2005-07-26 Thread [EMAIL PROTECTED]
Hi Dmitry, Your analyse was correct: the menu-id may be incorrect. The menu-id has to be declared in ZCML before it's use in ZCML. Like: In this case zmi_views is the menu-id to be used. Marc Original Message: - From: Dmitry Vasiliev [EMAIL PROTECTED] Date: Tue, 26 Jul 2005 11

[Zope3-Users] Add menu item creation

2005-07-26 Thread Dmitry Vasiliev
Hi! Is this a way to create the add menu item without the separate addMenuItem directive? For example if I write: I've got the following error: ConfigurationError: ('Invalid value for', 'menu', 'ImportError: Module zope.app.container has no global add') Maybe the menu id should be change