> 
> 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",

This sounds suspicious. What do you mean by instantiation time?

> 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.

How exactly do you add validators to the mix?

Diez

-- 
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.

Reply via email to