com.alogient.cameleon.extension.wicket.ui.form.element.validator
Class CameleonListValidator.MinimumSelectedValidator

java.lang.Object
  extended by org.apache.wicket.validation.validator.AbstractValidator<Collection<com.alogient.cameleon.sdk.form.vo.formelement.NameValueElementVo>>
      extended by com.alogient.cameleon.extension.wicket.ui.form.element.validator.CameleonListValidator
          extended by com.alogient.cameleon.extension.wicket.ui.form.element.validator.CameleonListValidator.MinimumSelectedValidator
All Implemented Interfaces:
Serializable, org.apache.wicket.IClusterable, org.apache.wicket.validation.INullAcceptingValidator<Collection<com.alogient.cameleon.sdk.form.vo.formelement.NameValueElementVo>>, org.apache.wicket.validation.IValidator<Collection<com.alogient.cameleon.sdk.form.vo.formelement.NameValueElementVo>>
Enclosing class:
CameleonListValidator

public static class CameleonListValidator.MinimumSelectedValidator
extends CameleonListValidator

Validator for checking if the user has selected a minimum of items

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.alogient.cameleon.extension.wicket.ui.form.element.validator.CameleonListValidator
CameleonListValidator.MaximumSelectedValidator, CameleonListValidator.MinimumSelectedValidator
 
Constructor Summary
CameleonListValidator.MinimumSelectedValidator(Integer minimumSelected)
           
 
Method Summary
protected  void onValidate(org.apache.wicket.validation.IValidatable<Collection<com.alogient.cameleon.sdk.form.vo.formelement.NameValueElementVo>> iValidatable)
           
 
Methods inherited from class org.apache.wicket.validation.validator.AbstractValidator
error, error, error, error, messageModel, resourceKey, resourceKey, validate, validate, validateOnNullValue, variablesMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CameleonListValidator.MinimumSelectedValidator

public CameleonListValidator.MinimumSelectedValidator(Integer minimumSelected)
Parameters:
minimumSelected - minimum of items which should be selected by the client
Method Detail

onValidate

protected void onValidate(org.apache.wicket.validation.IValidatable<Collection<com.alogient.cameleon.sdk.form.vo.formelement.NameValueElementVo>> iValidatable)
Specified by:
onValidate in class org.apache.wicket.validation.validator.AbstractValidator<Collection<com.alogient.cameleon.sdk.form.vo.formelement.NameValueElementVo>>


Copyright © 2011 Alogient. All Rights Reserved.