[ZPT] ZPT object called with keywords and pick them up
Evan Simpson
evan@digicool.com
Tue, 19 Jun 2001 11:21:27 -0400
Peter Bengtsson wrote:
> We had a working setup with DTML and one of the called DTML objects was::
>
> <dtml-var name>
>
> And I replaced this with <div tal:replace="here/name">
> But that did no longer work.
The template assembles a namespace containing the request, the "here"
object, and the template variables. It then calls the DTML object like
this: name(None, namespace).
Inside of "name" you should be able to use any of the normal objects you
would expect, plus the template's stuff. What fails?
Cheers,
Evan @ digicool