[Zope] review_state

Winterflood, Jonathan jonathan.winterflood at capgemini.com
Fri Jun 1 04:31:59 EDT 2007


Hi,
In the case of a document proxy managed by CPSWorkflow, I use this:

review_state = proxy.getContentInfo()['review_state']

Is this your case?
If this is not the right way to do it in my context, I'd of course appreciate your comments :)

Hope it helps,
Jonathan

-----Message d'origine-----
De : zope-bounces at zope.org [mailto:zope-bounces at zope.org] De la part de julian
Envoyé : vendredi 1 juin 2007 10:10
À : zope at zope.org
Objet : [Zope] review_state

Hi,

I search a function that return the review_state of an object in Zope.
A function like : object.get('review_state')

         row[0] = object.getId()
         title = object.Title()
         row[1] = title
         row[2] = object.getPhysicalPath()
         #row[3] = object.get('review_state')

Thanks

Julian

_______________________________________________
Zope maillist  -  Zope at zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.



More information about the Zope mailing list