When I choose an ID in the id_text, It searchs, and the widgets
returns the tuple, but doesn`t show it in the text_field.
Besides, when I start writing in the text_field, it starts searching
and show me a list of possible results, but when I put the mouse on or
use the arrows to select the text I'm looking for, it puts in blanks,
white or whatever, just the one where the mouse is over, the others
stay 'readeable'.
When I choose one, in the ID-field appears the ID, and in the
text_field appears the text I have chosen.
When I submit, in the 2 ways, I receive both params.

Using:
Python25
toscawidgets-0.1a2dev_r3417-py2.5
twajaxtools-0.1a0dev_r3048-py2.5


Model:
class Person(SQLObject):
    name = UnicodeCol(length=50, notNone=True)

The Widget:
from toscawidgets.widgets.ajax_tools import AjaxTableForm
from toscawidgets.widgets.ajax_tools import
AutoCompletingFKLookupField

class FieldsFormPerson(AjaxTableForm):

    class fields(WidgetsList):
        person =  AutoCompletingFKLookupField(label='Person:',
                                              url='search',
 
id_search_param="person_id",
 
text_search_param="person_name",
                                              var_name="persons")

person_form = FieldsFormPersona(id='person_form',
                        action='post_person',
                        submit_text="Aceptar",
                        ignore_redirects=False)


The controllers use it, do the searchs ok (person_id or person_name)

Thanks for reading, thanks for answering :)
Matias
p/s: I could send snapshots if the problem is not well explain.


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