[Zope] Replacing index_html with index.html
Dieter Maurer
dieter@handshake.de
Wed, 2 Apr 2003 21:01:00 +0200
Niclas Kuehne wrote at 2003-4-2 09:55 -0600:
> On April 2, 2003 03:54 am, Dylan Reinhardt wrote:
> I created a trivial DTML Document called "index.html" and it works
> fine. This narrows the problem down a little bit. The reason the
> error comes up seems to root in the "Unified HTMLDocument"
This means, you must not call the object when you want to check
its existence (as "<dtml-if object>" does).
You can use
<dtml-if "_.has_key('index.html')">
Dieter