I'm back from a long silence sorry for that but other priorities.
I have just uploaded the latest lib 3.1.3 and now it wounds like the message
I'm referring in the subject has changed to :
15:54:22,343 ERROR [HtmlRichMessageRenderer] 'for' attribute cannot be null
I can imagine this is coming from this
<rich:message></rich:message>, but I still do not know what it means? Any help is appreciated.
so, do you have 'for' attribute of the rich:message defined?
Thanks Sergey for your quick reply. The answer is no.
Here is what I have:
<body leftmargin="10" rightmargin="10" topmargin="0" style="font-size: 10px; font-family: Verdana, Arial, Sans-Serif"> <f:view locale="en_US"> <a4j:form> <rich:message></rich:message> .... more ajax code here.... </a4j:form> </f:view> </body> ...
just check the docs :) rich message(s) the same as h:message(s) analogs but with additional features.
So you may place rich:messages to your page - and it will handle all the messages.
Or you may use rich:message for some concrete component. In this case - for attribute is mandatory.
Check our demosite to investigate the examples.