On Thu, Feb 19, 2004 at 07:27:39PM -0500, Matt Feifarek wrote:

> How do most people listening use actions?

In fact for me no action -> writeHTML(), i don't use writeBody
or other stuff at all. But i think that we should take a look
at that. why we aren't write something like this



class MyPage(Page):
      ...
      def actions(self):
          return ['writehml','addData'...]
          
          
         
          
     def writehtml(self):
         ..


or even better twist the writeHML() to render() or something 
more high level... 


Another thing, how can i have action w/ long name, like this
<input type="submit" name="_actions_" value="Save this"> 
I can't write the def Save this(self), due to space trouble .. 
someone can help me ? 




Bye Bye .. 










-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to