[ZPT] (no subject)

Phil Harris phil.harris@zope.co.uk
Thu, 28 Jun 2001 15:52:35 +0100


Would something like :

<span replace="python:here.getitem('foo',1)">

work?

I'd assume something would rendered, bu what!

----- Original Message -----
From: "Magnus Heino (Rivermen)" <magnus.heino@rivermen.se>
To: <zpt@zope.org>
Sent: Thursday, June 28, 2001 10:44 AM
Subject: [ZPT] (no subject)


>
> Hi.
>
> Example:
>
> Create a DTML-method called 'foo' containing this;
>
> <span tal:replace="here/REQUEST" />
>
> View this document and you will see
>
> <span tal:replace="here/REQUEST" />
>
> Nothing will be expanded since this is a DTML-method, and it knows nothing
> about tal.
>
> Now, is thery any way that I from a ZTP document can take the
dtml-document
> and expand it as if it was a ZTP document?
>
> Something like this; <span tal:define="zpt parse:here/foo"
> tal:replace="structure ztp" /> and the actual request would be printet...
>
> Does anyone understand what I want to do? :)
>
> --
>
> /Magnus Heino
>
>
> _______________________________________________
> ZPT mailing list
> ZPT@zope.org
> http://lists.zope.org/mailman/listinfo/zpt