This content has been marked as final.
Show 1 reply
-
1. Re: How to show h:messages on a modal panel
ilya_shaikovsky Feb 12, 2008 11:54 AM (in response to shandor)<h:form id="form"> <h:inputText required="true" > <a4j:support event="onblur" oncomplete="Richfaces.showModalPanel('panel')"/> </h:inputText> <rich:modalPanel id="panel"> <rich:messages/> </rich:modalPanel> </h:form>
works fine for me. The only you need to add to my sample - check if the errors are present (to open the panel). You may use FacesContext.getMaxSeverity for this purpose.