Re: [S2] Autocompleter with JSON plugin

2007-07-24 Thread chengas123
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

Re: [S2] Autocompleter with JSON plugin

2007-07-24 Thread chengas123
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

Re: [S2] Autocompleter with JSON plugin

2007-07-24 Thread chengas123
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]

Re: [S2] Autocompleter with JSON plugin

2007-07-24 Thread Musachy Barroso
se" > autoComplete="true" searchType="startstring" /> > > If I visit AutocompleteField.action?city=cle I get the following: > > {"json":["CLEARFIELD","CLEARWATER","CLEBURNE","CLEMMONS","CLERMONT&qu

Re: [S2] Autocompleter with JSON plugin

2007-07-24 Thread Dave Newton
--- 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

Re: [S2] Autocompleter with JSON plugin

2007-07-24 Thread chengas123
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]

Re: [S2] Autocompleter with JSON plugin

2007-07-24 Thread chengas123
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

Re: [S2] Autocompleter with JSON plugin

2007-07-23 Thread chengas123
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

Re: [S2] Autocompleter with JSON plugin

2007-07-23 Thread Roberto Nunnari
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

[S2] Autocompleter with JSON plugin

2007-07-23 Thread chengas123
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