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

Martin Grigorov updated WICKET-5196:
------------------------------------

    Attachment: WICKET-5196.patch

A patch that makes AjaxFormValidatingBehavior non-static.

Further improvement could be to allow to bind it only to a Form component
                
> Make AjaxFormValidatingBehavior non-static
> ------------------------------------------
>
>                 Key: WICKET-5196
>                 URL: https://issues.apache.org/jira/browse/WICKET-5196
>             Project: Wicket
>          Issue Type: Sub-task
>          Components: wicket
>    Affects Versions: 6.8.0
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>             Fix For: 7.0.0
>
>         Attachments: WICKET-5196.patch
>
>
> Rework AjaxFormValidatingBehavior to not use static method to do its job.
> It can be added to a Form component as any other (Ajax)Behavior + a check in 
> #onBind() that it is used with a Form or use #findParent(Form.class).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to