--- 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: [nsIDOMEventListener::handleEvent]"
nsresult: "0x8057001c
(NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location:
"<unknown>" data: no]

(I'm also doing this in JSP w/o the workaround you're
using.)

The <s:autocompleter.../> tag docs says that input
data must be in the format

[["foo":"bar"],
 ["baz":"quux"]]

though, so... I don't know if it will work with the
default JSON plugin, and if true that would also imply
that you could only load one autocompleter per JSON
Action rather than lumping a bunch together (if you
wanted to) and the tag would grab the appropriate data
by the tag's "name" attribute.

d.



 
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to