You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2011/01/23 11:34:43 UTC

[jira] Resolved: (WICKET-3366) Make all standard validators extend Behavior

     [ https://issues.apache.org/jira/browse/WICKET-3366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-3366.
-------------------------------------

    Resolution: Fixed

Improved with r1062369

> 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.