当前位置: 代码迷 >> Java Web开发 >> jsf中有关<h:commandButton/>标签解决办法
  详细解决方案

jsf中有关<h:commandButton/>标签解决办法

热度:525   发布时间:2016-04-17 14:57:15.0
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
  相关解决方案