[Zope-CMF] Re: Adapterizing CMFCore.WorkflowTool

2008-01-08 Thread yuppie

Hi Laurence!


Laurence Rowe wrote:

yuppie wrote:
Now I see why you didn't propose named adapters. But I'm still not 
happy with adapting (IContentish, basestring). Did you consider to add 
getId() to IWorkflowDefinition and to adapt (IContentish, 
IWorkflowDefinition)?


Then I don't see how you would register adapter for a specific (TTW or 
generic setup defined) workflow.


Perhaps a named adapter lookup falling back to a plain adapter lookup is 
the best solution?


All the solutions you propose to solve this look a bit like a hack to me 
- I guess because you want to use adapters for something they are not 
designed for. AFAICT the default pattern for adapting specific objects 
is to use marker interfaces.


Why do we need a different solution for workflows?


(Sorry for not answering earlier.)

Cheers,

Yuppie


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

See http://collector.zope.org/CMF for bug reports and feature requests


[Zope-CMF] CMF Tests: 11 OK

2008-01-08 Thread CMF Tests Summarizer
Summary of messages to the cmf-tests list.
Period Mon Jan  7 12:00:00 2008 UTC to Tue Jan  8 12:00:00 2008 UTC.
There were 11 messages: 11 from CMF Unit Tests.


Tests passed OK
---

Subject: OK : CMF-1.5 Zope-2.7 Python-2.3.6 : Linux
From: CMF Unit Tests
Date: Mon Jan  7 21:34:47 EST 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-January/007564.html

Subject: OK : CMF-1.5 Zope-2.8 Python-2.3.6 : Linux
From: CMF Unit Tests
Date: Mon Jan  7 21:36:17 EST 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-January/007565.html

Subject: OK : CMF-1.5 Zope-2.9 Python-2.4.4 : Linux
From: CMF Unit Tests
Date: Mon Jan  7 21:37:48 EST 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-January/007566.html

Subject: OK : CMF-1.6 Zope-2.8 Python-2.3.6 : Linux
From: CMF Unit Tests
Date: Mon Jan  7 21:39:18 EST 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-January/007567.html

Subject: OK : CMF-1.6 Zope-2.9 Python-2.4.4 : Linux
From: CMF Unit Tests
Date: Mon Jan  7 21:40:48 EST 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-January/007568.html

Subject: OK : CMF-2.0 Zope-2.9 Python-2.4.4 : Linux
From: CMF Unit Tests
Date: Mon Jan  7 21:42:18 EST 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-January/007569.html

Subject: OK : CMF-2.0 Zope-2.10 Python-2.4.4 : Linux
From: CMF Unit Tests
Date: Mon Jan  7 21:43:48 EST 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-January/007570.html

Subject: OK : CMF-2.1 Zope-2.10 Python-2.4.4 : Linux
From: CMF Unit Tests
Date: Mon Jan  7 21:45:19 EST 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-January/007571.html

Subject: OK : CMF-2.1 Zope-trunk Python-2.4.4 : Linux
From: CMF Unit Tests
Date: Mon Jan  7 21:46:49 EST 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-January/007572.html

Subject: OK : CMF-trunk Zope-2.10 Python-2.4.4 : Linux
From: CMF Unit Tests
Date: Mon Jan  7 21:48:19 EST 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-January/007573.html

Subject: OK : CMF-trunk Zope-trunk Python-2.4.4 : Linux
From: CMF Unit Tests
Date: Mon Jan  7 21:49:49 EST 2008
URL: http://mail.zope.org/pipermail/cmf-tests/2008-January/007574.html

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

See http://collector.zope.org/CMF for bug reports and feature requests