Alex Clark a écrit :
> Hi all,
> 
> In Products.todo (https://svn.plone.org/svn/collective/Products.todo/trunk)
> I have a folderish 'Todo Item' content type that can contain one or more 
> 'Todo Item'(s). 
> 
> I've just added a workflow that contains states: 'not done', 'done' and when 
> state
> is changed on a todo item with todo items inside of it, I want to change state
> for all of those objects. 
> 
> What is the best way to do that?
> 
> I'm thinking the "old way" of doing a catalog search or ZopeFind each time
> is not be the best way. Is there a "new way" (i.e. using Zope Component 
> Architecture) 
> I should try instead ? 

DCWorkflow is not ZCA aware.
The simpliest way is still to use the 'content_status_history' script with 
container.objectIds(meta='todoitems').

Regards,
-- 
Encolpe Degoute
INGENIWEB (TM) - S.A.S 50000 Euros - RC B 438 725 632
Bureaux de la Colline
1 rue Royal
92210 Saint Cloud
web : www.ingeniweb.com - « les Services Web Ingénieux »
Tel : 01.78.15.24.08 / Fax : 01 47 57 39 14


_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to