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,
FeedbackScope scope)
Create a Violation object with field and scope information.
|
IFieldDescriptor getFieldDescriptor()
ITypeDescriptor getFieldType()
Violation newValueViolation(org.apache.wicket.model.IModel childModel, org.apache.wicket.model.IModel<String> message, FeedbackScope scope) throws ValidationException
childModel
- the JcrPropertyValueModel or JcrNodeModel of the child Node
message
- model containing the message to be shown to the userscope
- to indicate the level the validation applies toValidationException
- when information to validate is not availableCopyright © 2007–2019 Hippo B.V. (http://www.onehippo.com). All rights reserved.