Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: CMF

Formlib based view of folder contents

 

 

Zope cmf RSS feed   Index | Next | Previous | View Threaded


charlie at begeistert

Sep 13, 2008, 6:51 AM

Post #1 of 3 (442 views)
Permalink
Formlib based view of folder contents

Hi,

currently sitting with Tres and Jens in Saarbrücken working on a
formlib based view of folder_contents and we're hitting some stuff
that's been around for ages but might possibly no longer be required.
An example of this is the Contents View Filter. Does anybody actually
use this? 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.

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



_______________________________________________
Zope-CMF maillist - Zope-CMF[at]lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


y.2008 at wcm-solutions

Sep 13, 2008, 7:49 AM

Post #2 of 3 (417 views)
Permalink
Re: Formlib based view of folder contents [In reply to]

Charlie Clark wrote:
> currently sitting with Tres and Jens in Saarbrücken working on a
> formlib based view of folder_contents and we're hitting some stuff
> that's been around for ages but might possibly no longer be required.
> An example of this is the Contents View Filter. Does anybody actually
> use this?

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.

> 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.

Cheers, Yuppie

_______________________________________________
Zope-CMF maillist - Zope-CMF[at]lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


charlie at begeistert

Sep 14, 2008, 4:40 AM

Post #3 of 3 (410 views)
Permalink
Re: Formlib based view of folder contents [In reply to]

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



_______________________________________________
Zope-CMF maillist - Zope-CMF[at]lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

Zope cmf RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.