durusmail: quixote-users: Patch: add html_attrs keyword arg to widget classes
Generalizing form/widget API a bit
2003-11-25
2003-11-25
2003-11-25
2003-11-25
2003-11-25
2003-11-26
2003-11-26
2003-11-26
2003-11-26
2003-11-26
2003-11-26
2003-11-26
2003-11-26
2003-11-26
2003-11-26
2003-11-26
2003-11-29
2003-11-30
2003-11-26
2003-11-26
2003-11-26
Patch: add html_attrs keyword arg to widget classes
2003-11-30
Patch: add html_attrs keyword arg to widget classes
2003-12-01
Patch: add html_attrs keyword arg to widget classes
2003-12-01
Patch: add html_attrs keyword arg to widget classes
2003-12-01
2003-12-02
2003-12-03
2003-12-02
Patch: add html_attrs keyword arg to widget classes
2003-12-01
Patch: add html_attrs keyword arg to widget classes
2003-12-01
Patch: add html_attrs keyword arg to widget classes
Oscar Rambla
2003-12-02
On Monday 01 December 2003 12:46, Neil Schemenauer wrote:
> Here's another proposed patch.
>  Also, the merging behavor of having both is handy to have.  For example,
>the multiple select widget constructor can be:
>
>    def __init__(self, name, value=None, options=None, **kwargs):
>        SingleSelectWidget.__init__(self, name, value, options,
>                                    multiple='multiple', **kwargs)
>
> and some funky code can be removed from SelectWidget.render().
>

I agree, it's a benefit for the framework.
+1

I said
>Then,as a old algebra teacher liked to say: ...

I confess that i never understood what she was saying with that. ;-)

Oscar Rambla
CODI

reply