JavaScript complains if an AjaxButton has the name "submit"
-----------------------------------------------------------

                 Key: WICKET-684
                 URL: https://issues.apache.org/jira/browse/WICKET-684
             Project: Wicket
          Issue Type: Bug
          Components: wicket
            Reporter: Jean-Baptiste Quenot
            Assignee: Jean-Baptiste Quenot
             Fix For: 1.3.0-beta2


When using an AjaxButton (former AjaxSubmitButton) with id "submit", the 
generated name attribute on the HTML tag is "submit" and it causes problems 
when trying to submit the form, because submit is already a function.  There is 
code to handle that in FormComponent, but sadly fieldName.equals("submit") does 
not return true because PrependingStringBuffer.equals() is not implemented.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to