读书人

jsf中有关lt;h:commandButton/gt;标签解决

发布时间: 2012-02-25 10:01:48 作者: rapoo

jsf中有关<h:commandButton/>标签
我在Eclipse+myEclipse中自动生成标签

<h:commandButton actionlistener= "#{user.verify} "
action= "#{user.outcome} " rendered= "true " value= "实验 ">
</h:commandButton>
却出现如下错误:
……
Attribute actionlistener invalid for tag commandButton according to TLD
……
请问是怎么回事啊?
我改为
<h:commandButton value= "送出 "
actionListener= "#{user.verify} "
action= "#{user.outcome} "/>
就没关系!
谢谢各位!


[解决办法]
看看jsf in action

读书人网 >Java Web开发

热点推荐