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

lucia colombo lucia.colombo at gmail.com
Tue Apr 4 18:27:15 EDT 2006


That's what I can't do....the tuple gets passed as a string... :-( as

far as I understand





Lucia


On 4/3/06, Dieter Maurer <dieter at handshake.de> wrote:
>
> 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.
>
> --
> Dieter
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20060405/87c60e68/attachment.htm


More information about the Zope mailing list