Make all standard validators extend Behavior
--------------------------------------------

                 Key: WICKET-3366
                 URL: https://issues.apache.org/jira/browse/WICKET-3366
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 1.5-RC1
            Reporter: Martin Grigorov
            Assignee: Martin Grigorov
             Fix For: 1.5-RC2


Since 1.5-RC1 IValidator implementations are added as Behavior in 
Form/FormComponent.
The idea is that they can contribute javascript/css resources and eventually 
provide client-side validation.

Side effects:
 - IValidatorAddListener is removed for 1.5-RC1. 
 To be able to receive notifications when a validator is added to 
form/formcomponent the user should use behavior#onBind()
 - making a validator a behavior will allow the user to add a validator to a 
normal component.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to