From: "Cecil Westerhof" <cldwester...@gmail.com>
Date: Tue, 13 May 2008 13:20:57 +0200
Local: Tues, May 13 2008 7:20 am
Subject: Re: [TurboGears] Re: SingleSelectField of WidgetsList not properly updated
2008/5/13 Diez B. Roggisch <de...@web.de>:
> > I only have one minor problem left. The other fields are filled I found the solution. It was something completly different as where I > > correctly for an edit. But for the owner field I have to set the > > selected value with some javascript at the client side, because it is > > not set. Is there a way to get the selected value rightly set? > Yes - you can directly set values on forms by passing a proper dictionary. was searching. And now I know the solution, it is very logical. ;-} In my model I have: In my WidgetsList class I had: I'll change the other definitions also and then I can get rid of the Maybe good to document this somewhere? To prevent other people -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||