[CPS-users] Lock cpsDocument fields

Jose Luis de la Rosa Triviño joseluis.rosa at iavante.es
Thu Jul 26 11:19:00 CEST 2007


Hi,

I recently wrote a How to about this 
http://cpsproject-howto.blogspot.com/2007/07/how-to-hide-widget-for-given-workflow.html

Maybe it is useful for any other person who wants to know exactly what 
expression to use.

Cheers,

Jose Luis.

Winterflood, Jonathan wrote:
> 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?
>>
>>
>>
>>     
>
>   


-- 
Jose Luis de la Rosa
Técnico de Innovación y Tecnología
Fundación IAVANTE
Telf.: 951 01 53 13 - Fax: 951 01 53 01
www.iavante.es

Este correo electrónico y, en su caso, cualquier fichero anexo, contiene
información confidencial exclusivamente dirigida a su(s)
destinatario(s). Toda copia o divulgación deberá ser autorizada por
IAVANTE.
This e-mail and any attachments are confidential and exclusively
directed to its adressee(s). Any copy or distribution will have to be
authorized by IAVANTE. 




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