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" action="addTest"
method="cancel"/>
</@s.form>

I have verified that foosList.action returns the following
{"foos":{1:"chance",10:"test"}}

However, the autocompleter is blank after load.

Has anyone had success using the JSON plugin with the autocompleter?

Regards,
Rohit

Reply via email to