OK, if I do a "View/Page Source" in netscape on that index_html page, I see the dtml code...the server is not parsing it out. What might cause that? Why would this be something new in 2.5.0? I did notice that there's now a "Content type" box in the manage_workspace...
Dave
-----Original Message-----
From: Matthew T. Kromer [mailto:matt@zope.com]
Sent: Wednesday, February 06, 2002 3:29 PM
To: 'zope@zope.org'
Subject: Re: [Zope] </dtml-var>?!?!?
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/
_______________________________________________
Zope maillist - Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )