I suspect this is just something dumb I'm staring right at, since I'm relatively new to both Python and TG2. Using TG2.1 and tw.forms-0.9.9
I've got a pair of tw.forms that are children of a custom widget. All the widgets are named, so the resulting fields have names like "person_form.firstname", etc. I can pass data to the forms at instantiation time (although using unqualified names like "firstname", rather than "person_form.firstname"), but the kwargs dict passed to the controller contains keys as "person_form.firstname", etc. This isn't a problem, although it seems a little counter intuitive, until I add validators... at which time the validators begin to fail with errors like "The input field 'person_form' was not expected.", which I suspect is directly related to the name mangling going on with the child/parent widget relationships. Any push in the right direction here would be greatly appreciated. -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

