The AutoCompleteField doesn't work in the widget browser for me right now.

Page handler: <bound method AutoCompleteDesc.search of
AutoCompleteDesc(name='Auto Complete',
for_widget=AutoCompleteField(name='state', result_name='states',
field_class='autocompletefield', search_param='statename',
search_controller='turbogears.widgets.AutoCompleteField/search',
attrs={}))>

Traceback (most recent call last):
  File "_speedups.pyx", line 376, in _speedups.BaseDispatcher.__getitem__
  File "build/bdist.darwin-8.3.0-Power_Macintosh/egg/dispatch/interfaces.py",
line 15, in __call__
NoApplicableMethods: ((<function search at 0x10522f0>,
'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
None, False, (AutoCompleteDesc(name='Auto Complete',
for_widget=AutoCompleteField(name='state', result_name='states',
field_class='autocompletefield', search_param='statename',
search_controller='turbogears.widgets.AutoCompleteField/search',
attrs={})), u'mi'), {'tg_format': u'json', 'tg_random':
u'1143141885307'}), {})

The request has requested json and the method in question is exposed as such:
    search = expose(format="json")(search)

Kevin

--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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-trunk
-~----------~----~----~----~------~----~------~--~---

Reply via email to