If I must pre-define the form widget I can define a dictionary where I insert all the possibility for my form widget. So I can choise the correct form from the value of the 'role' parameter in the function activity1. But how can I use the same form in the validate line? At this level I do'nt know the 'role' parameter so I can't choise the correct form from the dictionary. Enrico
On 16 Giu, 11:45, "Diez B. Roggisch" <[email protected]> wrote: > On Tuesday 16 June 2009 10:38:16 enrico secco wrote: > > > Thanks for the help, but I do'nt understand while the problem is the > > function. > > The form obtained from the function work very well so I think the > > function is ok. > > Well, obviously enough something is *not* working. Otherwise you wouldn't ask > here, wouldn't you? > > I don't know 100% for sure if the problem is the function re-creating the > widgets *is* the problem, but as the issue is losing values that are supposed > to be bound to the instance somehow, it might well be that creating new > instances will cause this issue. > > 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 -~----------~----~----~----~------~----~------~--~---

