[Zope-CMF] Formlib based view of folder contents

Charlie Clark charlie at begeistert.org
Sun Sep 14 07:40:50 EDT 2008


Am 13.09.2008 um 16:49 schrieb yuppie:

> I never used it. But one major function of CMFDefault is to showcase  
> CMF
> features. And I'm not aware of any other code that demonstrates how to
> use filtering.

Good point.

>> If so is it okay to drop the use of the cookie and either
>> use hidden variables as the sorting options do already or possibly
>> dump this information in the session? One of the problems with the
>> current implementation is that the cookie is hard-coded to live until
>> 2020 and will persist from one folder to the next but it's debatable
>> whether the filters you want for one folder you would want for  
>> another
>> but not the sort options.
>>
>> Our preference would be to put the filter information in hidden
>> variables.
>
> I don't think CMFDefault should rely on sessions. Using hidden  
> variables
> sounds fine to me.


This was our consensus yesterday. I hope it's possible to unpick the  
folder_filter_form.pt

Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226





More information about the Zope-CMF mailing list