日期:2014-05-18  浏览次数:20642 次

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