I annotated my entity property like so for testing. I realize "test" is not a valid date, but should still make the output in validate.
@NonVisual @Validate("min-date=test") @Temporal(TemporalType.DATE) private Date vacationAnniversary; Calender component is being used. I was referring to the validators js. You can test this very easily with the regexp validator. Simply add the validator to a date field and submit it with a bad value. You'll get a clientside validation error. If you were to disable clientside validation and attemp to submit the form, your submission will not be intercepted by serverside validation. On Tue, Dec 10, 2013 at 1:56 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 10 Dec 2013 16:11:03 -0200, George Christman < > gchrist...@cardaddy.com> wrote: > > lol your a funny guy :) >> > > :P > > > okay see code below, the validate method is never >> called when using Date, it works perfectly with other data types. >> > > Code looks ok. How are you applying this validator to the field? Which > JavaScript validation you said works? Is the property edited a Date? > > Cheers! > > > -- > Thiago H. de Paula Figueiredo > Tapestry, Java and Hibernate consultant and developer > http://machina.com.br > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- George Christman www.CarDaddy.com P.O. Box 735 Johnstown, New York