Hi
I've written a custom validator and error message and I'm adding my
own variables to the error message by overriding variablesMap().
My error message looks like thie:
properties
entry key=LocalDateTimeRangeValidator${input} must be between
${startDate} and ${endDate}/entry
this is done by formcomponent's messagesource. i would imagine it
wouldnt be set if you use the validator outside of standard
formcomponent validation - but in that case you dont have input
anyways.
see FormComponent:250 - at least that is the line number in trunk
// add the input param if not