Example usage for org.apache.wicket.validation ValidationError setKeys

List of usage examples for org.apache.wicket.validation ValidationError setKeys

Introduction

In this page you can find the example usage for org.apache.wicket.validation ValidationError setKeys.

Prototype

public void setKeys(List<String> keys) 

Source Link

Document

Sets error keys

Usage

From source file:org.opensingular.lib.wicket.util.validator.BaseValidator.java

License:Apache License

public static ValidationError validationError(String key) {
    ValidationError error = new ValidationError();
    error.setKeys(Arrays.asList(key));
    return error;
}