On 26/04/2006, at 13:47, Jorge Godoy wrote: > But we can override those widgets at __init__. I believe we can't > do that at > display time, but I haven't tried it.
No way Jose, err, Jorge... member_widgets *must* be fixed at __init__ time because a Schema is created to validate the form they're in. If changed at display, you'd have no way to know which fields were actually displayed in the next request when you received the POSTed params to properly validate it. This is actually my strongest point against listing member widgets at "params". Params *can* be overriden at display, member_widgets *cannot*. Just to clear things out, Alberto --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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-trunk -~----------~----~----~----~------~----~------~--~---
