On 09/23/2002 03:31:56 PM Tim wrote:
>Another thing I'm doing now instead of using Webware's actions is to >manually check and handle a parameter within my servlet. The problem >that I ran into was that while using the actions was handy, it added >things I didn't want. Essentially, the handleAction method is called >instead of writeHTML(), but really replaces writeContent(), and still >wraps preAction() and postAction() around that, with extra HTML and so >on. Since I'm using a template for all of that, it's extra cruft I >didn't want. But it's no problem to just modify Page.py to suit your needs, keeping the actions handler. Page.py is really just very simple wrapper around HTTPServlet. I just stripped out all the HTML specific bits and wrote a different handler that played nicely with Cheetah. This way, I get to use the actions handling code, but avoid all the HTML generating stuff that I don't need. ...Edmund. ------------------------------------------------------- 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
