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

关于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是不能少的。