I've looked at extjs.com and it's impressive, but I really don't feel comfortable with all that js stuff. I'm happy so far to get my application work in web1.0 style. In my reply to Diez I explain how I implemented a working solution in good old web1.0 style. It's perhaps not a good idea to ignore all that fashioned new stuff, but I'm and old software engineer who ended his studies in1987 and it becomes harder and harder to follow the evolution ... I think I'm getting old ;-)
Thank you for all Your kind help Marc On Jul 3, 11:41 pm, Christoph Zwerschke <[EMAIL PROTECTED]> wrote: > mettwoch schrieb: > > > Can the AutoComplete Field behave like a SingleSelect Field? > > > 1) Feed it with (<id>, <name>) tuples from the associated search > > controller > > 2) Provide an <id> at render time and it shows the related <name> > > 3) Get back the <id> value when the containing form is submitted > > > I guess it doesn't. At least point 2) seems a constraint because it > > looks up the <name> part in the search controller and not the id. > > I think it should be possible if you provide the value for 2) manually > as the default value for the field. But the AutoComplete field is not > really suitable for such a use case. > > Maybe this is what you are looking > for?http://extjs.com/deploy/dev/examples/form/combos.html > > -- Christoph --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

