[ZPT] Problems with context and rendering and DTML and... a story of failureand puzzlement

steve steve@spvi.com
Wed, 20 Jun 2001 07:50:48 -0500


OK.. more info.. I got this to work in two steps:

      <span tal:define="x python:here.Structures.biopsyTypesControl(here.Structures)"
            tal:replace="structure x"/>

is there any way to do this without a 'define' step?

thanks,
-steve


steve wrote:
> 
> 
> <span tal:replace="python:here.Structures.biopsyTypesControl(here.Structures)"/>
> 
> This works, after a fashion. I now get the DTML Method to render, but
> the HTML comes back *quoted* so that rather than an actual control on
> the page, I get the literal text:
>