[Zope] catalog aware not working.. help

2007-03-20 Thread Allen Huang
I made a pyhon product with catalogaware as one of my base class but my zcatalog named 'catalog' doesn't automatically catalog when I add a product item. what could be a problem? Please help this is part of my code that include catalogawareness: class ShpTypePointClass(Item, Persistent,

Re: [Zope] catalog aware not working.. help

2007-03-20 Thread Jonathan
- Original Message - From: Allen Huang [EMAIL PROTECTED] To: Zope zope@zope.org Sent: Tuesday, March 20, 2007 3:09 AM Subject: [Zope] catalog aware not working.. help I made a pyhon product with catalogaware as one of my base class but my zcatalog named 'catalog' doesn't

Re: [Zope] catalog aware not working.. help

2007-03-20 Thread Bakhtiar A Hamid
On 3/20/07, Allen Huang [EMAIL PROTECTED] wrote: I made a pyhon product with catalogaware as one of my base class but my zcatalog named 'catalog' doesn't automatically catalog when I add a product item. what could be a problem? Please help this is part of my code that include

Re: [Zope] Catalog aware

2006-07-24 Thread Garito
Lennart Regebro escribió: On 7/19/06, Garito [EMAIL PROTECTED] wrote: Look at the CatalogAware mixin class. But with this class I could create a new class of PT Catalog aware, isn't it? Yup. I would like to convert a normal PT is this possible?' Yes, with monkeypatches, but really, you

Re: [Zope] Catalog aware

2006-07-21 Thread Lennart Regebro
On 7/19/06, Garito [EMAIL PROTECTED] wrote: Look at the CatalogAware mixin class. But with this class I could create a new class of PT Catalog aware, isn't it? Yup. I would like to convert a normal PT is this possible?' Yes, with monkeypatches, but really, you don't want to go that way.

Re: [***SPAM*** Score/Req: 04.00/04.00] Re: [Zope] Catalog aware

2006-07-21 Thread Lennart Regebro
On 7/20/06, Garito [EMAIL PROTECTED] wrote: Ok, a real case: I'm working on a data system (I like the concept data system) for a friend He is Dj for that I want to create a concept like Session Form - A formulator See - Used to view the session on its default view Ask - Used to

Re: [Zope] Catalog aware

2006-07-20 Thread Garito
Tino Wildenhain escribió: Garito wrote: Tino Wildenhain escribió: Garito wrote: ... Sure, but I can't create a new product for every product I'll use only to do it catalog aware, isn't it? Yes you can. Why not? I mean you are using them - so you can

Re: [Zope] Catalog aware

2006-07-20 Thread Tino Wildenhain
Garito wrote: Tino Wildenhain escribió: Garito wrote: Tino Wildenhain escribió: Garito wrote: ... Sure, but I can't create a new product for every product I'll use only to do it catalog aware, isn't it? Yes you can. Why not? I mean you are using them

Re: [Zope] Catalog aware

2006-07-20 Thread Garito
Tino Wildenhain escribió: Garito wrote: Tino Wildenhain escribió: Garito wrote: Tino Wildenhain escribió: Garito wrote: ... Sure, but I can't create a new product for every product I'll use only to do it catalog aware, isn't it? Yes you can. Why not? I

Re: [Zope] Catalog aware

2006-07-20 Thread Martijn Pieters
On 7/20/06, Garito [EMAIL PROTECTED] wrote: Please read the catalog section again: there isnt the object in the catalog! Again: The object is _not_ in the catalog. Its all about usefull indexes and maybe object metadata. So again: _what_ actually do you expect to find? When I talk about was

Re: [Zope] Catalog aware

2006-07-20 Thread Tino Wildenhain
Garito wrote: Tino Wildenhain escribió: Garito wrote: Tino Wildenhain escribió: Garito wrote: Tino Wildenhain escribió: Garito wrote: ... Sure, but I can't create a new product for every product I'll use only to do it catalog aware, isn't it? Yes you

Re: [Zope] Catalog aware

