Package com.evolveum.midpoint.web.util
Class DateValidator
java.lang.Object
org.apache.wicket.behavior.Behavior
org.apache.wicket.markup.html.form.validation.AbstractFormValidator
com.evolveum.midpoint.web.util.DateValidator
- 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 DateValidator
extends org.apache.wicket.markup.html.form.validation.AbstractFormValidator
- Author:
- lazyman
- See Also:
-
Constructor Summary
ConstructorDescriptionDateValidator
(org.apache.wicket.markup.html.form.TextField<Date> dateFrom, org.apache.wicket.markup.html.form.TextField<Date> dateTo) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.wicket.markup.html.form.FormComponent<?>[]
void
setDateFrom
(org.apache.wicket.markup.html.form.TextField<Date> dateFrom) void
void
setIdentifier
(ItemPath identifier) void
setMessageKey
(String messageKey) 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
-
DateValidator
public DateValidator() -
DateValidator
-
-
Method Details
-
getDependentFormComponents
public org.apache.wicket.markup.html.form.FormComponent<?>[] getDependentFormComponents() -
validate
public void validate(org.apache.wicket.markup.html.form.Form<?> form) -
setDateFrom
-
setDateTo
-
getIdentifier
-
setIdentifier
-
getMessageKey
-
setMessageKey
-