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
Greg Ward
2003-12-01
On 30 November 2003, To quixote-users@mems-exchange.org said:
> OK, the "Generalizing frame/widget framework a bit" thread had lots of
> good things to say.  I'm attaching a patch in two parts that, IMHO,
> represents the group consensus.  This is relative to Quixote 0.7a2; my
> previous patch in this direction is withdrawn.

Oops: that patch was actually relative to my local approximation of the
Quixote Subversion repository.  Since Quixote doesn't have a public
repository, it's not much use to anyone whose email address doesn't end
in "mems-exchange.org".

Also, I'm having second thoughts about this:

> StringWidget's 'size' and 'maxlength'
> attributes and constructor keyword arguments are gone, as are
> TextWidget's 'rows', 'cols', and 'wrap', and so forth.

because those constructor keyword args are just darn convenient.

Oh, and there was a little bug in my patch of RadiobuttonsWidget.

So here's a revised patch of form2/widget.py.  This is still relative to
the Subversion repository, so I'll also attach my current versions of
form2/widget.py and html.py.  Would love to hear from anyone else
playing with this patch...

        Greg
--
Greg Ward                          http://www.gerg.ca/
A day without sunshine is like night.
reply