[Zope] </dtml-var>?!?!?
David Thibault
dthibault@esperion.com
Wed, 6 Feb 2002 17:11:56 -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_01C1AF5B.49FEBAC0
Content-Type: text/plain;
charset="iso-8859-1"
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 )
------_=_NextPart_001_01C1AF5B.49FEBAC0
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>RE: [Zope] </dtml-var>?!?!?</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>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...</FONT></P>
<P><FONT SIZE=3D2>Dave</FONT>
</P>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Matthew T. Kromer [<A =
HREF=3D"mailto:matt@zope.com">mailto:matt@zope.com</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Wednesday, February 06, 2002 3:29 PM</FONT>
<BR><FONT SIZE=3D2>To: 'zope@zope.org'</FONT>
<BR><FONT SIZE=3D2>Subject: Re: [Zope] </dtml-var>?!?!?</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>Hi Dave,</FONT>
</P>
<P><FONT SIZE=3D2>Using your example, I was not able to reproduce your =
problem. I did not </FONT>
<BR><FONT SIZE=3D2>see any new tags get created in the editor, nor did =
I fail to ese the </FONT>
<BR><FONT SIZE=3D2>"If this test works this should print" =
message.</FONT>
</P>
<P><FONT SIZE=3D2>What happens when you view the frame source of your =
page that omits "if </FONT>
<BR><FONT SIZE=3D2>this test works this should print?"</FONT>
</P>
<P><FONT SIZE=3D2>Is it there with some kind of tag around it?</FONT>
</P>
<P><FONT SIZE=3D2>Did you make any changes to =
standard_html_header?</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>David Thibault wrote:</FONT>
</P>
<P><FONT SIZE=3D2>> Hello all,</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> This is my first post. I've noticed a =
couple of weird things in </FONT>
<BR><FONT SIZE=3D2>> 2.5.0. First off, the management editor =
keeps insisting on putting </FONT>
<BR><FONT SIZE=3D2>> closing tags in for <dtml-var> (like =
</dtml-var>) after I click "Save </FONT>
<BR><FONT SIZE=3D2>> Changes" on a DTML doc. </FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> Also, for some reason, the <dtml-var =
someDTMLMethod> doesn't work. </FONT>
<BR><FONT SIZE=3D2>> Here's an example:</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> index_html is a dtml document that contains the =
following (note the </FONT>
<BR><FONT SIZE=3D2>> dotted lines are not part of the code, =
they just delimit it for the </FONT>
<BR><FONT SIZE=3D2>> purposes of this email):</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><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>
<BR><FONT SIZE=3D2>></FONT>
<BR><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>
<BR><FONT SIZE=3D2>></FONT>
<BR><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>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> Done test!</FONT>
<BR><FONT SIZE=3D2>> -----------------------</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> But it should print this:</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><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>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> Am I missing some new "Feature" in =
2.5.0?</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> Help!</FONT>
<BR><FONT SIZE=3D2>> Thanks in advance,</FONT>
<BR><FONT SIZE=3D2>> Dave Thibault</FONT>
<BR><FONT SIZE=3D2>></FONT>
</P>
<BR>
<P><FONT SIZE=3D2>-- </FONT>
<BR><FONT SIZE=3D2>Matt Kromer</FONT>
<BR><FONT SIZE=3D2>Zope Corporation <A =
HREF=3D"http://www.zope.com/" =
TARGET=3D"_blank">http://www.zope.com/</A> </FONT>
</P>
<BR>
<BR>
<BR>
<P><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>Zope maillist - Zope@zope.org</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://lists.zope.org/mailman/listinfo/zope" =
TARGET=3D"_blank">http://lists.zope.org/mailman/listinfo/zope</A></FONT>=
<BR><FONT SIZE=3D2>** No cross posts or HTML =
encoding! **</FONT>
<BR><FONT SIZE=3D2>(Related lists - </FONT>
<BR><FONT SIZE=3D2> <A =
HREF=3D"http://lists.zope.org/mailman/listinfo/zope-announce" =
TARGET=3D"_blank">http://lists.zope.org/mailman/listinfo/zope-announce</=
A></FONT>
<BR><FONT SIZE=3D2> <A =
HREF=3D"http://lists.zope.org/mailman/listinfo/zope-dev" =
TARGET=3D"_blank">http://lists.zope.org/mailman/listinfo/zope-dev</A> =
)</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C1AF5B.49FEBAC0--