After at all, I´m sorry for my english. I have a problem showing a modalPanel. I would like show a modalPanel if the validation of the form was correct and doesn´t show it if the validation fail.
<h:form>
<rich:calendar id="date" datePattern="dd-MM-yyyy"
value="#{Bean.startDate}" required="true"/>
<a4j:commandButton value="Accept" action="#{Bean.Action}"
onclick="if(#{empty facesContext.maximumSeverity}) #{rich:component('popUp')}.show();" />
</form>
The maximumSeverity doesn´t work here because when the page load at first time, maximumSeverity is empty.
Is possible call the validation of the lifecycle of JSF to know if the form is correct or not?
Thanks!