当前位置: 代码迷 >> Java Web开发 >> 关于jsf中的<h:message/>该怎么处理
  详细解决方案

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

热度:545   发布时间:2016-04-17 14:59:33.0
关于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是不能少的。
  相关解决方案