0 Replies Latest reply on Sep 12, 2007 1:33 PM by kelly goedert

    error messages not displayed

    kelly goedert Apprentice


      I´m facing a problem that is, all my error messages generated by faces and hibernate validator are only displayed on the console. What do I have to do to display them on the page? My page is like this:

      <h:form id="loginForm">
       <div class="login-box">
       <td colspan="2" class="login-head">Login SIG</td>
       <td class="label">User:</td>
       <td><h:inputText class="input" id="login" name="login"
       value="#{identity.username}" /></td>
       <td class="label">password:</td>
       <td><h:inputSecret id="password" class="input"
       value="#{identity.password}" /></td>
       <td colspan="2" align="right">
       action="#{identity.login()}" value="Login"
       styleClass="large-button" />
       <input type="button" value="Cancelar" id="btCancel" class="large-button" />

      I tried s:message but it also didn´t work. My messages.properties file is on WEB-INF/classes