[Zope] DTML -> ZPT question.

Jean-Francois.Doyon at CCRS.NRCan.gc.ca Jean-Francois.Doyon at CCRS.NRCan.gc.ca
Thu Feb 5 17:03:23 EST 2004


Well, you'd have to tie it to the structure of your document, but using a
table it would look something like this:

<table tal:condition="not: isLibraryTopicIndex">
...
</table>

Doesn't reall ymatter what isLibraryTopicIndex *IS* so long as it evaluates
to true or false somehow.

J.F.

-----Original Message-----
From: zope-bounces at zope.org [mailto:zope-bounces at zope.org]On Behalf Of
Jason C. Leach
Sent: Thursday, February 05, 2004 4:59 PM
To: zope at zope.org
Subject: [Zope] DTML -> ZPT question.



I have this line in DTML (that I did not write):
    <dtml-unless name="isLibraryTopicIndex">

And I would like to convert it to ZPT but am not sure how. The
isLibraryTopicIndex is, I think, a boolean attribute of an object.

j.


_______________________________________________
Zope maillist  -  Zope at zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )



More information about the Zope mailing list