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

steve steve@spvi.com
Wed, 20 Jun 2001 07:57:11 -0500


OK.. answering my own post again.. 

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

seems to work!

OK.. back to mixing DTML/ZPT.

-steve

steve wrote:
> 
> 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:
> >