On Tue, 10 Dec 2013 17:23:43 -0200, George Christman
<gchrist...@cardaddy.com> wrote:
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.
How do you expect your validation to work with an year that doesn't exist?
@NonVisual
@Validate("min-date=test")
@Temporal(TemporalType.DATE)
private Date vacationAnniversary;
Calender component is being used.
Still code missing. Where's the contribution in AppModule?
Can you see any exceptions in the console? Is your validator constructor
actually called?
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.
Server-side validation is performed with and without client-side
validation.
I thought you were originally referring to JavaScript validation you had
implemented in your validator, causing me to not understand what you were
talking about, as the client validation of one validator is completely
unrelated to the server-side validation from another validator.
--
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