Example usage for org.apache.wicket.markup.html.form EmailTextField EmailTextField

List of usage examples for org.apache.wicket.markup.html.form EmailTextField EmailTextField

Introduction

In this page you can find the example usage for org.apache.wicket.markup.html.form EmailTextField EmailTextField.

Prototype

public EmailTextField(String id, IModel<String> model, IValidator<String> emailValidator) 

Source Link

Document

Construct.

Usage

From source file:jp.xet.uncommons.wicket.gp.panel.EmailTextFieldPanel.java

License:Apache License

@Override
protected EmailTextField createFormComponent(String id, IModel<String> model) {
    if (emailValidator != null) {
        return new EmailTextField(id, model, emailValidator);
    }//from   www .  j  a  v  a2 s. c om
    return new EmailTextField(id, model);
}