[Zope] dtml-if and dtml-with problems
James Sintz
jsintz@ohiohistory.org
Thu, 16 Nov 2000 12:13:47 -0500
Could someone tell me why the follow statement is never true.
<dtml-in "news.objectValues(['newsLetters'])" sort="nl_goLiveDate">
<dtml-if "nl_goLiveDate == '2000/11/16'">
<h2><dtml-var nl_subject> - <dtml-var nl_goLiveDate></h2>
<p>
<dtml-var nl_body fmt=structured-text>
</p>
</dtml-if>
</dtml-in>
The news folder contains several newsletters and one of them DOES have a
'nl_goLiveDate' of 2000/11/16 yet the above express seems to be always
false. What obvious mistake am I making?
Ideally I would like the page to show only the newsletter that has the same
date as today's date.
Jamey