Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4748

Improve WicketTester to be able to find AjaxBehaviors on second/third/... event name

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.0.0
    • 6.1.0
    • wicket
    • None

    Description

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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mgrigorov Martin Tzvetanov Grigorov
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment