日期:2014-05-18  浏览次数:20637 次

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