I'm working in a Java EE web application using Hibernate, Spring, JSF and Primefaces.
My Question is how can I control the UI components (jsf and primefaces components)
using POJO annotations.
Is there any framework I can add to my project to do this?
example :
class user {
@NotNull @Max=100
public String name;
}
The UI component associated with the name attribut must validate the string entred (not null and not exceding 100 char.)