This content has been marked as final.
Show 3 replies
-
1. Re: Add a header to rich:messages when showing errors
ilya_shaikovsky Jul 31, 2009 3:28 AM (in response to oneworld95)you could add your messages for rich panel for example with the header as you need.. And use facesContext.maximumSeverity in panel rendered attribute in order to render the panel only if rich:messages present.
-
2. Re: Add a header to rich:messages when showing errors
oneworld95 Jul 31, 2009 9:29 AM (in response to oneworld95)Thanks, Ilya. How do you check to see if the messages have a value?
-
3. Re: Add a header to rich:messages when showing errors
ilya_shaikovsky Aug 3, 2009 3:48 AM (in response to oneworld95)example from editor demo
... <a4j:outputPanel style="color: red;" rendered="#{facesContext.maximumSeverity != null and editorBean.useSeamText}"> ..