[Zope] Catalog AND Zieve
Steve Spicklemire
steve@spvi.com
Mon, 4 Sep 2000 10:41:39 -0500 (EST)
Hi Jean-Francios,
You need to give Zieve a list of objects that have the attributes that
you want to sort on defined. You can ether build a list of 'real
results' from the ZCatalog that can then be passed to your Zieve, or
you can just make sure the ZCatalog's 'meta_data_table' has all the
attributes you might want to sort on. I haven't been following all the
changes, but I think that the newer '<dtml-in .. >' may now support
dynamic sorting... I'm sure I saw some patches about this... I don't
know off hand if they've been incorporated into Zope-2.2.1, but I'll
check...
-steve
>>>>> "Menard" == Menard Jean-Francois <Menard.Jean-Francois@hydro.qc.ca> writes:
Menard> I'm trying to use the Zieve product with my Catalog to
Menard> sort the results on a variable key. Since the Catalog do
Menard> not return the actual objects, how can I use Zieve with
Menard> it?
Menard> Maybe an external method returning the object list?
Menard> If so, how shold I do that?
Menard> Jean-François Ménard Intranet DPAS Pratiques d'affaires et
Menard> orientations * (514) 840-3000 poste 3939 * (514) 840-5585
Menard> * menard.jean-francois@hydro.qc.ca * 855 Ste-Catherine
Menard> est, 6e étage Montréal, Qué. H2L 4P5
Menard> _______________________________________________ Zope
Menard> maillist - Zope@zope.org
Menard> http://lists.zope.org/mailman/listinfo/zope ** No cross
Menard> posts or HTML encoding! ** (Related lists -
Menard> http://lists.zope.org/mailman/listinfo/zope-announce
Menard> http://lists.zope.org/mailman/listinfo/zope-dev )