Re: [Zope-CMF] CMFActionIcons vs. new-style actions

2008-09-13 Thread Wichert Akkerman
Previously Martin Aspeli wrote:
> Jens Vagelpohl wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> > 
> > Today I was looking at the CMFActionIcons product and wondered about a  
> > few things. First of all, there's no obvious way to enable the actions  
> > and include the template snippets that pull them in. Editing the  
> > main_template is needed. Secondly, the new-style actions already  
> > define a property to store an expression for generating a icon path,  
> > but it doesn't appear to be used anywhere yet.
> > 
> > Question: Wouldn't it make sense to enable the new action icons  
> > functionality in the various templates to show icons if an expression  
> > for an icon is provided, and completely retire the CMFActionIcons  
> > product?
> 
> +1 - CMFActionIcons is a bit of a nuisance these days. I never 
> understood why you'd need to separate the definition of the action (in 
> the ZMI or GS) from its icon.

Easier customization - no need to let people touch the action itself?

Wichert.

-- 
Wichert Akkerman <[EMAIL PROTECTED]>It is simple to make things.
http://www.wiggy.net/   It is hard to make things simple.
___
Zope-CMF maillist  -  Zope-CMF@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] LP #254576: CMFCore.exportimport.content doesn't index results of .properties

2008-09-13 Thread Ross Patterson
>From https://bugs.launchpad.net/zope-cmf/+bug/254576:

In CMFCore/exportimport/content.py:201, the title and description
for the newly created content are set but nothing is done to reindex
the objects so that the catalog will reflect the new values. It
seems that the solution might be as simple as adding
"content.reindexObject()" after
"content.setDescription(description)".

As you can see in the comments Tres voted -1 to my proposed solution.
But can someone suggest another solution to this problem?  It seems like
a definite problem, surely this is a bug?  Can someone bless it as a
bug?

Ross

___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

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


Re: [Zope-CMF] Formlib based view of folder contents

2008-09-13 Thread yuppie
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@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] Formlib based view of folder contents

2008-09-13 Thread Charlie Clark
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@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

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


Re: [Zope-CMF] CMFActionIcons vs. new-style actions

2008-09-13 Thread Martin Aspeli
Jens Vagelpohl wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Today I was looking at the CMFActionIcons product and wondered about a  
> few things. First of all, there's no obvious way to enable the actions  
> and include the template snippets that pull them in. Editing the  
> main_template is needed. Secondly, the new-style actions already  
> define a property to store an expression for generating a icon path,  
> but it doesn't appear to be used anywhere yet.
> 
> Question: Wouldn't it make sense to enable the new action icons  
> functionality in the various templates to show icons if an expression  
> for an icon is provided, and completely retire the CMFActionIcons  
> product?

+1 - CMFActionIcons is a bit of a nuisance these days. I never 
understood why you'd need to separate the definition of the action (in 
the ZMI or GS) from its icon.

Martin

-- 
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book

___
Zope-CMF maillist  -  Zope-CMF@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] CMFActionIcons vs. new-style actions

2008-09-13 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Today I was looking at the CMFActionIcons product and wondered about a  
few things. First of all, there's no obvious way to enable the actions  
and include the template snippets that pull them in. Editing the  
main_template is needed. Secondly, the new-style actions already  
define a property to store an expression for generating a icon path,  
but it doesn't appear to be used anywhere yet.

Question: Wouldn't it make sense to enable the new action icons  
functionality in the various templates to show icons if an expression  
for an icon is provided, and completely retire the CMFActionIcons  
product?

jens
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkjLv/AACgkQRAx5nvEhZLLeygCfbw/3TV02VHFczUW/MGKtSa+h
u7YAn2zw5mIWLkIa+214a53YOsTzLlJS
=cxAi
-END PGP SIGNATURE-
___
Zope-CMF maillist  -  Zope-CMF@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] CMF Tests: 9 OK

2008-09-13 Thread CMF Tests Summarizer
Summary of messages to the cmf-tests list.
Period Fri Sep 12 11:00:00 2008 UTC to Sat Sep 13 11:00:00 2008 UTC.
There were 9 messages: 9 from CMF Tests.


Tests passed OK
---

Subject: OK : CMF-1.6 Zope-2.8 Python-2.3.6 : Linux
From: CMF Tests
Date: Fri Sep 12 21:28:02 EDT 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-September/009857.html

Subject: OK : CMF-1.6 Zope-2.9 Python-2.4.4 : Linux
From: CMF Tests
Date: Fri Sep 12 21:29:32 EDT 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-September/009858.html

Subject: OK : CMF-2.0 Zope-2.9 Python-2.4.4 : Linux
From: CMF Tests
Date: Fri Sep 12 21:31:02 EDT 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-September/009859.html

Subject: OK : CMF-2.0 Zope-2.10 Python-2.4.4 : Linux
From: CMF Tests
Date: Fri Sep 12 21:32:32 EDT 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-September/009860.html

Subject: OK : CMF-2.1 Zope-2.10 Python-2.4.4 : Linux
From: CMF Tests
Date: Fri Sep 12 21:34:02 EDT 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-September/009861.html

Subject: OK : CMF-2.1 Zope-2.11 Python-2.4.4 : Linux
From: CMF Tests
Date: Fri Sep 12 21:35:33 EDT 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-September/009862.html

Subject: OK : CMF-trunk Zope-2.10 Python-2.4.4 : Linux
From: CMF Tests
Date: Fri Sep 12 21:37:03 EDT 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-September/009863.html

Subject: OK : CMF-trunk Zope-2.11 Python-2.4.4 : Linux
From: CMF Tests
Date: Fri Sep 12 21:38:33 EDT 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-September/009864.html

Subject: OK : CMF-trunk Zope-trunk Python-2.4.4 : Linux
From: CMF Tests
Date: Fri Sep 12 21:40:03 EDT 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-September/009865.html

___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

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