[Zope-CMF] using the subject property
Ben Riga
briga@borland.com
Mon, 2 Apr 2001 09:16:01 -0700
Thanks. As you can see I'm a novice at this.
Thanks for your help,
Ben
-----Original Message-----
From: zope-cmf-admin@zope.org [mailto:zope-cmf-admin@zope.org]On Behalf
Of Dieter Maurer
Sent: Sunday, April 01, 2001 12:21 PM
To: Ben Riga
Cc: zope-cmf@zope.org
Subject: RE: [Zope-CMF] using the subject property
Ben Riga writes:
> >> How can I build a list of all the subjects that have been used?
> ....
> <dtml-in expr="portal_catalog.uniqueValuesFor( 'Subject' )" >
> <tr class="SubjItemRow">
> <td valign="top">
> sequence-number: <dtml-var sequence-number>
> sequence-key: <dtml-var sequence-key>, title: <dtml-var title><br>
"uniqueValuesFor" returns a list of strings (in your case).
"sequence-key" only makes sense for lists of pairs.
Dieter