[jboss-user] [JBoss Seam] - Re: i18n entity validation message?

nhpvti do-not-reply at jboss.com
Mon Sep 4 10:35:45 EDT 2006


"mosabua" wrote : Thanks Raja. Thats good to know. I will probably migrate to that approach for now. However it would still be better for Seam to handle that a bit more cleanly and have an example of it in the code base.

Works good  if all the error messages are required to be displayed on the only place.

Tried to use h:message tag for displaying error message close to according input field
<td><h:inputSecret id="userPassword" value="#{user.password}" required="true" /> <h:message for="userPassword"/></td>
Unfortunately default hibernate message with non-user-friendly id is shown in case if the field is empty. And if number of characters is not within allowed range, custom global message is shown.

Question to JBoss Seam developers: is there any way in Seam to show localized error message close to the input field causing this error?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969244#3969244

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969244



More information about the jboss-user mailing list