[jboss-user] [JBoss Seam] - Translation of field names in validation messages

nickarls do-not-reply at jboss.com
Fri Aug 3 15:10:33 EDT 2007


Is there any way of making a second pass through a resource bundle in order to look up field name translations in seam-integrated hibernate validators?

If I have a field with name or id = "username" and some sort of entry

validator.notnull={0} cannot be null 

that would produce "username cannot be null", which of course is fine in english but in some other language it could produce "username ph'nglui mglw'nafh wgah'nagl fhtagn".

Being super-dynamic and stuff, can seam-el do something automagically?

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

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

More information about the jboss-user mailing list