Re: s.autocompleter with JSON Plugin

2007-03-20 Thread Piero Sartini
I tried to apply the patch that is in JIRA - but it does not work. I guess it is not only the change in the JavaScript but somewhere in the Java classes as well. Is there a prepackaged 2.0.7 somewhere? Or do I have to build it by myself? Need to present s2 soon and it would be great if I get

Re: s.autocompleter with JSON Plugin

2007-03-20 Thread Musachy Barroso
I think the daily builds are for 2.1 only. If you want to build it: http://struts.apache.org/2.x/docs/building-with-maven.html The autocompleter tag can be used without the json plugin, check showcase for examples. musachy On 3/20/07, Piero Sartini [EMAIL PROTECTED] wrote: I tried to apply

Re: s.autocompleter with JSON Plugin

2007-03-20 Thread Piero Sartini
Am Dienstag, 20. März 2007 schrieb Musachy Barroso: I think the daily builds are for 2.1 only. If you want to build it: http://struts.apache.org/2.x/docs/building-with-maven.html I tried to build tags/STRUTS_2_0_7 as well as trunk. both seem to be broken: [surefire] Running

s.autocompleter with JSON Plugin

2007-03-17 Thread Rohit Dewan
I have the following in the body: @s.url id=foos value=foosList.action / @s.form theme=ajax action=addTest method=add @s.autocompleterModel theme=ajax href=%{foos} name=foo / @s.submit value=OK action=addTest method=add/ @s.submit value=Cancel

Re: s.autocompleter with JSON Plugin

2007-03-17 Thread Dave Newton
--- Rohit Dewan [EMAIL PROTECTED] wrote: However, the autocompleter is blank after load. Has anyone had success using the JSON plugin with the autocompleter? I'm getting a JavaScript error: [Exception... 'Error: TypeError: this.data[x][0].toLowerCase is not a function' when calling method:

Re: s.autocompleter with JSON Plugin

2007-03-17 Thread Musachy Barroso
This was an issue in 2.0.6 and it is fixed on 2.0.7: https://issues.apache.org/struts/browse/WW-1659 As Dave mentioned in 2.0.6 the autocompleter was expecting an array of arrays. Now the autocompleter will use the following logic to determine how to load the data: 1. If the response is an