Package org.apache.wicket.bean.validation

Examples of org.apache.wicket.bean.validation.PropertyValidator


    setDefaultModel(new CompoundPropertyModel<Person>(new Person()));
   
    Form<Void> form = new Form<Void>("form");
   
    form.add(new TextField("name").add(new PropertyValidator()));
    form.add(new TextField("email").add(new PropertyValidator()));
    form.add(new TextField("age").add(new PropertyValidator()));
    form.add(new TextField("birthDay").add(new PropertyValidator()));
    form.add(new TextField("address.city").add(new PropertyValidator()));
    form.add(new TextField("address.street").add(new PropertyValidator()));
    form.add(new TextField("address.zipCode").add(new PropertyValidator()));
   
    form.add(new FeedbackPanel("feedback"));
   
    add(form);
View Full Code Here

TOP

Related Classes of org.apache.wicket.bean.validation.PropertyValidator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.