DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
Overview
Other MyFaces Extensions
- CODI
- Ext-Script
- [Orchestra]
- [Portlet Bridge]
Community
Development
Sponsorship
Unknown macro: {iframe}
DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
The std. integration of BV in JSF 2.0 doesn't allow to continue the validation within CustomType. So ExtVal offers an additional feature which allows using @javax.validation.Valid for custom types.
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
public class CustomType
{
@NotNull
private String property1;
@Size(min = 3)
private String property2;
//+ getter-/setter-methods
}
public class CustomBean
{
@NotNull
@Valid
private CustomType property;
//+ getter-/setter-methods
}
|
...