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.

I am using Struts 2.0.7 and JSON Plugin 0.7

Any thoughts?

Thanks,
Rohit

Reply via email to