This content has been marked as final.
Show 2 replies
-
1. Re: how to display <h:message> which is of type error in <rich:modalpanel>
nbelaevski May 31, 2010 5:17 AM (in response to jyothiainelly)"RichFaces Development" subspace is not for general usage questions:http://community.jboss.org/en/richfaces/dev, moving the thread to correct space.
-
2. Re: how to display <h:message> which is of type error in <rich:modalpanel>
ilya_shaikovsky Jun 2, 2010 2:40 AM (in response to jyothiainelly)It should be pretty simple. Just use rich:messages (to get messages updated on any ajax request also.) And in order to show the modal with messages you could:
1) if there is single or a few components which requires it - just use oncomplete handler which will check FacesContext.maximumSeverity and call the modal if need.
2) if this modal should be reused everywhere on any requests messages - you could define a4j:status and use its onstop handler just in the same manned as oncomplete.