[Zope] ZPT newbie question
Chris Withers
chrisw@nipltd.com
Sat, 10 Aug 2002 17:03:28 +0100
Dieter Maurer wrote:
> > Try something like this:
> >
> > <span tal:omit-tag="" tal:condition="REQUEST/has_key('nofile')">
> Correct is:
>
> <span tal:condition="python: request.has_key('nofile')"> ... </span>
That's not the same ;-)
Mark's example, if correct, would not include the span tag in the output...
A neater short version which _does_ do what he want (probably ;-) would be:
<tal:c condition="request/nofile">
...
</tal:c>
cheers,
Chris