[Zope-CMF] using the subject property
Dieter Maurer
dieter@handshake.de
Sun, 1 Apr 2001 21:21:09 +0200 (CEST)
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