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
-~----------~----~----~----~------~----~------~--~---

Reply via email to