[Zope] </dtml-var>?!?!?
Matthew T. Kromer
matt@zope.com
Wed, 06 Feb 2002 16:29:07 -0500
Hi Dave,
Using your example, I was not able to reproduce your problem. I did not
see any new tags get created in the editor, nor did I fail to ese the
"If this test works this should print" message.
What happens when you view the frame source of your page that omits "if
this test works this should print?"
Is it there with some kind of tag around it?
Did you make any changes to standard_html_header?
David Thibault wrote:
> Hello all,
>
> This is my first post. I've noticed a couple of weird things in
> 2.5.0. First off, the management editor keeps insisting on putting
> closing tags in for <dtml-var> (like </dtml-var>) after I click "Save
> Changes" on a DTML doc.
>
> Also, for some reason, the <dtml-var someDTMLMethod> doesn't work.
> Here's an example:
>
> index_html is a dtml document that contains the following (note the
> dotted lines are not part of the code, they just delimit it for the
> purposes of this email):
>
> ------------------------------------
> <dtml-var standard_html_header>
> Testing...<br>
> <dtml-var testDtmlMethod><br>
> Done test!<br>
> <dtml-var standard_html_footer>
> ------------------------------------
>
> and testDtmlMethod is a DTML Method that contains:
> -----------------------
> IF THE TEST WORKS THIS SHOULD PRINT!!!
> -----------------------
>
> When you view index_html in the browser, it looks like this:
> -----------------------
> Testing...
>
> Done test!
> -----------------------
>
> But it should print this:
>
> -----------------------
> Testing...
> IF THE TEST WORKS THIS SHOULD PRINT!!!
> Done test!
> -----------------------
>
> Am I missing some new "Feature" in 2.5.0?
>
> Help!
> Thanks in advance,
> Dave Thibault
>
--
Matt Kromer
Zope Corporation http://www.zope.com/