[Zope-CMF] Archetypes Plone

kam_mulamba kam_mulamba at yahoo.fr
Fri Jan 9 07:01:42 EST 2004


Hi,
I'm new to Achetypes
When I try to access field value within à skin template like this:
<b tal:content="python: resultObject.getField('chapeau').getName
()">Nom du champs chapeau = </b>
<span tal:define="item python:resultObject.getField('chapeau')"
tal:content="python:item.getRaw(resultObject)" >Valeur du champs = 
</span>
 
I get the error cannot access getField in this context.
How can i do to access a field value knowing his name?




More information about the Zope-CMF mailing list