1 Reply Latest reply on Feb 22, 2010 10:07 AM by Ilya Shaikovsky

    rich:message appears upon first loading form. Possible only upon validation?

    Markos Fragkakis Newbie



      When I use h:message like below, the chechboxes are rendered when my form is first rendered. I want the rich:message to appear only when I press the submit button, when the form is submitted and validation is performed. How can I do this?




                                         <rich:message for="applicantName"
                                         <f:facet name="passedMarker">
                                              <h:graphicImage value="/images/icons/validation/passed.gif" />
                                         <f:facet name="errorMarker">
                                              <h:graphicImage value="/images/icons/validation/error.gif" />