[Zope] how to build a search date range parameter in a search form

Dieter Maurer dieter at handshake.de
Mon Apr 3 14:00:06 EDT 2006

Lucia Colombo wrote at 2006-4-3 17:49 +0200:
>I'm trying to build a search form which gets as an input a year and searches
>for all objects which have a (custom) date index set within such year.
> ...
>How do I get the parameter to be a list of dates?

You determine start and end date inside a Python script from the
integer "year" form variable. Then, you form a sequence
(list or tuple) from the two dates.


More information about the Zope mailing list