Flavius created WICKET-5377:
-------------------------------

             Summary: AjaxFormComponentUpdatingBehavior blocks AjaxLink#onClick 
when component is blurred
                 Key: WICKET-5377
                 URL: https://issues.apache.org/jira/browse/WICKET-5377
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 6.10.0, 6.5.0, 6.3.0
         Environment: Env N/A.  Browser: several versions of FF, IE, Chrome, 
and Safari.
            Reporter: Flavius
         Attachments: AjaxLinksRequireTwoClicks.zip

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.

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