n, which was the name of the
Map in my action:
json
--
View this message in context:
http://www.nabble.com/-S2--Autocompleter-with-JSON-plugin-tf4132448.html#a11770551
Sent from the Struts - User ma
xecute() throws Exception {
PersonDAO dao = new PersonDAO();
if(!isEmpty(city)) {
json = dao.getCities(city);
}
return SUCCESS;
}
--
View this message in context:
http://www.nabble.com/-S2--Autocompleter
xt:
http://www.nabble.com/-S2--Autocompleter-with-JSON-plugin-tf4132448.html#a11767651
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
se"
> autoComplete="true" searchType="startstring" />
>
> If I visit AutocompleteField.action?city=cle I get the following:
>
>
{"json":["CLEARFIELD","CLEARWATER","CLEBURNE","CLEMMONS","CLERMONT&qu
--- chengas123 <[EMAIL PROTECTED]> wrote:
> Is my JSON not formatted properly?
http://struts.apache.org/2.x/docs/ajax-tags.html#AjaxTags-autocompleterTag
Has the Ajax tag been updated to use JSON from the
JSON result type? If so, the docs should be changed,
otherwise I could see that being an is
ot;,"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#a11766335
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
More specifically I have:
chengas123 wrote:
>
> Yep, I do.
>
>
> Roberto Nunnari wrote:
>>
>> Do you have the tag? It won't work without that.
>>
>
>
--
View this message in context:
http://www.nabble.com/-S2--Autocompleter-with-JSON-p
Yep, I do.
Roberto Nunnari wrote:
>
> Do you have the tag? It won't work without that.
>
--
View this message in context:
http://www.nabble.com/-S2--Autocompleter-with-JSON-plugin-tf4132448.html#a11754924
Sent from the Struts - User mailing list archive
Do you have the tag? It won't work without that.
chengas123 wrote:
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:
autoComplete="true" searchType="st
t;:["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.ht
10 matches
Mail list logo