On Thu, 23 Mar 2006 14:28:29 -0500
"Kevin Dangoor" <[EMAIL PROTECTED]> wrote:

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

I just sent an email about that, but I also figured out what's wrong ;)

http://groups.google.ca/group/turbogears-trunk/browse_thread/thread/374f7dac08ed8799/bb33f59531248527

Jason

Attachment: signature.asc
Description: PGP signature

Reply via email to