Benoit MORAILLON wrote: > Et avez vous une réponse à ce problème : > > Comment faire pour afficher un champ schema d'un type de document > spécial dans content_lib...
Pourquoi content_lib et pas une 'skin' relative au document en question ?
> Je n'arrive qu'a accéder au titre, à la description du document mais pas
> au contenu, aux champs
> que j'ai spécialement défini.
>
> Problème :
> <b>Mon champ : </b><strong><span
> tal:replace="info/title_or_id">ID</span></strong>
>
> Solution :
> <b>Mon champ : </b><strong><span tal:replace="?">ID</span></strong>
>
<b>Mon champ : </b><strong><span
tal:replace="python:here.getContent().whatever">ID</span></strong>
'whatever' est un champ de votre schéma.
J.
--
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
signature.asc
Description: OpenPGP digital signature
_______________________________________________ cps-users-fr Adresse de la liste : [email protected] Gestion de l'abonnement : <http://lists.nuxeo.com/mailman/listinfo/cps-users-fr>
