Although it doesn't directly address using Page-derived classes outside of Webware, take a look at http://wiki.w4py.org/transactionanatomy.html
In short, Page relies on several other objects from WebKit being created and available, particularly a Transaction and HTTPResponse/HTTPRequest as part of the transaction. The Page then expects the awake-respond-sleep cycle to be called, and then the output is collected from HTTPResponse. (Your specific error is because Page.awake does the initialization - because of servlet caching/reuse, it can't be in __init__.)
Webware servlet classes are really not designed to be used outside of Webware, if you want to continue in this direction you'll need to dig into WebKit/Application.py to see the various initialization needed for all the supporting objects.
My suggestion would be to go through the setup and run the Webware AppServer if
you want to test and play with Webware servlets, I don't want to make it seem
like regular development in Webware requires any sort of in-depth knowledge of
how Transactions and Responses are created and manipulated by the Application.
- Luke
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss