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)
Deprecated.
use
newValueViolation(IModel, IModel, FeedbackScope) instead |
default 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.
|
default Violation |
newValueViolation(org.apache.wicket.model.IModel childModel,
org.apache.wicket.model.IModel<String> message,
ValidationScope scope)
Deprecated.
Use
newValueViolation(IModel, IModel, FeedbackScope) instead |
Violation |
newValueViolation(org.apache.wicket.model.IModel childModel,
String key)
Deprecated.
: use the
newValueViolation(IModel, IModel, FeedbackScope) signature instead |
IFieldDescriptor getFieldDescriptor()
ITypeDescriptor getFieldType()
@Deprecated Violation newValueViolation(org.apache.wicket.model.IModel childModel, String key) throws ValidationException
newValueViolation(IModel, IModel, FeedbackScope)
signature insteadchildModel
- key
- ValidationException
@Deprecated Violation newValueViolation(org.apache.wicket.model.IModel childModel, org.apache.wicket.model.IModel<String> message) throws ValidationException
newValueViolation(IModel, IModel, FeedbackScope)
insteadchildModel
- the JcrPropertyValueModel or JcrNodeModel of the child Node
message
- model containing the message to be shown to the userValidationException
- when information to validate is not available@Deprecated default Violation newValueViolation(org.apache.wicket.model.IModel childModel, org.apache.wicket.model.IModel<String> message, ValidationScope scope) throws ValidationException
newValueViolation(IModel, IModel, FeedbackScope)
insteadchildModel
- 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 availabledefault 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.