On 1/19/06, Matthew Bevan <[EMAIL PROTECTED]> wrote: > > class MyForm(TableForm): > > name = TextField() > > age = TextField(validators=Int()) > > > > form = MyForm() > > There is much potential here. As an example, having default values be class > method callables, as the default values in SQLObject can be simple callables. > This could be forwarded into select widgets, allowing a callable to return a > list of tuples. (A simple exmaple would be a lambda SQLObject.select() > lookup. > > Having this structure would not only solve the issue of cloning for thread > safety, but would also make my life a heck of lot simpler. ;^)
I'm not sure what the relationship is between this declaration style and making default values callable. Kevin

