首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

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

2012-02-25 
jsf中有关h:commandButton/标签我在Eclipse+myEclipse中自动生成标签h:commandButtonactionlistener

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

热点排行