On 10:41 Tue 20 Apr , Ian Bicking wrote:
> Aaron Held wrote:
> >I like actions the way they are - they are very simple to understand.
> >If you have a hello "Aaron" type app its easy to setup a servlet like
> >
> >def writeContent(self):
> > self.write('<form><input type="text" name="username"><submit
> >name="_acctionHello"</form>');
> >
> >def hello(self):
> > self.write('Hello %s' % self.request().value('username','No User Name'))
>
> Where it gets all annoying, though, is preAction and postAction, which
> are like an anemic form of the writeHTML, writeHead, writeTitle,
> writeStyleSheet etc. setup that Page has for normal requests. Or, where
> you don't want to write anything, but way to treat the action as an
> action (i.e., something that does something, not something that merely
> changes the display) -- there again preAction and postAction get in the way.
>
> Ian
Amen! Unless you're building a demo, you have specific requirements for the
output. I would like to see the extraneous functions removed.
Eric
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss