> 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.
Its a little harder to start w/ the standard webware WebKit.Page and go
to templates, but try writing actions something like this:
def next(self):
''' move the start point and process normally '''
self.RSStart=curPos + self.pageSize
self.writeHTML()
def printPage(self):
'''Just the meat, no header or footer please '''
self._printThis=1
self.writeln('<html><body>')
self.writeContent()
self.writeln('</body></html>')
-------------------------------------------------------
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