[Zope] Structured Text (Again)

Andreas Jung Andreas Jung" <andreas@zope.com
Tue, 5 Feb 2002 16:04:11 +0100


<ul>
  <dtml-in expr="objectIds('DTML Document')">
  <li><a href="showdoc?docId=<dtml-var sequence-item>"><dtml-var
sequence-item></a></li><br>
  </dtml-in>
</ul>

might work.

- aj
----- Original Message -----
From: "Learned" <learned@talentsinc.net>
To: <zope@zope.org>
Sent: Wednesday, February 06, 2002 22:01
Subject: [Zope] Structured Text (Again)


> I'm sorry to be so dense about this, but I seem
> to be missing something fundamental.  I see where
> you are going with that, but I'm still hitting
> a brick wall on one piece.
>
> Assume the following code is building my
> dynamic menu of documents:
>
> <ul>
>   <dtml-in expr="objectValues('DTML Document')">
>   <li><a href="&dtml-absolute_url;"><dtml-var title_or_id></a></li><br>
>   </dtml-in>
> </ul>
>
> how does the href get coded to utilize showdoc? I thought
> I had it, but any version I've tried abends on me.
>
> Thanks for your patience.
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> 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 )
>