Re: autocompleter with JSON plugin

2007-04-06 Thread Rohit Dewan
Hi Musachy, That was it. It works now! Especially given that the autocompleter is structured as a key value pair, supporting maps would be a natural fit. Thanks for creating the enhancement request on JIRA. Regards, Rohit On 4/6/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: The autocomplete

Re: autocompleter with JSON plugin

2007-04-06 Thread Musachy Barroso
The autocompleter is expecting the "datasource" to be an array, not a map(or object), so in this case it should be: {"foos": [ ["1", "chance"], ["10", "test"] ] } Although it would be convenient if it would take a map also: https://issues.apache.org/struts/browse/WW-1872