[Zope-CMF] Archetypes Plone

robert robert at redcor.ch
Fri Jan 9 14:02:09 EST 2004


 python:resultObject.getChapeau()
Robert
On Friday 09 January 2004 13:01, kam_mulamba wrote:
> 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?
>
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF at zope.org
> http://mail.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature requests




More information about the Zope-CMF mailing list