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;
}
与名称 Atritt 相关联的 UI 元件必须验证字符串主菜( 不是空的, 也不是免去 100 字节 ) 。