Should @org.hibernate.validator.constraints.Email on a bean field be
validated by Tapestry or just the JSR 303? @Validate("email") works, but
@Email doesn't.
Adam
On Tue, Nov 17, 2015 at 3:30 PM, Adam X wrote:
> No I haven't. But I added it, and 303 annotations are picked up.
>
> Thank You!
>
>
No I haven't. But I added it, and 303 annotations are picked up.
Thank You!
On Tue, Nov 17, 2015 at 3:28 PM, WILBERT Romain-ext <
romain.wilbert-...@pole-emploi.fr> wrote:
> Have you tried to add "validate=user" on your form tag ?
>
> -Message d'origine-
> De : Adam X [mailto:vbgnm3c...@
Have you tried to add "validate=user" on your form tag ?
-Message d'origine-
De : Adam X [mailto:vbgnm3c...@gmail.com]
Envoyé : mardi 17 novembre 2015 15:23
À : Tapestry users
Objet : 5.4 JSR-303 on Entities
Seems like T 5.4-rc-1 is not validating fields entity fields annotated with
JSR-
Seems like T 5.4-rc-1 is not validating fields entity fields annotated with
JSR-303, but it does when field is annotated with @Validate.
Abbreviated Example:
@Entity
public class User {
.
@NotNull
private String foo;
@Validate("required")
private String bar;
// getters/setters
}
Page.java