| - If called from within an awake() or sleep() method, it immediately skips
| all further awake(), respond(), and sleep() processing and sends the
| accumulated response.

Shouldn't it still call sleep?

Usually, one subclasses Page and has something like this in SitePage (or
whatever):

        def awake(self,transaction):
                # call the super
                Page.awake(self,transaction)
                # proceed with this class stuff
                ...
                self.endResponse()

So, as far as Page is concerned, awake() has happened. Shouldn't sleep()
also happen in this case, too?

Anyway, this is a good idea. We've got our own hack of much the same thing
to handle redirects.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to