[Zope] </dtml-var>?!?!?
David Thibault
dthibault@esperion.com
Wed, 6 Feb 2002 16:01:05 -0500
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C1AF51.64254360
Content-Type: text/plain;
charset="iso-8859-1"
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
------_=_NextPart_001_01C1AF51.64254360
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2654.45">
<TITLE></dtml-var>?!?!?</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>Hello all,</FONT>
</P>
<P><FONT SIZE=3D2>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. </FONT></P>
<P><FONT SIZE=3D2>Also, for some reason, the <dtml-var =
someDTMLMethod> doesn't work. Here's an example:</FONT>
</P>
<P><FONT SIZE=3D2>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):</FONT></P>
<P><FONT SIZE=3D2>------------------------------------</FONT>
<BR><FONT SIZE=3D2><dtml-var standard_html_header></FONT>
<BR><FONT SIZE=3D2>Testing...<br></FONT>
<BR><FONT SIZE=3D2><dtml-var testDtmlMethod><br></FONT>
<BR><FONT SIZE=3D2>Done test!<br></FONT>
<BR><FONT SIZE=3D2><dtml-var standard_html_footer></FONT>
<BR><FONT SIZE=3D2>------------------------------------</FONT>
</P>
<P><FONT SIZE=3D2>and testDtmlMethod is a DTML Method that =
contains:</FONT>
<BR><FONT SIZE=3D2>-----------------------</FONT>
<BR><FONT SIZE=3D2>IF THE TEST WORKS THIS SHOULD PRINT!!!</FONT>
<BR><FONT SIZE=3D2>-----------------------</FONT>
</P>
<P><FONT SIZE=3D2>When you view index_html in the browser, it looks =
like this:</FONT>
<BR><FONT SIZE=3D2>-----------------------</FONT>
<BR><FONT SIZE=3D2>Testing...</FONT>
</P>
<P><FONT SIZE=3D2>Done test!</FONT>
<BR><FONT SIZE=3D2>-----------------------</FONT>
</P>
<P><FONT SIZE=3D2>But it should print this:</FONT>
</P>
<P><FONT SIZE=3D2>-----------------------</FONT>
<BR><FONT SIZE=3D2>Testing...</FONT>
<BR><FONT SIZE=3D2>IF THE TEST WORKS THIS SHOULD PRINT!!!</FONT>
<BR><FONT SIZE=3D2>Done test!</FONT>
<BR><FONT SIZE=3D2>-----------------------</FONT>
</P>
<P><FONT SIZE=3D2>Am I missing some new "Feature" in =
2.5.0?</FONT>
</P>
<P><FONT SIZE=3D2>Help!</FONT>
<BR><FONT SIZE=3D2>Thanks in advance,</FONT>
<BR><FONT SIZE=3D2>Dave Thibault</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C1AF51.64254360--