Class DurationValidator
java.lang.Object
org.apache.wicket.behavior.Behavior
org.apache.wicket.markup.html.form.validation.AbstractFormValidator
com.evolveum.midpoint.web.component.input.validator.DurationValidator
- All Implemented Interfaces:
Serializable
,org.apache.wicket.IComponentAwareEventSink
,org.apache.wicket.markup.html.form.validation.IFormValidator
,org.apache.wicket.markup.html.IComponentAwareHeaderContributor
,org.apache.wicket.util.io.IClusterable
public class DurationValidator
extends org.apache.wicket.markup.html.form.validation.AbstractFormValidator
- See Also:
-
Constructor Summary
ConstructorDescriptionDurationValidator
(InputPanel durationField, org.apache.wicket.util.convert.IConverter<Duration> converter) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.wicket.markup.html.form.FormComponent<?>[]
void
validate
(org.apache.wicket.markup.html.form.Form<?> form) Methods inherited from class org.apache.wicket.markup.html.form.validation.AbstractFormValidator
bind, error, error, error, error, resourceKey, variablesMap
Methods inherited from class org.apache.wicket.behavior.Behavior
afterRender, beforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onComponentTag, onConfigure, onEvent, onException, onRemove, onTag, renderHead, unbind
-
Constructor Details
-
DurationValidator
public DurationValidator(InputPanel durationField, org.apache.wicket.util.convert.IConverter<Duration> converter)
-
-
Method Details
-
getDependentFormComponents
public org.apache.wicket.markup.html.form.FormComponent<?>[] getDependentFormComponents() -
validate
public void validate(org.apache.wicket.markup.html.form.Form<?> form)
-