[jboss-user] [JBoss Seam] - Re: i18n validation message during test

atao do-not-reply at jboss.com
Thu Sep 14 18:59:55 EDT 2006


Oups! Sorry, the mistake is only here. The code is really like:

   @Length(min=16, max=16, message="#{messages['booking.credit.card.number.wrong.length']}")          

and during test, ( (FacesMessage) messages.next() ).getSummary() returns

#{messages['booking.credit.card.number.wrong.length']}

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

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



More information about the jboss-user mailing list