Huy Do wrote:
> Hi,
> 
> I was just wondering if there is a way to set a default action if no
> action was specified.
> 
> Many Thanks
> 
> Huy

If there's no action specified, then writeHTML() gets called instead of
handleAction().  So by overriding writeHTML() you can get the effect of a
default action.

For example, if you want 'foo' to be your default action then this should
work:

        def writeHTML(self):
                self.handleAction('foo')

- Geoff


-------------------------------------------------------
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

Reply via email to