打印

[Java] struts2.0的ajax兼容问题

struts2.0的ajax兼容问题

在使用struts2.0标签
<s:autocompleter theme="ajax" name="zxw01" href="%{userCode}"
loadOnTextChange="true" loadMinimumCount="1" indicator="indicator"
autoComplete="false" showDownArrow="false" onchange="getuserName()" theme="simple"/>
如何使用onchange事件.我上面的用法怎么不能激发这一事件!!
后来发现onchange事件不能激发的原因是因为与struts2.0的ajax框架发生冲突!
<s:head theme="ajax" debug="true"/>
如果我不用struts2.0的ajax的话onchange事件是可以触发的!
如果我两者都要用,如何解决冲突的问题!!

TOP

给struts的人报bug贝

TOP


感谢一直以来您对我们的支持!
当前时区 GMT+8, 现在时间是 2008-12-3 08:56 京ICP证060528 号

Designed By 17DST