Curtis Maloney writes:
> On Fri, 09 Jun 2000, Dieter Maurer wrote:
> > Curtis Maloney writes:
> > > > ... dtml-unless does not work ...
> > ... Seems that you make something wrong ...
> It doesn't. Really. I'm certain of this. The key was not there, and yet
> the unless was not rendered. This is why I'm posting. It's not working as
> it should.
> I guess I'm funny like that. I only post problems when they exist.
But some problem reports are difficult to believe.
I tried the following DTML-method with Zope 2.1.6:
<dtml-unless "0">should render<br></dtml-unless>
<dtml-unless "1">should not render</dtml-unless>
<dtml-unless "REQUEST.has_key('XXX')">should render<br></dtml-unless>
<dtml-unless "REQUEST.has_key('XXX')">should not render</dtml-unless>
It worked as expected.
No hint that "dtml-unless" could be faulty.
Zope maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -