org.apache.wicket.validation
Interface IModelAwareValidatable<T>

Type Parameters:
T -
All Superinterfaces:
IValidatable<T>

public interface IModelAwareValidatable<T>
extends IValidatable<T>

Validatable extension that allows access to component's model. This extension is implemented by default but exists as a separate interface for backwards compatibility. NOTE: in Wicket 1.5 getModel() is implemented directly in IValidatable

Author:
igor

Method Summary
 IModel<T> getModel()
          Gets the model of the component being validated
 
Methods inherited from interface org.apache.wicket.validation.IValidatable
error, getValue, isValid
 

Method Detail

getModel

IModel<T> getModel()
Gets the model of the component being validated

Returns:
model of component


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.