org.syncope.console.wicket.markup.html.form
Class DateFieldPanel.DateTimeFormValidator
java.lang.Object
org.apache.wicket.markup.html.form.validation.AbstractFormValidator
org.syncope.console.wicket.markup.html.form.DateFieldPanel.DateTimeFormValidator
- All Implemented Interfaces:
- Serializable, org.apache.wicket.IClusterable, org.apache.wicket.markup.html.form.validation.IFormValidator
- Enclosing class:
- DateFieldPanel
public class DateFieldPanel.DateTimeFormValidator
- extends org.apache.wicket.markup.html.form.validation.AbstractFormValidator
Custom form validator for registering and handling DateTimeField
components that are in it.
- See Also:
- Serialized Form
|
Method Summary |
org.apache.wicket.markup.html.form.FormComponent[] |
getDependentFormComponents()
|
void |
validate(org.apache.wicket.markup.html.form.Form form)
Validation rule : all 3 fields (date,hours,minutes) must be not-null. |
| Methods inherited from class org.apache.wicket.markup.html.form.validation.AbstractFormValidator |
error, error, error, error, messageModel, resourceKey, variablesMap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateFieldPanel.DateTimeFormValidator
public DateFieldPanel.DateTimeFormValidator(org.apache.wicket.extensions.yui.calendar.DateTimeField dateTimeComponent)
getDependentFormComponents
public org.apache.wicket.markup.html.form.FormComponent[] getDependentFormComponents()
validate
public void validate(org.apache.wicket.markup.html.form.Form form)
- Validation rule : all 3 fields (date,hours,minutes) must be not-null.
- Parameters:
form -
Copyright © 2010. All Rights Reserved.