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 2014/04/29 22:31:16 UTC

[jira] [Created] (WICKET-5575) Add support in FormTester#submit(String|Component) for Ajax submitters

Martin Grigorov created WICKET-5575:
---------------------------------------

             Summary: Add support in FormTester#submit(String|Component) for Ajax submitters
                 Key: WICKET-5575
                 URL: https://issues.apache.org/jira/browse/WICKET-5575
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 6.15.0
            Reporter: Martin Grigorov


At the moment if an application wants to submit a form with AjaxButton it has to use:
formTester.setValue(...); // one or more times
wicketTester.executeAjaxEvent("path:to:AjaxButton", "click");

I think formTester.submit(String|Component) should check whether the component is AjaxButton|AjaxSubmitLink and do wicketTester.executeAjaxEvent(ajaxSubmitter, "click") internally.



--
This message was sent by Atlassian JIRA
(v6.2#6252)