Re: [Zope3-Users] no object attributes on IObjectAddedEvent / IObjectCreatedEvent?

2006-11-24 Thread Florian Lindner
Am Freitag, 24. November 2006 16:55 schrieb Dominique Lederer: hi just tried to retrive some objects attributes (from an object i created vie ZMI) on the IObjectCreatedEvent. Got just emty attributes, so i tried it with IObjectAddedEvent, but my attributes are still in initial state . it

Re: [Zope3-Users] ForbiddenAttribute when adding to a folder

2006-11-24 Thread Dominique Lederer
Darryl Cousins schrieb: Hi Tim, On Sat, 2006-10-21 at 12:18 +0200, Tim TerlegÄrd wrote: Is there a way to add content without having @@+ in the URL? For instance I'd like the url for adding events to be /addEvent. I get security problems when not having @@+ in the URL. I have this view:

Re: [Zope3-Users] no object attributes on IObjectAddedEvent / IObjectCreatedEvent?

2006-11-24 Thread Dominique Lederer
Florian Lindner schrieb: Am Freitag, 24. November 2006 16:55 schrieb Dominique Lederer: hi just tried to retrive some objects attributes (from an object i created vie ZMI) on the IObjectCreatedEvent. Got just emty attributes, so i tried it with IObjectAddedEvent, but my attributes are still

[Zope3-Users] custom widgets (IDisplayWidget)

2006-11-24 Thread Hassan Alirezaei
Hello guys, I have a custom widget and I cannot manage to have a custom way of displaying it after editing. as far as I know, I should be registering the view for form.interfaces.IDisplayWidget(for display) and form.interfaces.IInputWidget(for editing). I use the following zcml lines:

Re: [Zope3-Users] custom widgets (IDisplayWidget)

2006-11-24 Thread Kapil Thangavelu
part of it depends not only registration of the custom display widget, but also how your rendering the display, ie. if your using formlib, just using a displayformbase should do it, if your using zope.app.form directly you'll might also need to specify that you want to specify IDisplayWidget

Re: [Zope3-Users] Buildout query

2006-11-24 Thread David Pratt
Hi Kapil. Many thanks for your reply. I will be sure to look at this. Examining a few real applications that make use of buildout should definitely help make things clearer. Regards, David Kapil Thangavelu wrote: infrae's documentlibrary looks like a good example of using the buildout

Re: [Zope3-Users] Buildout query

2006-11-24 Thread David Pratt
Hi there. I downloaded documentlibrary to experiment a bit. Though I got a traceback on zc.recipe.egg during the process, it is is clear to me the power of buildout - thanks Jim! It also raised a few questions for me: 1. For zope3 recipe, how would one omit certain packages from [zope3] part