[Zope] dtml-var in another directory without entity syntax
Small Business Services
toolkit at magma.ca
Wed Dec 10 14:48:19 EST 2003
Dave wrote:
> I have a DTML page that acquires some HTML from that stored in a
> directory called components
>
> I'd like to include one of these code snippets in my page with
> something like <dtml-var "components.codeSnippet1">
>
> but when I do it this way all the angle brackets get converted into
> entity syntax.
>
> any suggestions on how to do this?
Here are two ideas, both untested:
1) get rid of the "..." in your var stmt (this is a python scriptish kind of
call)
<dtml-with components>
<dtml-var codeSnippet1>
2) if 'codeSnippet1' is a dtml method, try storing it as a dtml document
instead
Good Luck
Jonathan
More information about the Zope
mailing list