-
Nov 23rd, 2005, 04:06 AM
#1
Access a message from a ResourceBundle from a Validator class
I do not know how to access a message from a ResourceBundle from a Validator class!
I have a form like this:
City: input type="text"
I am validating with ValidationUtils.rejectIfEmpty() and I want the message to be like this: "City is required!"
I have the "{0} is required" message and I have to pass the "City" argument - also kept as a message... How do I acces the message that is keeping the "City" ? In fact how do I access the locale from the Validator class?
Thanks,
Marius
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules