"Fernando Aires" <[EMAIL PROTECTED]> writes: > I have a previously instantiated widget (particularly a > SingleSelectField), and need to change one of its parameters > (particularly the options attribute). To do it straightly generates an > exception. > I found at the list archives one patch from last January, from > Michele Celia, proposing a change. However, there's any other way of > doing so, without redefining the widget?
The thread-safe option is using a callable to populate your list. This will change the available options that can be selected. Another option is using JavaScript (this is the only option when the values that you'll be showing depend on some previous choice). -- Jorge Godoy <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

