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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user