The exception made me think of configuration, but the real problem is clear from your original message...
On 3/21/06, Richard (koorb) <[EMAIL PROTECTED]> wrote: > then for a SingleSelectField I want to output a list of groups the > current user is in > > options=[(group.id, group.displayName) for group in > identity.current.groups] And *there's* the problem. identity.current is only going to work in the context of a request, not when you're initially setting up your widgets. (The thing to remember about widgets is that they generally outlive requests.) I believe options can be a callable. Try something like: options = lambda: [(group.id, group.displayName) for group in identity.current.groups] Kevin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

