Thiago H. de Paula Figueiredo schrieb:
Em Sun, 20 Dec 2009 11:24:23 -0200, Sebastian Hennebrueder
<[email protected]> escreveu:
I mentioned a couple of weeks ago that I miss the option to get grap
of the implementation. Currently you get only the interface and need
to put annotations there.
I really miss that too. That's something I really want to solve when I
have free time, I just don't know when. :( Is there a JIRA for it? I
guess there was one . . .
Because it is just to simple. I don't think that there is a need to
standardize every couple of lines.
I agree, but these annotations to me look more like code reuse than
standardization. Why would everyone need to reimplement the @NotNull
validation? ;)
The standard only implement a @Size and not @Min or @Max (as far as I
remember correctly).
The result is that you get an error message for a min value like
You need to input a number between 5 and 29924523523452345
Hibernate already provides extensions (Min and Max).
But anyway, we are cutting hairs. The reuse of the common validators is
already being coded for Tapestry.
--
Best Regards / Viele Grüße
Sebastian Hennebrueder
-----
Software Developer and Trainer for Hibernate / Java Persistence
http://www.laliluna.de
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]