2006-07-20 Thread Sascha Welter
(Wed, Jul 19, 2006 at 12:00:09PM -0400) [EMAIL PROTECTED] wrote/schrieb/egrapse: Subject: Re: [Zope] Catalog aware Andreas Jung wrote: It makes little sense to index the contents of PTs. PTs are used to present a view on a particular instance of your class but not for providing content

Re: [***SPAM*** Score/Req: 04.00/04.00] Re: [Zope] Catalog aware

2006-07-20 Thread Garito
Tino Wildenhain escribió: Garito wrote: Tino Wildenhain escribió: Garito wrote: Tino Wildenhain escribió: Garito wrote: Tino Wildenhain escribió: Garito wrote: ... Sure, but I can't create a new product for every product I'll use only to do it catalog aware, isn't it?

Re: [Zope] Catalog aware

2006-07-20 Thread Martijn Pieters
Please don't email me personally; let's keep this discussion on the list. Garito wrote: Yes, the indexes depends on the entity (I don't know what indexes I use until I define the entity but I need to catalog every characteristic of the entity) For example if I have a entity with a container

Re: [***SPAM*** Score/Req: 04.00/04.00] Re: [Zope] Catalog aware

2006-07-20 Thread Garito
Martijn Pieters escribió: Please don't email me personally; let's keep this discussion on the list. Garito wrote: Yes, the indexes depends on the entity (I don't know what indexes I use until I define the entity but I need to catalog every characteristic of the entity) For example if I

Re: [***SPAM*** Score/Req: 04.00/04.00] Re: [Zope] Catalog aware

2006-07-20 Thread Tino Wildenhain
Garito wrote: Martijn Pieters escribió: Please don't email me personally; let's keep this discussion on the list. Garito wrote: Yes, the indexes depends on the entity (I don't know what indexes I use until I define the entity but I need to catalog every characteristic of the entity) For

Re: [***SPAM*** Score/Req: 04.00/04.00] Re: [Zope] Catalog aware

2006-07-20 Thread Martijn Pieters
On 7/20/06, Garito [EMAIL PROTECTED] wrote: No, we need a use-case. Otherwise you have what we call a YAGNI, a You aint gonna need it feature that noone will maintain because noone uses it. A vague notion that you'd like to see this for your application is not a use-case. I use these

Re: [***SPAM*** Score/Req: 04.00/04.00] Re: [Zope] Catalog aware

2006-07-20 Thread Garito
Martijn Pieters escribió: On 7/20/06, Garito [EMAIL PROTECTED] wrote: No, we need a use-case. Otherwise you have what we call a YAGNI, a You aint gonna need it feature that noone will maintain because noone uses it. A vague notion that you'd like to see this for your application is not a

Re: [***SPAM*** Score/Req: 04.00/04.00] Re: [Zope] Catalog aware

2006-07-20 Thread Martijn Pieters
On 7/20/06, Garito [EMAIL PROTECTED] wrote: What do you think? I realize this is probably because English isn't your first language, but I completely failed to understand there what your application does or tries to accomplish. I just cannot reconstruct what the application should do for your

Re: [Zope] Catalog aware

2006-07-19 Thread Garito
Andreas Jung escribió: --On 18. Juli 2006 15:14:54 +0200 Garito [EMAIL PROTECTED] wrote: Hi all! Is possible to create an object (for example a Page Template) and make it catalog aware? Look at the CatalogAware mixin class. But with this class I could create a new class of PT Catalog

Re: [Zope] Catalog aware

2006-07-19 Thread Andreas Jung
--On 19. Juli 2006 09:34:58 +0200 Garito [EMAIL PROTECTED] wrote: Andreas Jung escribió: --On 18. Juli 2006 15:14:54 +0200 Garito [EMAIL PROTECTED] wrote: Hi all! Is possible to create an object (for example a Page Template) and make it catalog aware? Look at the CatalogAware mixin

Re: [Zope] Catalog aware

2006-07-19 Thread Garito
Andreas Jung escribió: --On 19. Juli 2006 09:34:58 +0200 Garito [EMAIL PROTECTED] wrote: Andreas Jung escribió: --On 18. Juli 2006 15:14:54 +0200 Garito [EMAIL PROTECTED] wrote: Hi all! Is possible to create an object (for example a Page Template) and make it catalog aware? Look at

Re: [Zope] Catalog aware

2006-07-19 Thread Tino Wildenhain
Garito wrote: Andreas Jung escribió: --On 19. Juli 2006 09:34:58 +0200 Garito [EMAIL PROTECTED] wrote: Andreas Jung escribió: --On 18. Juli 2006 15:14:54 +0200 Garito [EMAIL PROTECTED] wrote: Hi all! Is possible to create an object (for example a Page Template) and make it catalog

Re: [Zope] Catalog aware

2006-07-19 Thread Garito
Tino Wildenhain escribió: Garito wrote: Andreas Jung escribió: --On 19. Juli 2006 09:34:58 +0200 Garito [EMAIL PROTECTED] wrote: Andreas Jung escribió: --On 18. Juli 2006 15:14:54 +0200 Garito [EMAIL PROTECTED] wrote: Hi all! Is possible to create an object (for example a Page

Re: [Zope] Catalog aware

2006-07-19 Thread Tino Wildenhain
Garito wrote: Tino Wildenhain escribió: Garito wrote: Andreas Jung escribió: --On 19. Juli 2006 09:34:58 +0200 Garito [EMAIL PROTECTED] wrote: Andreas Jung escribió: --On 18. Juli 2006 15:14:54 +0200 Garito [EMAIL PROTECTED] wrote: Hi all! Is possible to create an object (for

Re: [Zope] Catalog aware

2006-07-19 Thread Garito
Tino Wildenhain escribió: Garito wrote: Tino Wildenhain escribió: Garito wrote: Andreas Jung escribió: --On 19. Juli 2006 09:34:58 +0200 Garito [EMAIL PROTECTED] wrote: Andreas Jung escribió: --On 18. Juli 2006 15:14:54 +0200 Garito [EMAIL

Re: [Zope] Catalog aware

2006-07-19 Thread Tino Wildenhain
Garito wrote: ... Sure, but I can't create a new product for every product I'll use only to do it catalog aware, isn't it? Yes you can. Why not? I mean you are using them - so you can use your products instead as well. Yes but what if tomorrow you create a product? need work to

Re: [Zope] Catalog aware

2006-07-19 Thread Garito
Tino Wildenhain escribió: Garito wrote: ... Sure, but I can't create a new product for every product I'll use only to do it catalog aware, isn't it? Yes you can. Why not? I mean you are using them - so you can use your products instead as well. Yes but what if

Re: [Zope] Catalog aware

2006-07-19 Thread Tino Wildenhain
Garito wrote: Tino Wildenhain escribió: Garito wrote: ... Sure, but I can't create a new product for every product I'll use only to do it catalog aware, isn't it? Yes you can. Why not? I mean you are using them - so you can use your products instead as well. Yes

[Zope] Catalog aware

2006-07-18 Thread Garito
Hi all! Is possible to create an object (for example a Page Template) and make it catalog aware? I wonder why the objects aren't catalogable by default (I need all my object catalogables) Any Idea? -- Mis Cosas http://blogs.sistes.net/Garito

Re: [Zope] Catalog aware

2006-07-18 Thread Andreas Jung
--On 18. Juli 2006 15:14:54 +0200 Garito [EMAIL PROTECTED] wrote: Hi all! Is possible to create an object (for example a Page Template) and make it catalog aware? Look at the CatalogAware mixin class. I wonder why the objects aren't catalogable by default (I need all my object

[Zope] Catalog Aware ZClass

2000-06-15 Thread Scott Burton
Hello fellow Zopists, I want to create a catalog aware Zclass. I would like to include some specific indexable metadata when creating an instance of that object. So when I add an instance of that object it asks me for some information that gets indexed by ZCatalog to be searched later on. I have