![]() | Stripes 1.4: How to customize meesages from @Validation |
|
03 Aug 2009, 17:32
Jim Smith (2 posts) |
We are still using Stripes 1.4. I have an annotation like this: Using consumerContact as an example, I get these types of error messages: In 1.5, the added annotation “label” will do what I need, but alas, we’re on 1.4. What can I use in Stripe’s ResourceProperties to format the message the way I like? Any help will be greatly appreciated. |
|
10 Aug 2009, 14:03
Frederic Daoud (16 posts) |
Hi Jim, Try this, in StripesResources.properties:
orderDescription.consumerContact.valueNotPresent=You must enter a value in the Contact field.
orderDescription.consumerContact.valueTooShort=The value you enter for Contact must be at least {2} characters.
Hope that helps. |
|
12 Aug 2009, 12:39
Jim Smith (2 posts) |
That worked fine: thanks! |
| You must be logged in to comment |

