[jboss-user] [JBoss Seam] - error messages not displayed
kgoedert
do-not-reply at jboss.com
Wed Sep 12 13:33:53 EDT 2007
Hi,
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">
| <table>
| <tr>
| <td colspan="2" class="login-head">Login SIG</td>
| </tr>
| <tr>
| <td class="label">User:</td>
| <td><h:inputText class="input" id="login" name="login"
| value="#{identity.username}" /></td>
| </tr>
| <tr>
| <td class="label">password:</td>
| <td><h:inputSecret id="password" class="input"
| value="#{identity.password}" /></td>
| </tr>
| <tr>
| <td colspan="2" align="right">
| <a4j:commandButton
| action="#{identity.login()}" value="Login"
| styleClass="large-button" />
| <input type="button" value="Cancelar" id="btCancel" class="large-button" />
| </td>
| </tr>
| </table>
|
| <div><h:messages/></div>
| </div>
|
I tried s:message but it also didn´t work. My messages.properties file is on WEB-INF/classes
Thanks
Kelly
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083589#4083589
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083589
More information about the jboss-user
mailing list