Re: [Zope3-Users] Re: Is this a bug of HTTP response's head handling? (publisherhttpserver.py)

2006-09-21 Thread Simon Hang
Philipp, Sorry for being lazy, and thanks for the tips.  Here is my update version. --- httptask.py.orig    Fri Jan 06 02:15:48 2006+++ httptask.py Fri Sep 22 09:13:48 2006@@ -126,6 +126,11 @@ else: close_it = 1 elif version == '1.1':+    #modified by Sim

Re: [Zope3-Users] MySQL connection timeout problem

2006-09-21 Thread Brian Sutherland
On Mon, Sep 18, 2006 at 09:43:01AM -0700, Michael Bernstein wrote: > I am running into a problem that seems superficially similar to the one > described here: > http://mail.zope.org/pipermail/zope3-dev/2005-December/thread.html#17052 Michael and I finally managed to come up with a patch we think d

Re: [Zope3-Users] Viewlets for menus

2006-09-21 Thread ksmith93940-dev
Hi Florian, I put together some simple installable examples or zope.viewlet and zope.contentprovider. You can check them out from svn checkout http://zope3demos.googlecode.com/svn/trunk/ zope3demos project page http://code.google.com/p/zope3demos/ Kevin Smith - Original Message From:

[Zope3-Users] Logout

2006-09-21 Thread David Johnson
Does anyone know how to logout? We’ve been using logout.html as the logout page for Zope Realm Basic Auth, and it does not seem to log us out.  We’re using IE 6.   It says it has logged us out, but does not. Closing the browser works, but that seems to be the only solution.     -- Da

[Zope3-Users] Re: Viewlets for menus

2006-09-21 Thread Jürgen Kartnaller
Hi Florian. Look at z3c.menu We use this heavily in our applications. Jürgen Florian Lindner wrote: Hello, I've read various times that viewlets would be a good replacements for menu (or was it content providers?). How would such a replacement look like? Could anyone give a sketch of how to

[Zope3-Users] Viewlets for menus

2006-09-21 Thread Florian Lindner
Hello, I've read various times that viewlets would be a good replacements for menu (or was it content providers?). How would such a replacement look like? Could anyone give a sketch of how to use viewlets? The concrete good I will probably be able to figure out myself, just the concept is not cl

Re: [Zope3-Users] Re: Is this a bug of HTTP response's head handling? (publisherhttpserver.py)

2006-09-21 Thread Philipp von Weitershausen
Hi Simon, I have a few comments regarding style. First:: if thisflag == False: ... is unnecessarily long. Just write:: if not thisflag: ... Also, what is "thisflag"? It'd be better to give it a descriptive name. --- httptask.py.origFri Jan 06 02:15:48 2006 +++ httptask.p

Re: [Zope3-Users] Re: Is this a bug of HTTP response's head handling? (publisherhttpserver.py)

2006-09-21 Thread Simon Hang
Thanks Philipp, here is the unified diffs. --- httptask.py.orig    Fri Jan 06 02:15:48 2006+++ httptask.py Thu Sep 21 17:31:17 2006@@ -126,6 +126,15 @@ else: close_it = 1 elif version == '1.1':+    #modified by Simon +    thisflag = False+

[Zope3-Users] Re: Is this a bug of HTTP response's head handling? (publisherhttpserver.py)

2006-09-21 Thread Philipp von Weitershausen
Simon Hang wrote: How about below changes? There aren't many of us who know the zope.server code that well, unfortunately. This is one of the reasons we want to "get out of the server business". That said, it would *much* easier to understand what you're trying to do if you provided *unifi