I see that Commons Validator now supports this as an option. For
applications (and whole companies) which aren't concerned about i18n it
would be very nice to have less moving pieces and place the name of the
field directly into validation.xml rather than referencing a key into a
resource
Ah ha. Found it. Looks like the dev guys accounted for this.
You can see how in org.apache.struts.validator.Resources.
public static ActionMessage getActionMessage(Validator validator,
HttpServletRequest request, ValidatorAction va, Field field) {
Msg msg =
2 matches
Mail list logo