Re: Help with autocomplete tag

2007-04-28 Thread Musachy Barroso
The json that is being generated is not "understood" by the autocompleter, which it is generating is something like: { "map" : { "name": "mario" } } in 2.6 the autocompleter doesn't accept a map as the datasource. You need to generate something like: { "map" : [ ["name", "mario"]

Help with autocomplete tag

2007-04-28 Thread Guilherme
Hi, I'm using autocomplete tag but it don't work very well. These is my configurations: struts.xml json.jsp action: public class JSONAction { private Map map = new HashMap(); public String execute() { map.put("name", "mário"); map.put