<s:autocompleter的value是当theme为simple时的默认选项。有没有根据listKey确定那个选项默认选中的。
解决方案 »
- Tomcat如何限制访问web服务的访问人数
- hibernate中怎么样才能使用decode?
- 面试经验多的朋友进来谈谈好吗?
- dom sax解析xml文档的时候,每次运行时间不一样
- webwork2——最优雅的框架技术!
- 一个很急很急的问题
- hibernate set里面如果有inverse="true",那么cascade="delete-orphan"似乎不起作用了。。。。
- tomcat又无法启动了
- struts初级实例 这一步该怎么办?
- WebSphere的9080端口跳转80端口的问题
- java.lang.NoClassDefFoundError: org/apache/commons/beanutils/Converter
- 【【【【WEBLOGIC92(AIX5)服务器发生访问时断时续事件,请教高手可能是什么原因
页面上不加
<s:head theme="ajax" debug="true" />
若要有必须加入<s:head theme="ajax" debug="true" />
<s:autocompleter id="sel"
forceValidOption="true"
autoComplete="true"
searchType="startstring"
list="#{'1':'111','2':'222','3':'333'}"
theme="simple"
name="aabbcc"
listKey="key"
listValue="value"
value="%{'2','222'}"
loadOnTextChange="true"
loadMinimumCount="1"
label="3000"/>
即使加了 <s:head theme="ajax" debug="true" />也可以使得222被选中,list里放vo也一样可以。