I prefer the "fields" declaration :

form = TableForm(widgets=[
     TextField("name"),
     TextField("age", validators=Int())
 ])

Because:

1) the inner class is like SQLObject but not same. For user, and newbees, it's a cause of Bugs... why No fields appear in my form, or why error when I acces to the data. It's too similar

2) fields is simple to understand for user, simple to use for form-maker (human 
or program)

And I agree to keep only one of the two/tree ways.


--
--------------------------------------------------------------
David "Dwayne" Bernard            Freelance Developer

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to