Re: [Zope-CMF] Re: Where can I found information about CMFCore class DirectoryRegistry ?

2005-04-21 Thread Jens Vagelpohl
On Apr 21, 2005, at 21:31, KLEIN Stéphane wrote: Chris Withers a écrit : Well, the source code is it. You don't need to worry about any of these though, if you just want to change and add some fields.. My new CMF Event is a copy of standard CMF Event. My personnal product don't contain a CMF Cale

Re: [Zope-CMF] Expression context naming scheme - redux

2005-04-21 Thread Jens Vagelpohl
On Apr 21, 2005, at 14:55, Chris Withers wrote: Jens Vagelpohl wrote: I am proposing to add a simple alias from "here" to "object" in the DCWorkflow expression context. Unlike the rest of CMF I don't want to call "here" deprecated, but at least introduce more consistency. Sort of semi-seriously,

[Zope-CMF] Re: Where can I found information about CMFCore class DirectoryRegistry ?

2005-04-21 Thread KLEIN Stéphane
Chris Withers a écrit : Well, the source code is it. You don't need to worry about any of these though, if you just want to change and add some fields.. My new CMF Event is a copy of standard CMF Event. My personnal product don't contain a CMF Calendar, then I must drop it in "__init__.py". I wo

[Zope-CMF] Re: changing select metadata

2005-04-21 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Malthe Borch wrote: > Hello list, --- > > A quickie: > > I'm trying to change the expiration date of an object with this code: > > obj = getattr(context, id) > obj.editMetadata(expiration_date=...) > > which works very well, however all other

[Zope-CMF] Re: CMF - PUT_factory - need help!

2005-04-21 Thread Michael Haubenwallner
Eugenio Grytsenko wrote: I use Zope 2.7.4-0, CMF-1.4.7, Plone-2.1-alpha. I create a Zope instance and a Plone site, and my idea is to use an external PUT_factory and not the one from CMFCore/PortalFolder.py which is executed by default. You need to configure content_type_registry ("Registry fo

[Zope-CMF] Re: Where can I found information about CMFCore class DirectoryRegistry ?

2005-04-21 Thread Chris Withers
Well, the source code is it. You don't need to worry about any of these though, if you just want to change and add some fields.. cheers, Chris KLEIN Stéphane wrote: Chris Withers a écrit : KLEIN Stéphane wrote: I search information about CMFCore class DirectoryRegistry. What is it ? How use it ?

[Zope-CMF] Re: Where can I found information about CMFCore class DirectoryRegistry ?

2005-04-21 Thread KLEIN Stéphane
Chris Withers a écrit : KLEIN Stéphane wrote: I search information about CMFCore class DirectoryRegistry. What is it ? How use it ? ... Where can I found information about it ? Here's a better question: Why do you want to know how to use it? I want to customize CMFEvent product to change and add

Re: [Zope-CMF] Re: Bad interaction between CMF 1.4 and Zope 2.8 (catalog-getObject-raises)

2005-04-21 Thread Chris Withers
Florent Guillaume wrote: Please read and understand the code more carefully. There is no expected error. reindexObjectSecurity (which I introduced more than 2 years ago because CMF was buggy without it) needs access to all subobjects to reindex them. To do that it has to: 1. use an unrestricted se

Re: [Zope-CMF] Expression context naming scheme - redux

2005-04-21 Thread Chris Withers
Jens Vagelpohl wrote: I am proposing to add a simple alias from "here" to "object" in the DCWorkflow expression context. Unlike the rest of CMF I don't want to call "here" deprecated, but at least introduce more consistency. Sort of semi-seriously, why isn't "context" used everywhere? cheers, Chr

Re: [Zope-CMF] Re: setSecurityProfile

2005-04-21 Thread Chris Withers
Florent Guillaume wrote: I can't say I care about it, sorry :) MemberDataTool is dead to me, only bits of the API remain :) I agree. It should probaly go away completely. I never understood the userfolder/membershiptool/memberdata tools trichotomy from day 1 of CMF... cheers, Chris -- Simplistix

Re: [Zope-CMF] CMF - PUT_factory - need help!

2005-04-21 Thread Chris Withers
Eugenio Grytsenko wrote: executed by default. I tried to overwrite this method by creating the "External Method" in the Plone site: That won't work since, as the error message tells you, there's already a PUT_factory there... I need to use a PUT_factory different from which CMFCore uses, becau

Re: [Zope-CMF] Where can I found information about CMFCore class DirectoryRegistry ?

2005-04-21 Thread Chris Withers
KLEIN Stéphane wrote: I search information about CMFCore class DirectoryRegistry. What is it ? How use it ? ... Where can I found information about it ? Here's a better question: Why do you want to know how to use it? cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting

[Zope-CMF] DCWorkflow using workflow variables in guards expressions

2005-04-21 Thread Konstantin E. Steuck
Hi, list. I'm trying to implement task assignment to a person instead of a role or permission in workflow. While browsing thru DCWorkflow docs I thought I found perfect way to do this by creating state variable called 'user' and setting it to whatever I need. Then guard expression checks if curr

[Zope-CMF] CMF Collector: Open Issues

2005-04-21 Thread tseaver
The following supporters have open issues assigned to them in this collector (http://www.zope.org/Collectors/CMF). Assigned and Open efge - "CMFSetup doesn't correctly detect DCWorkflow on export", [Accepted] http://www.zope.org/Collectors/CMF/298 gregweb - "CMFUid.UniqueId