I'm using the AutoCompletingFKLookupField in a table form.  When
loading data from the database, I go through and set the values for
all the fields in the form.  When using the
AutoCompletingFKLookupField, I'm able to set the value for the "id"
portion of the field using something like:
     values['FieldName'] = dbObject.FieldNameID

But I'm not able to set the default value for the text portion of the
lookup.  When the form loads, the look up doesn't go.  I tried using:
    values['FieldName_text'] = dbObject.FieldName.Description
But it does nothing.

Any ideas on how I can get this widget to set the default for the text
portion?

Thanks,

Wes.


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