The awake/writeHTML/sleep cycle is a suggested structure for handling servlet responses. As Matt F suggested, this is commonly used for doing non-output tasks or preparing for output. These are defined in WebKit.Page, as part of the respondToGet/respondToPost implementation.
In the standard Webkit.Page, this is used for setting up convenience variables/functions self.response(), self.request(), etc. This is the main reason you should always call your superclass' .awake() if you do additional processing in awake(). Some people ignore this structure and create a fairly equivalent one all within writeHTML/_respond, such as preWriteHTML and postWriteHTML. Basically this is all just a suggested structure, that works for most people, but there's very little in WebKit that would enforce your use of it. Enjoy, Luke ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
