As of today the key/messages used by the annotated validators do not allow to receive custom arguments, since only the parameters defined by the annotation can be used. In order to improve that I suggest to add a parameter keyArgs to the validation annotations so it will be passed to the OGNL evaluator when it evaluates the key provided in the annotation. That way the following would be possible:
Then the key/message could be something like this:
And the result would be
It would allow to customize the message even further than it allows now. I suppose it would need to be implemented also in xml validations, but I haven't used them, so I don't what would be needed for that.