Hi, Sorry for the extra-short question, Ctrl-Enter sent the mail before I'd quite finished it...
Your solution does it exactly, thanks. I used the ZMI property "Widget mode (TALES)" (xml snippet <property name="widget_mode_expr">) Cheers, Jonathan -----Message d'origine----- De : Florent Guillaume [mailto:[EMAIL PROTECTED] Envoyé : mercredi 25 juillet 2007 13:04 À : Winterflood, Jonathan Cc : [email protected] Objet : Re: [CPS-users] Lock cpsDocument fields You can use an expression based on the workflow state in the widgets to force a "view" mode in some cases and therefore disallow edit. Florent On 25 Jul 2007, at 12:18, Winterflood, Jonathan wrote: > In a CPS document (based on a layout, schema and type), I need to > lock the editing of some schema fields / layout cells, based on the > workflow state of the document. > > > > How should I go about this? > > > -- Florent Guillaume, Director of R&D, Nuxeo Open Source Enterprise Content Management (ECM) http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87 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. _______________________________________________ cps-users mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/cps-users
