工作(加载列表很好):
<s:url id="countrylist" action="lstcountryaction" />
<sj:autocompleter list="lstcountry"
listKey="idcountry" listValue="countryname" label="Country"
href="%{countrylist}" name="idcountry" />
不起作用(没有加载任何内容。没有调用该操作):
<s:url id="countrylist" action="lstcountryaction" />
<sj:autocompleter selectBox="true" list="lstcountry"
listKey="idcountry" listValue="countryname" label="Country"
href="%{countrylist}" name="idcountry" />
唯一的区别是selectBox
添加了属性。我错过了什么?我正在使用 Struts 2.3.15 和 Struts2 JQuery Plugin 3.6.1(它们都是相当新的)。
谢谢 !!