public interface IFieldValidator
extends org.apache.wicket.util.io.IClusterable
Modifier and Type | Method and Description |
---|---|
IFieldDescriptor |
getFieldDescriptor() |
ITypeDescriptor |
getFieldType() |
Violation |
newValueViolation(org.apache.wicket.model.IModel childModel,
org.apache.wicket.model.IModel<String> message)
Create a Violation object with field information.
|
Violation |
newValueViolation(org.apache.wicket.model.IModel childModel,
String key)
Deprecated.
: use the
newValueViolation(IModel, IModel) signature instead |
IFieldDescriptor getFieldDescriptor()
ITypeDescriptor getFieldType()
@Deprecated Violation newValueViolation(org.apache.wicket.model.IModel childModel, String key) throws ValidationException
newValueViolation(IModel, IModel)
signature insteadchildModel
- key
- ValidationException
Violation newValueViolation(org.apache.wicket.model.IModel childModel, org.apache.wicket.model.IModel<String> message) throws ValidationException
childModel
- the JcrPropertyValueModel or JcrNodeModel of the child Node
message
- model containing the message to be shown to the userValidationException
Copyright © 2007–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.