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 2012/09/04 10:23:08 UTC

[jira] [Created] (WICKET-4748) Improve WicketTester to be able to find AjaxBehaviors on second/third/... event name

Martin Grigorov created WICKET-4748:
---------------------------------------

             Summary: Improve WicketTester to be able to find AjaxBehaviors on second/third/... event name
                 Key: WICKET-4748
                 URL: https://issues.apache.org/jira/browse/WICKET-4748
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 6.0.0
            Reporter: Martin Grigorov


Since Wicket 6.0 it is possible to pass several event names to any AbstractDefaultAjaxBehavior via AjaxRequestAttributes#setEventNames(String...) or by using jQuery's specific compound event name (e.g. AjaxEventBehavior("eventOne eventTwo")).

WicketTesterHelper#findAjaxEventBehavior() currently can only work with AjaxEventBehavior and its specializations and only with full event name, i.e. the test should use "eventOne eventTwo".

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

[jira] [Updated] (WICKET-4748) Improve WicketTester to be able to find AjaxBehaviors on second/third/... event name

Posted by "Emond Papegaaij (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emond Papegaaij updated WICKET-4748:
------------------------------------

    Fix Version/s:     (was: 6.0.1)
                   6.1.0
    
> Improve WicketTester to be able to find AjaxBehaviors on second/third/... event name
> ------------------------------------------------------------------------------------
>
>                 Key: WICKET-4748
>                 URL: https://issues.apache.org/jira/browse/WICKET-4748
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 6.0.0
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>             Fix For: 6.1.0
>
>
> Since Wicket 6.0 it is possible to pass several event names to any AbstractDefaultAjaxBehavior via AjaxRequestAttributes#setEventNames(String...) or by using jQuery's specific compound event name (e.g. AjaxEventBehavior("eventOne eventTwo")).
> WicketTesterHelper#findAjaxEventBehavior() currently can only work with AjaxEventBehavior and its specializations and only with full event name, i.e. the test should use "eventOne eventTwo".

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

[jira] [Resolved] (WICKET-4748) Improve WicketTester to be able to find AjaxBehaviors on second/third/... event name

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-4748.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 6.0.1
         Assignee: Martin Grigorov

WicketTesterHelper has been improved to support compound names.
The other case, with AjaxRequestAttributes#getEventNames() wont be supported for now because the APIs do not allow to get the attributes. Since there is no real requirement for this feature it wont be implemented.
                
> Improve WicketTester to be able to find AjaxBehaviors on second/third/... event name
> ------------------------------------------------------------------------------------
>
>                 Key: WICKET-4748
>                 URL: https://issues.apache.org/jira/browse/WICKET-4748
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 6.0.0
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>             Fix For: 6.0.1
>
>
> Since Wicket 6.0 it is possible to pass several event names to any AbstractDefaultAjaxBehavior via AjaxRequestAttributes#setEventNames(String...) or by using jQuery's specific compound event name (e.g. AjaxEventBehavior("eventOne eventTwo")).
> WicketTesterHelper#findAjaxEventBehavior() currently can only work with AjaxEventBehavior and its specializations and only with full event name, i.e. the test should use "eventOne eventTwo".

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