Am 08.03.2011 um 22:19 schrieb Amnu:

Trying to get an AutoCompleteField working but I can't figure out
where the data retrieval function is to be located. I figured it would
be sent to the root controller but nothing happens there - some debug
printing didn't even show up, so apparently the method does not get
called. Same goes for the subcontroller where the widget form
originated from.

I pretty much stuck to the TG2 documentation at
http://www.turbogears.org/2.1/docs/main/ToscaWidgets/forms.html

I don't see no autocompletion mentioned on that site.


The form is displayed correctly, only the completionURL parameter
seems to be off. Even using the exact code from the tutorial didn't
work. I installed tw.jquery right before working with it, so it ought
to be up to date. Same goes for my TG.

Suggestions?

Start using firebug + the net-tab to see where the autocomplete call tries to make it's request to. Show us your code.

Diez

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