[CPS-users] Lock cpsDocument fields

Winterflood, Jonathan jonathan.winterflood at capgemini.com
Wed Jul 25 15:16:09 CEST 2007


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:fg at nuxeo.com] 
Envoyé : mercredi 25 juillet 2007 13:04
À : Winterflood, Jonathan
Cc : cps-users at lists.nuxeo.com
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.




This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.