I just noticed when I first visit a zsyncer page (zope 2.6.0, Mozilla 1.2.1), the stylesheet is missing. After performing an action (delete/sync/etc), it appears in the next page load. I've looked at the HTML output and it appears that something is actually removing the stylesheet link. The sync.dtml file looks like this: <HTML lang="en"> <HEAD> <TITLE>View ZSyncer</TITLE> <link rel="stylesheet" type="text/css" href="/manage_page_style.css"> </HEAD> The buggy view looks like this: <html lang="en"> <head> <title>View ZSyncer</title> </head> And the non-buggy output like this: <html lang="en"> <head> <title>View ZSyncer</title> <link rel="stylesheet" type="text/css" href="/manage_page_style.css"> </head> The tag downcasing appears to be a mozilla byproduct, but the missing link appears to be a zope action as the same behavior happens in IE6. Is zope rewriting the head section in any way beyond the <base> tag magic? The DTML doesn't have any logic at that point so I can't imagine why it would disappear.
Charlie Reiman wrote at 2003-2-6 12:49 -0800:
.... Is zope rewriting the head section in any way beyond the <base> tag magic? Not that I would know. The DTML doesn't have any logic at that point so I can't imagine why it would disappear. Check "HTTPResponse.setBody". However, I doubt, you will find some.
Dieter
-----Original Message----- From: Dieter Maurer [mailto:dieter@handshake.de] Sent: Saturday, February 08, 2003 3:19 AM To: Charlie Reiman Cc: zope@zope.org Subject: Re: [Zope] Weird but minor zsyncer or zope bug
Charlie Reiman wrote at 2003-2-6 12:49 -0800:
.... Is zope rewriting the head section in any way beyond the <base> tag magic? Not that I would know. The DTML doesn't have any logic at that point so I can't imagine why it would disappear. Check "HTTPResponse.setBody". However, I doubt, you will find some.
Problem found and fixed. There's two dtml interfaces in ZSyncer with nearly identical heads. One was missing the stylesheet reference so I added it.
participants (2)
-
Charlie Reiman -
Dieter Maurer