Allow validators access to component's model, see 
IModelAwareValidatable#getModel()
-----------------------------------------------------------------------------------

                 Key: WICKET-3857
                 URL: https://issues.apache.org/jira/browse/WICKET-3857
             Project: Wicket
          Issue Type: New Feature
            Reporter: Igor Vaynberg
             Fix For: 1.4.18, 1.5-RC6


sometimes it is useful for validators to get access to component's model. for 
example
a) validators can use the model to get value as it was before editing started - 
ie a password validator that forces the user to change their password
b) validators can access some metadata about the model - ie a model that 
implements IPropertyReflectionAwareModel

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to