[Zope] Pluggable brains aren't seen by first-nnn in <dtml-in>?
Brad Clements
bkc@murkworks.com
Fri, 4 Aug 2000 15:02:18 -0400
I have a ZSQL method that has an associated class. That class defines
a method eventday(self) that returns just the date portion of a datetime
value.
I want to be able to use <dtml-if first-eventday> to print the date only
when it changes.
However first-eventday is ALWAYS true, however when I print &dtml-
eventday; the output value is always the same for each row, so first-
eventday shouldn't be true on any row except the first.
I've been looking at dt_insv.py, I assume that eventday() isn't seen as a
true variable in self.data, so ...
Any suggestions for how I can easily simulate first-nnn for a datetime
when I only want to key off the date portion?
Brad Clements, bkc@murkworks.com (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
netmeeting: ils://ils.murkworks.com AOL-IM: BKClements