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

关于jsf中的<h:message/>该怎么处理

2012-01-29 
关于jsf中的h:message/我在jsf中使用 h:message/ 时为什么会出现如下错误?AccordingtotheTLDorthetagf

关于jsf中的<h:message/>
我在jsf中使用 <h:message/> 时为什么会出现如下错误?
According   to   the   TLD   or   the   tag   file,   attribute   for   is   mandatory   for   tag   message
可是使用 <h:messages/> 就没有错啊?

[解决办法]
<h:message for= "name " errorClass= "errors "/>
for是不能少的。

热点排行