Re: [Zope] where does ZOPE store users created objects

2007-06-10 Thread kamal hamzat
> Hello, > > Please i want to know the physical path on my Zope installation where > Zope stored the objects (such as dtml methods and documents) created by > the users. When i searched for the .dtml extension on my computer, I > could not see anyone created by me or other users from the list of

Re: [Zope] Automatic Cataloging

2007-06-10 Thread Tom Von Lahndorff
On Jun 10, 2007, at 2:49 AM, Andreas Jung wrote: --On 9. Juni 2007 14:09:15 -0400 Tom Von Lahndorff <[EMAIL PROTECTED]> wrote: Hi, I have a zCatalog installed and I'm trying to automatically catalog an object and it's properties using: What a dirty code :-) Such code should

[Zope] Creating a ZCatalog to catalog the newly created objects using ZClasses

2007-06-10 Thread kamal hamzat
Hello, I was reading and following the zope book to Creating a ZCatalog to catalog the newly created objects using ZClasses while this message was displayed. "ZClasses are a deprecated feature and should no longer be used for new projects. Instead use either through-the-web scripting with Zope

Re: [Zope] Creating a ZCatalog to catalog the newly created objects using ZClasses

2007-06-10 Thread Andreas Jung
--On 10. Juni 2007 13:21:34 +0100 kamal hamzat <[EMAIL PROTECTED]> wrote: Hello, I was reading and following the zope book to Creating a ZCatalog to catalog the newly created objects using ZClasses while this message was displayed. "ZClasses are a deprecated feature and should no longer be

[Zope] RuntimeError:maximum recursion depth exceeded

2007-06-10 Thread kamal hamzat
Hello, After successfully created News Item ZClass from the example from the zope book. When I selected News Item from the Add list, this is the error msg displayed Error Type: RuntimeError Error Value: maximum recursion depth exceeded. Pls help.

Re: [Zope] Automatic Cataloging

2007-06-10 Thread Dieter Maurer
Tom Von Lahndorff wrote at 2007-6-9 14:09 -0400: > ... > You try to catalog "business_name" which is likely a string. You should not expect that cataloging a string affects many indexes ;-) You what to catalog the cloned object. I think (but I am not sure) that "this" may refer to this object. I

Re: [Zope] Automatic Cataloging

2007-06-10 Thread Dieter Maurer
Andreas Jung wrote at 2007-6-10 08:49 +0200: > ... >newob = container.manage_clone(...) >newob.manage_changeProperties(REQUEST=context.REQUEST) >catalog.catalog_object(...) Minor remark: Usually, it is a bad idea to call "manage_changeProperties" (or other "mange*" methods) with a REQUEST arg

Re: [Zope] Creating a ZCatalog to catalog the newly created objects using ZClasses

2007-06-10 Thread Dieter Maurer
kamal hamzat wrote at 2007-6-10 13:21 +0100: > ... >Instead use either through-the-web scripting with Zope Page Templates, >PythonScripts etc. or write a Zope product." > >Please can somebody point me to "How to" for any of these new recommended ways. The Zope Developper Guide, although quite old

Re: [Zope] RuntimeError:maximum recursion depth exceeded

2007-06-10 Thread Dieter Maurer
kamal hamzat wrote at 2007-6-10 15:22 +0100: > ... >After successfully created News Item ZClass from the example from the zope >book. When I selected News Item from the Add list, this is the error msg >displayed > >Error Type: RuntimeError >Error Value: maximum recursion depth exceeded. Whenever

Re: [Zope] Creating a ZCatalog to catalog the newly created objects using ZClasses

2007-06-10 Thread Paul Winkler
On Sun, Jun 10, 2007 at 07:19:47PM +0200, Dieter Maurer wrote: > kamal hamzat wrote at 2007-6-10 13:21 +0100: > > ... > >Instead use either through-the-web scripting with Zope Page Templates, > >PythonScripts etc. or write a Zope product." > > > >Please can somebody point me to "How to" for any of