>
> try <untested but this is a faq>:
>
> <dtml-in expr="objectValues('DTML Method')" sort="title">
>    <dtml-if expr="_[id] <> 'index_html'">
>       <td align="center"><a href="&dtml-absolute_url;"><dtml-var
>  title_or_id></a></td>
>    </dtml-if>
> </dtml-in>
>

that should be

   <dtml-if expr="_['id'] <> 'index_html'">

(quotes round id)

   <dtml-if expr="id() <> 'index_html'">

would also work.  This is because sometimes id is a property, sometimes it's
a method.  The former version would work in every case; the latter only
where id is a method.  It's annoying, but there's talk of providing a
getId() method for every object to sort this inconsistency out.

seb


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to