[Zope] dtml-calendar question.

tom smith tom@othermedia.com
Sat, 12 Aug 2000 16:37:04 +0100


hi,

I'm trying to use the calendar tag as a front end to a calendar database.

I have a sql database storing events and a sql method called get_days_events
which takes an arguement called startDateString

In my dtml-calendar tag I have ...

<dtml-var "date.mm()">/<dtml-var "date.dd()">/<dtml-var "date.yy()">

which returns "07/31/00"

how do I get this value into the parameter of a dtml-in tag...

sort of like this...

<dtml-in get_days_events(<dtml-var "date.mm()">/<dtml-var
"date.dd()">/<dtml-var "date.yy()">)>

<dtml-var EventName><br>

</dtml-in>

any ideas anyone?

cheers

tom