[Zpt] Multiple conditions?

Martijn Pieters mj@digicool.com
Fri, 9 Mar 2001 18:15:25 +0100


Can I use multiple conditions? If so, what happens if I do? Will the tag
only be rednered if *all* conditions are true?

If so, this would be very handy, think:

  <div tal:condition="exists:here/talkback"
       tal:condition="here/talkback/hasReplies">

       ...

  </div>

Of course, I need to be sure that attributes are processed in document
order of course.. I believe Expat doesn't nessarily give you the
attributes in that order, IIRC.

-- 
Martijn Pieters
| Software Engineer  mailto:mj@digicool.com
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
---------------------------------------------