Custom validator variablesMap() - Value of variable [[input]] could not be resolved

2008-11-06 Thread Gianni Doe
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

Re: Custom validator variablesMap() - Value of variable [[input]] could not be resolved

2008-11-06 Thread Igor Vaynberg
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