org.syncope.console.wicket.markup.html.form
Class DateFieldPanel.DateTimeFormValidator

java.lang.Object
  extended by org.apache.wicket.markup.html.form.validation.AbstractFormValidator
      extended by org.syncope.console.wicket.markup.html.form.DateFieldPanel.DateTimeFormValidator
All Implemented Interfaces:
java.io.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

Constructor Summary
DateFieldPanel.DateTimeFormValidator(org.apache.wicket.extensions.yui.calendar.DateTimeField dateTimeComponent)
           
 
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
 

Constructor Detail

DateFieldPanel.DateTimeFormValidator

public DateFieldPanel.DateTimeFormValidator(org.apache.wicket.extensions.yui.calendar.DateTimeField dateTimeComponent)
Method Detail

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.