RE: [Zope] ZCatalog: How to use a subattribute as index?
22 Jan
2000
22 Jan
'00
12:53 a.m.
From: Michel Pelletier <michel@digicool.com> Programatically. The 'Find' machinery will not find the sub-sub-attr if the sub-attr is not traversable.
Create an index called 'raw'.
<dtml-with "mySQLMethod"> <dtml-call "Catalog.index_object(template, absolute_url())"> </dtml-with>
or something like that...
Where can I find out more about the index_object? Is your "Catalog" a default attribute of all ZObjects, or is your "Catalog" the instance of ZCatalog? I tried what you said but it does not work. I still cannot find the right object. I guess the next thing to try is subclassing Z SQL Method? Hung Jung ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
9571
Age (days ago)
9571
Last active (days ago)
0 comments
1 participants
participants (1)
-
Hung Jung Lu