[Zope] dtml-in over LocalFS

Jonothan Farr jfarr@real.com
Wed, 29 Mar 2000 13:02:45 -0800


----- Original Message ----- 
From: Sin Hang Kin <iekentsin@infoez.com.mo>
To: Zope Admin list <zope@zope.org>
Sent: Wednesday, March 29, 2000 3:09 AM
Subject: [Zope] dtml-in over LocalFS


> In attempt to write an interface to present a series pages on the same
> folder from a localfs, I have the following code, This is intended to place
> on top and bottom of the page a page-number bar which provide access to
> other pages in the same folder. However, there are some problem I could not
> handle:
> 
> 1. If I just want .stx, html , text and xml documents, how can I select
> them?

<dtml-in "objectIds(['*.stx', '*.html', '*.txt', '*.xml'])">

> 2. I can not make test if the in loop is on the same document this document
> is in. I could not test the sequence-item against the document id.

I'm not sure I understand this. Perhaps you could rephrase the question.

--jfarr