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

AjaxFormComponentUpdatingBehavior blocks AjaxLink#onClick when component is blurred

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 6.3.0, 6.5.0, 6.10.0
    • None
    • wicket
    • None
    • Env N/A. Browser: several versions of FF, IE, Chrome, and Safari.

    Description

      Create a page and add a TextField, OnChangeAjaxBehavior and repeatingView. Add an AjaxLink to each row. Add the OnChangeAjaxBehavior to the TextField.

      Each time the textfield receives a keystroke, it correctly fires the onUpdate() method. However, when the control is blurred, it also receives the onUpdate() event. That is probably acceptable, but the onClick() event of the AjaxLink does not fire. Only after the TextField is blurred does the onClick() event fire correctly.

      QuickStart attached.

      NOTE: I tried this with wicket 6.10, 6.5, and 6.3. It appears to have been introduced with the 6.x branch. The 1.5.x line did not exhibit this behavior.

      Attachments

        Issue Links

        Activity

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

          People

            svenmeier Sven Meier
            flavius17 Flavius
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment