I've found this one discussion:
http://forums.opensymphony.com/thread.jspa;jsessionid=aaSWPA1PEcc4tixQ2U?messageID=5041Ꮁ
I need the same: min parameter is fixed, max parameter is dynamic
(currentDay + 1 day). Please, show me how can I use some static method
inside annotation.
holod wrote:
>
>
@TypeConversion(converter =
"project.action.admin.converter.DateConverter")
@RequiredFieldValidator(message="Please, enter date. Field can't be
empty")
//@DateRangeFieldValidator(min = "01.01.1990", max = "${new Date()}",
message = "date must be between ${min} and ${max},
2 matches
Mail list logo