[ZPT] How can you use TAL to render a textarea property?

Chris Withers chrisw at nipltd.com
Thu May 22 12:32:26 EDT 2003


Trevor Toenjes wrote:
> example:
> <div tal:define="pss modules/Products.PythonScripts.standard">
> <span tal:condition="python:here.content_html.editmode=='stx'"
>       tal:replace="structure
> python:pss.structured_text(here.content_html.page_copy)">page copy content
> here rendered in STX</span>
> </div>
> 
> How can I do this with ZPT/TAL?

Are you saying you want to have ZPT/TAL in the property of an object and have 
that executed using a code fragment similar to the above?

cheers,

Chris




More information about the ZPT mailing list