Basically, something like the FormEncode Schema, with
appearance/behaviour attributes. I would also like to see it been able
to init/define from a dictionary, again like Schema.
Ian Bicking wrote:
> Kevin Dangoor wrote:
> > You can instantiate a form like this:
> > myform = TableForm(widgets=[
> > widgets.TextField("name"),
> > widgets.TextField("address"),
> > widgets.TextField("age", default=0,
> > validator=validators.Int())])
>
> Isn't that just begging to be...
>
> class myform(TableForm):
> name = widgets.TextField()
> address = widgets.TextField()
> age = widgets.TextField(default=0, validator=validators.Int())
>
> ?
>
> --
> Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org