Hi,
I'm having trouble getting the autocompleter working.  When I type in the
box, nothing happens.
I am using Struts 2.0.8 with JSON plugin 0.15.

The relevant lines from my JSP are:
    <s:url id="jsonList" value="/AutocompleteField.action"/>
    <s:autocompleter name="city" theme="ajax" href="%{jsonList}"
dataFieldName="json" cssStyle="width:132px" showDownArrow="false"
autoComplete="true" searchType="startstring" />      

If I visit AutocompleteField.action?city=cle I get the following:
   
{"json":["CLEARFIELD","CLEARWATER","CLEBURNE","CLEMMONS","CLERMONT","CLEVELAND"]}

Thanks,
Ben
http://www.benmccann.com benmccann.com 
-- 
View this message in context: 
http://www.nabble.com/-S2--Autocompleter-with-JSON-plugin-tf4132448.html#a11752774
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to